/* =============================================
   GANPATI NIMANTRAN — ROYAL PEACOCK BACKGROUND THEME
   Professional Green & Gold Design
   ============================================= */

:root {
    --dark-bg: #030a05;
    --dark-surface: #06150b;
    --dark-card: rgba(8, 26, 15, 0.85);
    --green-900: #082416;
    --green-800: #0f4a2c;
    --green-700: #146b3c;
    --green-500: #22b566;
    --green-300: #81d8a5;
    --teal-500: #00897b;
    --cyan-400: #26c6da;
    --gold-700: #8b6914;
    --gold-500: #c49b00;
    --gold-300: #ffd700;
    --gold-100: #ffec80;
    --text-primary: #f5ece0;
    --text-secondary: #cbb9a3;
    --text-dim: #948470;
    --font-display: 'Yatra One', 'Tiro Devanagari Marathi', cursive;
    --font-body: 'Noto Sans Devanagari', sans-serif;
    --font-serif: 'Tiro Devanagari Marathi', serif;
}

/* === RESET & GLOBAL BACKGROUND === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(4, 14, 7, 0.4) 0%, rgba(3, 10, 5, 0.85) 100%),
        url('peacock_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 3px; }

/* ============================
   PRELOADER
   ============================ */
#preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: radial-gradient(ellipse at center, #0c1f12 0%, var(--dark-bg) 100%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.ganesh-loader-svg {
    width: min(40vw, 140px); height: min(40vw, 140px);
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.25));
}

.loader-ring-outer { animation: spinCW 12s linear infinite; transform-origin: center; }
.loader-ring-inner { animation: spinCCW 8s linear infinite; transform-origin: center; }

@keyframes spinCW { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

.preloader-tagline {
    font-family: var(--font-serif);
    font-size: clamp(16px, 4vw, 24px);
    color: var(--gold-300);
    margin-top: 24px;
    animation: softPulse 2.5s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { opacity: 0.6; } 50% { opacity: 1; }
}

.loader-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.loader-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold-300);
    animation: dotBounce 1.4s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* ============================
   MUSIC BUTTON
   ============================ */
.music-toggle {
    position: fixed; top: 16px; right: 16px; z-index: 9999;
    display: flex; align-items: center; gap: 6px;
    background: rgba(8, 26, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--gold-300);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    opacity: 0; transform: translateY(-10px);
    animation: slideIn 0.5s ease forwards 3.2s;
    transition: background 0.3s, box-shadow 0.3s;
}
.music-toggle:hover, .music-toggle:focus-visible {
    background: rgba(255,215,0,0.15);
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
    outline: none;
}
.music-icon-svg { width: 18px; height: 18px; flex-shrink: 0; }
.music-toggle.playing .music-icon-svg { animation: noteBounce 0.5s ease-in-out infinite alternate; }

@keyframes slideIn { to { opacity: 1; transform: translateY(0); } }
@keyframes noteBounce { 0% { transform: scale(1); } 100% { transform: scale(1.15) rotate(5deg); } }

/* ============================
   PARTICLE CANVAS
   ============================ */
#particleCanvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
}

/* ============================
   MAIN / SECTIONS
   ============================ */
.main-hidden { opacity: 0; pointer-events: none; }

section {
    position: relative; z-index: 3;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    min-height: 100svh;
    padding: 40px 16px;
    background: transparent;
}

.ganpati-art-real {
    position: relative;
    width: min(70vw, 220px);
    margin: 10px auto 25px;
}

.ganpati-frame-glow {
    position: absolute;
    inset: -12px;
    background: radial-gradient(circle, rgba(255,215,0,0.25) 0%, rgba(0,255,136,0.08) 50%, transparent 70%);
    border-radius: 50%;
    animation: framePulse 3s ease-in-out infinite;
}

@keyframes framePulse {
    0%, 100% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.05); }
}

.real-ganpati-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 2px solid rgba(255,215,0,0.5);
    box-shadow: 0 0 35px rgba(0,0,0,0.9), 0 0 25px rgba(255,215,0,0.35);
    position: relative;
    z-index: 2;
    object-fit: cover;
}

