/*
    Cookie Consent Overlay
*/
.cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        rgba(15, 23, 42, .80); /* [업데이트] 부드럽게 감싸는 미드나잇 슬레이트 네이비 오버레이 */
    backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.cookie-box {
    width: 90%;
    max-width: 776px;
    background: #0f172a; /* [업데이트] 네티스인프라의 깊고 부드러운 다크 네이비 본체 색상 */
    border-radius: 35px;
    padding: 45px;
    text-align: center;
    /* [업데이트] 너무 강하지 않고 자연스럽게 번지는 소프트 네온 블루 라인 효과 */
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow:
        0 0 40px rgba(56, 189, 248, 0.08),
        0 30px 80px rgba(2, 6, 23, 0.6);
    animation:
        cookiePopupShow 0.60s ease-out;
}
/*
    Cookie Popup Animation
*/
@keyframes cookiePopupShow {
    from {
        opacity: 0;
        transform:
            translateY(40px) scale(.95);
    }
    to {
        opacity: 1;
        transform:
            translateY(0) scale(1);
    }
}
.cookie-box h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #f1f5f9; /* [업데이트] 눈이 편안한 소프트 화이트 텍스트 */
}
.cookie-box p {
    font-size: 17px;
    line-height: 1.9;
    color: #94a3b8; /* [업데이트] 다크 네이비와 완벽하게 조화되는 차분한 슬레이트 블루 그레이 */
}
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}
.cookie-buttons button {
    min-width: 140px;
    padding: 15px 30px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}
#cookie-accept {
    background: #0284c7; /* [업데이트] 깊은 네이비 배경 위에서 깊이감을 유지하는 차분한 테크 블루 */
    color: #ffffff;
    box-shadow: 0 0 0 rgba(2, 132, 199, 0);
}
/* 수락 버튼 Hover 인터랙션 */
#cookie-accept:hover {
    background: #0ea5e9; /* Hover 시 부드러운 스카이 블루 톤으로 가볍게 발광 */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}
#cookie-deny {
    background: #1e293b; /* [업데이트] 본체 색상과 톤온톤으로 이어지는 다크 네이비 그레이 버튼 */
    color: #94a3b8;
}
/* 거부 버튼 Hover 인터랙션 */
#cookie-deny:hover {
    background: #334155; /* Hover 시 한 단계 밝아지는 부드러운 톤 전환 */
    color: #f1f5f9;
    transform: translateY(-2px);
}
@media(max-width:600px) {
    .cookie-box {
        padding: 30px;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-buttons button {
        width: 100%;
    }
}
