/* ───────────────────────────────────────────────────────────────── */
/* 1) 원형 스타일 - 강화된 글라스 + 3D 입체감 */
.lotto-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    color: #333;
    background: rgba(241, 241, 241, 0);
    border: 1px solid rgba(241, 241, 241, 0.02);
    
    box-shadow:
    inset 0px 0px 3.03px -9px rgb(62 63 184 / 32%), inset 1px 0.01px 0px -14px rgb(30 37 163 / 56%), inset 0px 0px 10px 3px rgb(82 80 112 / 20%), 0px 0px 2px 1px rgb(47 43 93 / 53%), 0.3px 0.3px 1px rgb(123 125 238 / 30%);
    
    background-clip: padding-box;
    transform-style: preserve-3d;
    transform: translateZ(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lotto-number:hover {
    transform: translateZ(20px) scale(1.1);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.3),
      inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* ───────────────────────────────────────────────────────────────── */
/* 2) 테이블 - 강한 글래스 + 3D 컨테이너 */
table {
    perspective: 1200px;
    transform-style: preserve-3d;
    width: 100%;
    text-align: center;
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    opacity: 0.9;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(18px) saturate(200%) ;
    -webkit-backdrop-filter: blur(56px) saturate(200%)  
    ;
    box-shadow:
    inset 0px 0px 3.03px -9px rgb(62 63 184 / 32%), inset 1px 0.01px 0px -14px rgb(30 37 163 / 56%), inset 0px 0px 10px 3px rgb(82 80 112 / 20%), 0px 0px 2px 1px rgb(47 43 93 / 53%), 0.3px 0.3px 1px rgb(123 125 238 / 30%);
    
    border: 3px solid rgba(255, 255, 255, 0.058);
    background-clip: padding-box;
    transform: translateZ(8px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

table:hover {
    transform: translateZ(18px);
    box-shadow:
      inset 0 0 30px rgba(255, 255, 255, 0.6),
      0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ───────────────────────────────────────────────────────────────── */
/* 3) 테이블 셀(th, td) - 3D 부각 + 흰색 내부 그림자 */
th, td {
    padding: 6px 10px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background-clip: padding-box;
    transform-style: preserve-3d;
    transform: translateZ(15px);
    box-shadow:
    inset 0px 0px 3.03px -9px rgb(62 63 184 / 32%), inset 1px 0.01px 0px -14px rgb(30 37 163 / 56%), inset 0px 0px 10px 3px rgb(82 80 112 / 20%), 0px 0px 2px 1px rgb(47 43 93 / 53%), 0.3px 0.3px 1px rgb(123 125 238 / 30%);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

th:hover, td:hover {
    transform: translateZ(25px);
    box-shadow:
      inset 0 0 16px rgba(255, 255, 255, 0.5),
      inset 0 2px 6px rgba(255, 255, 255, 0.3),
      0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ───────────────────────────────────────────────────────────────── */
/* 4) 테이블 헤더 */
thead {
    background: rgba(0, 0, 0, 0.038);
    font-weight: bold;
    border-radius: 20px 20px 0 0;
    background-clip: padding-box;
    box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

/* ───────────────────────────────────────────────────────────────── */
/* 5) 본문 행 */
tbody tr {
    background: rgba(241, 241, 241, 0.03);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

tbody tr:hover {
    background: rgba(241, 241, 241, 0.053);
    transform: translateY(-3px) translateZ(10px) scale(1.02);
    box-shadow:
      0 10px 25px rgba(0, 0, 0, 0.25),
      inset 0 2px 6px rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

tbody tr.selected {
    background: rgba(100, 149, 255, 0.054) !important;
    transform: translateY(-5px) translateZ(15px) !important;
    border-radius: 12px;
}

/* ───────────────────────────────────────────────────────────────── */
/* 6) filter-cell 선택 효과 */
.filter-cell.active {
    background: linear-gradient(135deg, rgba(235, 56, 226, 0.5), rgba(235, 98, 212, 0.5));
    font-weight: bold;
    border-radius: 10px;
    background-clip: padding-box;
    transform-style: preserve-3d;
    transform: translateZ(15px);
    box-shadow:
      0 8px 20px rgba(255, 0, 242, 0.3),
      inset 0 1px 3px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.filter-cell.active:hover {
    transform: translateZ(20px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 0, 242, 0.35);
}

/* ───────────────────────────────────────────────────────────────── */
/* 7) 선택된 번호 스타일 */
#number-table td.selected {
    background: linear-gradient(135deg, #f0f8ff, #e0f0ff);
    color: #000;
    transform-style: preserve-3d;
    transform: translateZ(20px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
