:root {
    --primary-bg: #000022;
    --secondary-bg: #000033;
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.4);
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif KR', serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 34, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #FFD700, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-bg) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
}

/* Sections */
section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 10px auto;
}

/* Hero Section */
#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        url('hero_background.png') no-repeat center bottom / cover,
        radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(100,100,200,0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0,0,17,0.4) 0%, rgba(0,0,34,0.1) 40%, rgba(0,0,34,0.6) 100%);
    background-color: #000011;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(212,175,55,0.8), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 15% 85%, rgba(212,175,55,0.6), transparent),
        radial-gradient(1px 1px at 45% 45%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 75% 15%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 85% 65%, rgba(212,175,55,0.5), transparent),
        radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3), transparent);
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,34,0.3) 0%, rgba(0,0,34,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.sub-slogan {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.main-title {
    font-size: 5rem; /* 더 웅장하게 */
    margin-bottom: 2.5rem; /* 여백 대폭 확장 */
    color: #fff;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.7);
    font-family: 'Noto Serif KR', serif;
    font-weight: 900;
}

.main-subtitle {
    font-size: 2rem; /* 훨씬 크게 */
    color: var(--accent-gold); /* 황금색으로 변경하여 로고와 대비 */
    margin-bottom: 3.5rem; /* 하단 여백 대폭 확장 */
    font-weight: 500;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* 가독성 확보 */
}

.main-actions {
    display: flex;
    justify-content: center;
    gap: 30px; /* 버튼 사이 간격 확장 */
}

.btn {
    display: inline-block;
    padding: 1.1rem 2.2rem;
    border-radius: 50px; /* 라운드 처리로 프리미엄 느낌 강조 */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000 !important;
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--accent-gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: #000 !important;
}

.btn-gold {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    background: transparent;
}

.btn-gold:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* About (Master) */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.master-image img {
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--accent-gold);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.master-intro {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dim);
}

.master-credentials {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.master-credentials li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: flex-start;
}

.master-credentials li::before {
    content: '◈';
    color: var(--accent-gold);
}

/* ── 오늘의 영감 카드 (PREMIUM UPGRADE) ── */
.card-container {
    perspective: 1500px;
    width: 320px;
    height: 450px; /* 타로 카드 비율 */
    margin: 40px auto;
    cursor: pointer;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.2));
}

.fortune-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.fortune-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(10deg);
}