/* Hero title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 6.5vw, 50px);
    text-align: center;
    background: linear-gradient(135deg, var(--gold-700), var(--gold-300), var(--gold-100), var(--gold-300), var(--gold-700));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 5s ease-in-out infinite;
    letter-spacing: 1px;
    line-height: 1.5;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8));
}

@keyframes shimmerGold {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-divider { width: min(80vw, 300px); margin: 16px auto; }
.divider-svg { width: 100%; height: auto; }

.hero-sub {
    font-family: var(--font-serif);
    font-size: clamp(15px, 3.8vw, 21px);
    color: var(--green-300);
    text-align: center;
    letter-spacing: 0.5px;
    max-width: 90vw;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
}
.scroll-line {
    width: 1px; height: 30px;
    background: linear-gradient(to bottom, var(--gold-500), transparent);
    margin: 0 auto 8px;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

.hero-body { text-align: center; }

/* ============================
   NIMANTRAN (INVITATION)
   ============================ */
.nimantran {
    min-height: 100svh;
    padding: 60px 16px;
    background: transparent;
}

/* Nimantran card/frame */
.nimantran-frame {
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(255,215,0,0.18);
    border-radius: 24px;
    padding: clamp(36px, 7vw, 72px) clamp(20px, 5vw, 60px);
    max-width: 620px; width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.7),
        0 0 40px rgba(0,255,136,0.05),
        inset 0 1px 0 rgba(255,215,0,0.1);
}

/* Ornate corners */
.ornate-corner {
    position: absolute;
    width: 50px; height: 50px;
}
.ornate-corner::before, .ornate-corner::after {
    content: ''; position: absolute;
    background: var(--gold-300);
}
.oc-tl { top: 8px; left: 8px; }
.oc-tl::before { top: 0; left: 0; width: 30px; height: 1.5px; }
.oc-tl::after  { top: 0; left: 0; width: 1.5px; height: 30px; }
.oc-tr { top: 8px; right: 8px; }
.oc-tr::before { top: 0; right: 0; width: 30px; height: 1.5px; }
.oc-tr::after  { top: 0; right: 0; width: 1.5px; height: 30px; }
.oc-bl { bottom: 8px; left: 8px; }
.oc-bl::before { bottom: 0; left: 0; width: 30px; height: 1.5px; }
.oc-bl::after  { bottom: 0; left: 0; width: 1.5px; height: 30px; }
.oc-br { bottom: 8px; right: 8px; }
.oc-br::before { bottom: 0; right: 0; width: 30px; height: 1.5px; }
.oc-br::after  { bottom: 0; right: 0; width: 1.5px; height: 30px; }

.nim-header {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 32px;
}

.peacock-eye-dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-400) 20%, var(--teal-500) 45%, var(--gold-300) 60%, var(--green-900) 75%, transparent 76%);
    box-shadow: 0 0 12px rgba(38,198,218,0.4);
    animation: eyePulse 3s ease-in-out infinite;
}
@keyframes eyePulse {
    0%, 100% { box-shadow: 0 0 8px rgba(38,198,218,0.2); transform: scale(1); }
    50% { box-shadow: 0 0 20px rgba(38,198,218,0.5); transform: scale(1.08); }
}

.nim-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 9vw, 60px);
    background: linear-gradient(135deg, var(--gold-700), var(--gold-300), var(--gold-100), var(--gold-300), var(--gold-700));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 4s ease-in-out infinite;
    letter-spacing: 4px;
}

.nim-body { text-align: center; }

.nim-line {
    font-family: var(--font-serif);
    font-size: clamp(15px, 3.8vw, 21px);
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.nim-line.highlight-text {
    color: var(--text-primary);
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 500;
}

.nim-line.gold-bold {
    color: var(--gold-300);
    font-weight: 700;
    font-size: clamp(18px, 4.5vw, 25px);
    font-family: var(--font-serif);
}

.nim-line.gold {
    color: var(--gold-100);
    font-weight: 600;
    font-size: clamp(17px, 4.2vw, 23px);
}

.nim-sep {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 28px;
    color: var(--gold-500);
    font-size: 18px;
}
.sep-center { font-size: 22px; animation: gentleFloat 3s ease-in-out infinite; }
.sep-wing { opacity: 0.5; }

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ============================
   DETAILS
   ============================ */
.details {
    padding: 60px 16px;
    background: transparent;
    min-height: auto;
}

.details-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 600px; width: 100%;
}

.detail-box {
    background: var(--dark-card);
    border: 1px solid rgba(255,215,0,0.12);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.detail-box:hover {
    transform: translateY(-6px);
    border-color: rgba(255,215,0,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,215,0,0.08);
}

.db-icon {
    font-size: 40px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.3));
}

.detail-box h3 {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--green-300);
    margin-bottom: 10px;
    font-weight: 500;
}

.db-value {
    font-family: var(--font-display);
    font-size: clamp(20px, 5vw, 28px);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300), var(--gold-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.db-sub {
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================
   COUNTDOWN
   ============================ */
.countdown {
    padding: 50px 16px;
    background: transparent;
    min-height: auto;
}

.count-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 5.5vw, 40px);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
}

.count-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(8px, 3vw, 24px);
    flex-wrap: nowrap;
}

.count-cell { text-align: center; min-width: 56px; }

.count-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 10vw, 72px);
    background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    transition: transform 0.15s ease;
}

.count-lbl {
    display: block;
    font-size: clamp(10px, 2.5vw, 14px);
    color: var(--green-300);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.count-colon {
    font-size: clamp(24px, 7vw, 50px);
    color: var(--gold-500);
    animation: colonBlink 1s step-end infinite;
    line-height: 1.1;
    margin-top: 4px;
}
@keyframes colonBlink {
    0%, 100% { opacity: 1; } 50% { opacity: 0.15; }
}

/* ============================
   ADDRESS
   ============================ */
.address {
    padding: 60px 16px;
    background: transparent;
    min-height: auto;
}

.address-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(255,215,0,0.18);
    border-radius: 24px;
    padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px);
    max-width: 520px; width: 100%;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.addr-icon {
    margin-bottom: 16px;
    animation: gentleFloat 3s ease-in-out infinite;
}

.addr-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 5vw, 32px);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.addr-body { margin-bottom: 24px; }

.addr-line {
    font-family: var(--font-body);
    font-size: clamp(14px, 3.5vw, 17px);
    color: var(--text-primary);
    line-height: 1.8;
}
.addr-main {
    font-family: var(--font-display);
    font-size: clamp(18px, 4.5vw, 24px);
    color: var(--gold-300);
    margin-bottom: 4px;
}
.addr-city {
    color: var(--green-300);
    font-weight: 600;
    margin-top: 4px;
}

.addr-map-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.25);
    color: var(--gold-300);
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.3s ease;
}
.addr-map-btn:hover {
    background: rgba(255,215,0,0.2);
    box-shadow: 0 0 25px rgba(255,215,0,0.15);
    transform: translateY(-2px);
}

/* ============================
   FAMILY
   ============================ */
.family {
    padding: 70px 16px;
    min-height: 60svh;
    background: transparent;
}

.family-inner {
    position: relative;
    max-width: 550px; width: 100%;
    padding: clamp(40px, 7vw, 70px) clamp(24px, 5vw, 50px);
    text-align: center;
    background: var(--dark-card);
    border-radius: 28px;
    border: 1px solid rgba(255,215,0,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    overflow: hidden;
}

.family-glow {
    position: absolute; inset: -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255,215,0,0.03) 60deg,
        transparent 120deg,
        rgba(0,137,123,0.03) 180deg,
        transparent 240deg,
        rgba(255,215,0,0.03) 300deg,
        transparent 360deg
    );
    animation: glowSpin 12s linear infinite;
    pointer-events: none;
}
@keyframes glowSpin { to { transform: rotate(360deg); } }

.family-label {
    font-family: var(--font-body);
    font-size: clamp(15px, 3vw, 20px);
    color: var(--green-300);
    margin-bottom: 16px;
    letter-spacing: 2px;
    font-weight: 500;
}

.family-name {
    font-family: var(--font-display);
    font-size: clamp(26px, 7vw, 46px);
    background: linear-gradient(135deg, var(--gold-700), var(--gold-300), var(--gold-100), var(--gold-300), var(--gold-700));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 5s ease-in-out infinite;
    line-height: 1.4;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.15));
}

.family-request {
    font-family: var(--font-serif);
    font-size: clamp(14px, 3.5vw, 19px);
    color: var(--green-300);
    line-height: 2;
}

/* ============================
   BLESSING
   ============================ */
.blessing {
    padding: 70px 16px;
    min-height: 60svh;
    background: transparent;
}