.fortune-card.flipped {
    transform: rotateY(180deg) scale(1.05);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 2px solid var(--accent-gold);
    padding: 30px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.card-front {
    background: 
        linear-gradient(135deg, #000033 0%, #000011 100%),
        radial-gradient(circle at center, rgba(212,175,55,0.2) 0%, transparent 70%);
    color: var(--accent-gold);
    overflow: hidden;
}

/* 카드 앞면 문양 추가 */
.card-front::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: rotateAround 20s linear infinite;
}

.card-front::after {
    content: '☯';
    font-size: 5rem;
    opacity: 0.1;
    position: absolute;
}

@keyframes rotateAround {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-back {
    background: linear-gradient(135deg, #D4AF37 0%, #F1D382 50%, #D4AF37 100%);
    color: #000022;
    transform: rotateY(180deg);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.card-back #fortuneText {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
    word-break: keep-all;
}

/* 입자(Particle) 스타일 */
.particle {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(circle, #D4AF37, transparent);
    border-radius: 50%;
    z-index: 100;
    animation: particleFly 1.5s ease-out forwards;
}

@keyframes particleFly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* 신비로운 오라 효과 */
.card-aura {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
    border-radius: 40px;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.card-container:hover .card-aura {
    opacity: 1;
    animation: auraPulse 2s infinite alternate;
}

@keyframes auraPulse {
    from { transform: scale(1); opacity: 0.3; }
    to { transform: scale(1.1); opacity: 0.5; }
}

/* Testimonials Section */
#reviews {
    padding: 100px 5%;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(20, 20, 20, 0.8));
}

.review-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 35px;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(212, 175, 55, 0.05);
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-author {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-align: right;
}

/* Contact Box */
.contact-box {
    text-align: center;
    background: var(--glass-bg);
    padding: 60px;
    border-radius: 20px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.btn-kakao {
    display: inline-block;
    padding: 1rem 2rem;
    background: #FEE500;
    color: #3C1E1E;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

.reservation-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: grid;
    gap: 15px;
}

.reservation-form input, .reservation-form select {
    padding: 0 15px;
    background: #0d1430 !important;
    border: 1px solid rgba(255, 207, 77, 0.4) !important;
    color: #fff !important;
    border-radius: 8px;
    outline: none;
    height: 54px !important;
    box-sizing: border-box !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.reservation-form input:focus, .reservation-form select:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.reservation-birth-group {
    display: flex;
    gap: 10px;
}

.reservation-birth-group select, .reservation-birth-group input {
    flex: 1;
}

select option {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.btn-submit {
    height: 54px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
    border: none;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-gold-glow);
    filter: brightness(1.1);
}

/* ── 전체 애니메이션 (신속 버전) ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Lightning speed */
}

.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 💠 서비스 카드: 순차 등장 (Stagger) */
.service-grid .service-card.fade-in {
    transition-delay: calc(var(--delay) * 0.2s) !important; /* 지연 시간 명시 */
}

/* 💠 한자 아이콘: 신비로운 부유 효과 */
.service-card .icon {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 3rem;
    margin-bottom: 20px;
    animation: floatingIcon 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 💠 메인 타이틀: 황금빛 일렁임 */
.main-title {
    animation: titleGlow 3s ease-in-out infinite alternate !important;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.2); color: #fff; }
    100% { text-shadow: 0 0 30px #D4AF37, 0 0 50px rgba(212,175,55,0.5); color: var(--accent-gold); }
}

/* 💠 입자(Particle) 효과 */
.particle {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(circle, #FFE44D, #D4AF37, transparent);
    border-radius: 50%;
    z-index: 99999;
    box-shadow: 0 0 8px #D4AF37;
    animation: particleFly 1.2s ease-out forwards;
}

@keyframes particleFly {
    0% { transform: translate(0, 0) scale(1.5); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

footer {
    text-align: center;
    padding: 60px 2rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 34, 0.5);
    color: var(--text-dim);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-family: 'Noto Serif KR', serif;
}

.footer-info {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
}

.info-item {
    display: inline-block;
    margin: 0 12px;
    position: relative;
}

.info-item:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -14px;
    opacity: 0.3;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 20px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-success {
    background: rgba(76, 175, 80, 0.9);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #fff;
}

.toast-error {
    background: rgba(244, 67, 54, 0.9);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #fff;
}

.toast-icon { font-size: 1.2rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 2.5rem; }
    .about-container { flex-direction: column; text-align: center; }
    .master-credentials { display: inline-block; text-align: left; margin-top: 10px; }
    .header-container { padding: 1rem; }
    .nav-links { display: none; }
    .toast-notification {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(120%);
    }
    .toast-notification.show {
        transform: translateY(0);
    }
}

/* ── 반짝이는 별 효과 (Star Twinkle) ── */
#starContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2; /* 오버레이보다 위로 올림 */
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 5px #fff, 0 0 10px rgba(212, 175, 55, 0.5); /* 별의 광채 추가 */
    animation: twinkleStar var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes twinkleStar {
    0%, 100% { opacity: 0; transform: scale(0.3); }
    50% { opacity: var(--opacity); transform: scale(1.0); }
}

#hero { position: relative; }
.hero-content { position: relative; z-index: 3; } /* 별보다 위로 */
.hero-overlay { z-index: 1; } /* 가장 아래로 */

/* 💠 플로팅 액션 그룹 (Floating Action Group) */
.floating-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
    align-items: center;
}

#scrollTopBtn, #sound-toggle {
    position: relative;
    bottom: auto;
    right: auto;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

#scrollTopBtn {
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#scrollTopBtn:hover, #sound-toggle:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

#sound-toggle.muted .on-icon { display: none; }
#sound-toggle:not(.muted) .off-icon { display: none; }

@media (max-width: 768px) {
    .floating-group {
        right: 20px;
        bottom: 20px;
        gap: 10px;
    }
    #scrollTopBtn, #sound-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ──────────────────────────────────────────
   AI Baekgyeong Insight (Focus 1)
   ────────────────────────────────────────── */
#ai-insight {
    padding: 100px 2rem;
    background: linear-gradient(180deg, var(--primary-bg) 0%, #00001a 100%);
    text-align: center;
}

.ai-container {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.ai-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-input-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}

.ai-input-group input, .ai-input-group select {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.ai-input-group input:focus, .ai-input-group select:focus {
    border-color: var(--accent-gold);
}

.btn-ai-submit {
    padding: 15px;
    background: var(--accent-gold);
    color: var(--primary-bg);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-ai-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-gold-glow);
}

.ai-result-box {
    margin-top: 40px;
    padding: 30px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
    animation: fadeInQuick 0.5s ease-out;
}

@keyframes fadeInQuick {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-result-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 20px;
    word-break: keep-all;
}

.ai-quote-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.5;
    vertical-align: middle;
    margin: 0 10px;
}

.ai-disclaimer {
    font-size: 0.85rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

@media (max-width: 600px) {
    .ai-input-group { grid-template-columns: 1fr; }
}

/* 💠 입력필드 최종 통합 레이아웃 & 스타일 (Universal Standard) */
.input-row, .reservation-birth-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.reservation-form input, 
.reservation-form select, 
.ai-input-group input, 
.ai-input-group select,
#calendarType, 
#birthTime, 
#gender, 
input[type="date"] {
    background: #0d1430 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 207, 77, 0.4) !important;
    height: 54px !important;
    padding: 0 15px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

/* 플레이스홀더 스타일 통일 (성함, 연락처 등) */
.reservation-form input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

input[type="date"] {
    flex: 1;
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
}

/* 💠 반응형 및 모바일 최적화 */
.br-mobile, .mobile-br { display: none; }

@media (max-width: 768px) {
    .br-mobile { display: inline; }
    .mobile-br { display: block; }
    
    /* 📱 모바일 수직 간격 및 크기 완벽 통일 (Gap 12px 통합) */
    .reservation-form {
        gap: 12px !important; /* 전체 그리드 간격 12px */
    }

    .reservation-birth-group, .input-row {
        display: grid !important; /* flex 대신 grid로 변경하여 간격 통제 */
        grid-template-columns: 1fr !important;
        gap: 12px !important; /* 상자 안의 간격도 12px로 똑같이! */
        width: 100% !important;
    }

    .reservation-form input, 
    .reservation-form select,
    .reservation-birth-group input,
    .reservation-birth-group select,
    .input-row input,
    .input-row select {
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;
        margin: 0 !important; /* 개별 마진 삭제하여 간격 왜곡 방지 */
        font-size: 16px !important;
    }

    /* 📱 모바일 메인(Hero) 최적화 */
    .main-title {
        display: none !important; /* 모바일에서는 중앙 거대 로고 숨김 */
    }

    .main-subtitle {
        font-size: 1.8rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.4 !important;
    }

    .main-actions {
        flex-direction: column;
        gap: 12px !important;
        padding: 0 20px;
    }

    .btn {
        width: 100% !important;
        padding: 1rem !important;
    }

    /* 모바일 날짜 가이드 (복구) */
    input[type="date"]::before {
        content: "연도-월-일 (선택)";
        position: absolute;
        left: 15px;
        color: rgba(255, 255, 255, 0.5);
        pointer-events: none;
    }
    input[type="date"]:focus::before,
    input[type="date"]:valid::before {
        display: none;
    }
    
    /* 📱 좌우 스크롤 방지 추가 수정 */
    section {
        padding: 60px 1rem !important;
        overflow: hidden;
    }
    .about-container {
        padding: 30px 15px !important;
        gap: 20px !important;
    }
    .master-image img {
        width: 100% !important;
        max-width: 280px !important;
    }
    .card-container {
        width: 100% !important;
        max-width: 280px !important;
        height: 400px !important;
    }
    .premium-card {
        padding: 40px 15px !important;
    }
    .service-card {
        padding: 30px 15px !important;
    }
    .info-item {
        margin: 5px 10px !important;
    }
    .info-item::after {
        display: none !important;
    }
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
    .floating-group {
        right: 15px !important;
        bottom: 15px !important;
    }
}

/* ── Premium Service Pages (Selection & Naming) ── */
.special-hero {
    padding: 150px 2rem 80px;
    text-align: center;
    background: linear-gradient(180deg, #000011 0%, #000022 100%);
    position: relative;
    z-index: 1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 60px 2rem;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* PC 화면에서 2장씩 동일한 크기로 배치 */
@media (min-width: 1024px) {
    .service-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

.premium-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.premium-card:hover {
    transform: translateY(-20px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.price-badge {
    font-size: 1.6rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin: 25px 0;
    display: block;
    letter-spacing: 0.05em;
}

.card-icon-big {
    font-size: 4.5rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.premium-card:hover::before {
    opacity: 1;
}