.blessing-glow {
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Diya */
.diya-wrap {
    position: relative;
    margin-bottom: 36px;
    display: flex; justify-content: center;
}

.diya { position: relative; width: 60px; height: 70px; }

.diya-bowl {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    width: 44px; height: 16px;
    background: linear-gradient(to bottom, #cd853f, #8b4513);
    border-radius: 0 0 50% 50%;
}
.diya-bowl::before {
    content: ''; position: absolute;
    top: -4px; left: -4px; right: -4px; height: 8px;
    background: linear-gradient(to bottom, #daa520, #cd853f);
    border-radius: 50%;
}

.diya-stand {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 30px; height: 8px;
    background: linear-gradient(to bottom, #8b4513, #5c3317);
    border-radius: 0 0 6px 6px;
}

.wick {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 10px;
    background: #333;
}

.flame-outer {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 30px;
    background: linear-gradient(to top, #ff6600, #ffcc00, #ffff88, rgba(255,255,220,0.6));
    border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%;
    animation: flicker 0.3s ease-in-out infinite alternate;
    box-shadow:
        0 0 15px rgba(255,200,0,0.5),
        0 0 30px rgba(255,150,0,0.25),
        0 0 50px rgba(255,100,0,0.1);
}
.flame-mid {
    position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 7px; height: 18px;
    background: linear-gradient(to top, #ff9900, #ffdd44, #fff);
    border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%;
    animation: flicker 0.25s ease-in-out infinite alternate-reverse;
}
.flame-core {
    position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 10px;
    background: linear-gradient(to top, #fff, rgba(255,255,255,0.8));
    border-radius: 50%;
    animation: flicker 0.35s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% { transform: translateX(-50%) scaleX(1) scaleY(1) rotate(-1deg); }
    50% { transform: translateX(-50%) scaleX(0.94) scaleY(1.04) rotate(0.5deg); }
    100% { transform: translateX(-50%) scaleX(1.03) scaleY(0.97) rotate(-0.5deg); }
}

.diya-glow-ring {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,0,0.08), transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.bless-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 44px);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300), var(--gold-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-align: center;
}

.bless-text {
    font-family: var(--font-display);
    font-size: clamp(18px, 5vw, 30px);
    color: var(--gold-200);
    text-align: center;
    line-height: 1.8;
    margin-bottom: 32px;
}

.bless-footer {
    font-family: var(--font-serif);
    font-size: clamp(14px, 3vw, 20px);
    color: var(--text-secondary);
    text-align: center;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    position: relative; z-index: 3;
    background: rgba(3, 10, 5, 0.95);
    padding: 48px 16px 32px;
    text-align: center;
    border-top: 1px solid rgba(255,215,0,0.08);
}
.site-footer p {
    font-family: var(--font-serif);
    font-size: clamp(12px, 2.8vw, 16px);
    color: var(--text-dim);
    line-height: 2.2;
}
.footer-end {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,215,0,0.04);
    font-family: var(--font-display);
    font-size: clamp(14px, 3.5vw, 20px);
    color: var(--gold-500);
}

/* ============================
   REVEAL ANIMATIONS
   ============================ */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal[data-anim="fadeUp"] { transform: translateY(30px); }
.reveal[data-anim="zoomIn"] { transform: scale(0.7); }
.reveal[data-anim="cardIn"] { transform: translateY(50px) scale(0.97); }
.reveal[data-anim="slideLeft"] { transform: translateX(-40px); }
.reveal[data-anim="slideUp"] { transform: translateY(40px); }
.reveal[data-anim="scaleX"] { transform: scaleX(0); }
.reveal[data-anim="fadeIn"] { transform: none; }
.reveal[data-anim="glowReveal"] { transform: scale(0.9); filter: blur(8px); }

.reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 0.9s cubic-bezier(0.22,0.61,0.36,1),
                transform 0.9s cubic-bezier(0.22,0.61,0.36,1),
                filter 1.2s ease;
}

/* ============================
   MOBILE OPTIMIZATIONS
   ============================ */
@media (max-width: 600px) {
    body {
        background-attachment: scroll;
    }
    .hero { padding: 20px 12px 36px; }
    .ganpati-art-real { width: 60vw; }

    .nimantran-frame { border-radius: 18px; }

    .details-wrap { grid-template-columns: 1fr; max-width: 90vw; }

    .count-grid { gap: 6px; }
    .count-cell { min-width: 48px; }

    .address-card { border-radius: 18px; }

    .family-inner { border-radius: 22px; }
}

@media (max-width: 380px) {
    .nim-title { letter-spacing: 1px; }
    .hero-title { letter-spacing: 0; }
    .count-num { font-size: 28px; }
    .count-colon { font-size: 20px; }
}

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
