/* ============================================
   🎂 Birthday Greeting — Женя
   Premium scroll-based birthday experience
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Raleway', sans-serif;
    background: #0a0a1a;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a1a; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700, #ff6b9d);
    border-radius: 3px;
}

img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffd700, #ff6b9d, #c850c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Layout --- */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.section--short {
    min-height: 60vh;
}

.section-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===================================
   LOADER
   =================================== */
#loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #0a0a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-gift {
    font-size: 4rem;
    animation: loaderBounce 1s ease-in-out infinite;
}

.loader-text {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: 300;
    letter-spacing: 2px;
}

.dots {
    animation: dotsAnim 1.5s steps(4, end) infinite;
    display: inline-block;
    width: 1.5em;
    text-align: left;
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

@keyframes dotsAnim {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* ===================================
   MUSIC BUTTON
   =================================== */
#music-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.4);
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

#music-toggle:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

#music-toggle.playing {
    border-color: #ffd700;
    animation: musicPulse 2s ease-in-out infinite;
}

#music-toggle.playing .music-icon {
    animation: musicSpin 3s linear infinite;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(255, 215, 0, 0.15); }
}

@keyframes musicSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   BACKGROUND CANVAS
   =================================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===================================
   HERO SECTION
   =================================== */
#hero {
    flex-direction: column;
    background: radial-gradient(ellipse at 50% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pretext {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 215, 0, 0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #e0d4ff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
}

.hero-name-wrapper {
    position: relative;
    display: inline-block;
}

.hero-name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(4rem, 15vw, 10rem);
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 30%, #ff6b9d 70%, #c850c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
    opacity: 0;
    position: relative;
}

.hero-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    transition: width 1.5s ease;
}

.hero-name.visible::after {
    width: 100%;
}

.hero-emojis {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.float-emoji {
    font-size: 2.5rem;
    opacity: 0;
    animation: floatEmoji 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(var(--x)); }
    50% { transform: translateY(-5px) translateX(calc(var(--x) * -0.5)); }
    75% { transform: translateY(-20px) translateX(calc(var(--x) * 0.3)); }
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0;
}

.scroll-arrow {
    margin-top: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    color: rgba(255, 215, 0, 0.6);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===================================
   GREETING SECTION
   =================================== */
#greeting {
    background: radial-gradient(ellipse at 30% 50%, rgba(200, 80, 192, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
}

.greeting-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.greeting-line {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 300;
    line-height: 1.6;
}

.greeting-line--accent {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
}

/* Ornaments */
.greeting-ornament {
    position: absolute;
    width: 120px;
    height: 2px;
    top: 50%;
    opacity: 0;
}

.greeting-ornament--left {
    left: 0;
    background: linear-gradient(90deg, transparent, #ffd700);
}

.greeting-ornament--right {
    right: 0;
    background: linear-gradient(90deg, #ffd700, transparent);
}

.greeting-ornament::before,
.greeting-ornament::after {
    content: '✦';
    position: absolute;
    color: #ffd700;
    font-size: 1rem;
}

.greeting-ornament--left::before { right: -10px; top: -8px; }
.greeting-ornament--right::after { left: -10px; top: -8px; }

/* ===================================
   ABOUT CARDS
   =================================== */
#about {
    background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.about-card {
    position: relative;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(60px);
    overflow: hidden;
}

.card-inner {
    position: relative;
    z-index: 2;
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:nth-child(1) .card-glow {
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
}

.about-card:nth-child(2) .card-glow {
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
}

.about-card:nth-child(3) .card-glow {
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.about-card:hover .card-glow {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.2);
}

.card-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffd700, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.6;
}

/* ===================================
   CELEBRATION / FIREWORKS
   =================================== */
#celebration {
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 60%);
    overflow: hidden;
}

.celebration-content {
    text-align: center;
}

.celebration-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.celebration-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    color: #ffffff;
}

.celebration-word--accent {
    background: linear-gradient(135deg, #ffd700, #ff6b9d, #c850c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.celebration-boom {
    font-size: 6rem;
    margin-top: 2rem;
    opacity: 0;
    transform: scale(0);
}

/* ===================================
   CAKE SECTION
   =================================== */
#cake-section {
    background: radial-gradient(ellipse at 50% 70%, rgba(255, 107, 157, 0.08) 0%, transparent 60%);
}

.cake-title {
    opacity: 0;
}

.cake-scene {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 2rem;
}

.cake {
    position: relative;
    transform: translateY(80px);
    opacity: 0;
}

/* Candles */
.candle-row {
    display: flex;
    justify-content: center;
    gap: 22px;
    position: relative;
    z-index: 3;
    margin-bottom: -5px;
}

.candle {
    width: 10px;
    height: 45px;
    background: repeating-linear-gradient(
        0deg,
        #ffd700 0px,
        #ffd700 6px,
        #ffffff 6px,
        #ffffff 12px
    );
    border-radius: 3px 3px 0 0;
    position: relative;
}

.flame {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 18px;
    background: radial-gradient(ellipse at 50% 90%, #ffd700 0%, #ff6b00 40%, #ff3300 70%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
    transform-origin: bottom center;
}

.flame.lit {
    opacity: 1;
    animation: flicker 0.8s ease-in-out infinite alternate;
}

.flame::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 8px;
    background: radial-gradient(ellipse, #ffffcc, #ffdd44);
    border-radius: 50%;
}

@keyframes flicker {
    0% { transform: translateX(-50%) scale(1) rotate(-2deg); }
    20% { transform: translateX(-50%) scale(1.05, 0.95) rotate(1deg); }
    40% { transform: translateX(-50%) scale(0.95, 1.05) rotate(-1deg); }
    60% { transform: translateX(-50%) scale(1.02) rotate(2deg); }
    80% { transform: translateX(-50%) scale(0.98, 1.02) rotate(-1.5deg); }
    100% { transform: translateX(-50%) scale(1.03, 0.97) rotate(1deg); }
}

/* Cake tiers */
.cake-tier {
    position: relative;
    margin: 0 auto;
    border-radius: 8px;
}

.cake-tier--top {
    width: 140px;
    height: 55px;
    background: linear-gradient(180deg, #ff6b9d 0%, #ec4899 100%);
    z-index: 2;
}

.cake-tier--middle {
    width: 190px;
    height: 60px;
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
    margin-top: -2px;
    z-index: 1;
}

.cake-tier--bottom {
    width: 240px;
    height: 65px;
    background: linear-gradient(180deg, #f472b6 0%, #ec4899 100%);
    margin-top: -2px;
}

/* Frosting */
.frosting {
    position: absolute;
    top: -6px;
    left: -4px;
    right: -4px;
    height: 18px;
    background: #ffffff;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.frosting::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5%;
    right: 5%;
    height: 14px;
    background:
        radial-gradient(ellipse at 10% 0%, #ffffff 8px, transparent 8px),
        radial-gradient(ellipse at 30% 0%, #ffffff 10px, transparent 10px),
        radial-gradient(ellipse at 55% 0%, #ffffff 7px, transparent 7px),
        radial-gradient(ellipse at 75% 0%, #ffffff 9px, transparent 9px),
        radial-gradient(ellipse at 92% 0%, #ffffff 8px, transparent 8px);
}

.cake-plate {
    width: 280px;
    height: 16px;
    background: linear-gradient(180deg, #e0e0e0, #c0c0c0);
    border-radius: 50%;
    margin: 2px auto 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Cake glow */
.cake-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.cake-glow.active {
    opacity: 1;
}

/* ===================================
   WISHES SECTION
   =================================== */
#wishes {
    background: radial-gradient(ellipse at 50% 50%, rgba(200, 80, 192, 0.06) 0%, transparent 60%);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.wish-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.wish-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(255, 215, 0, 0.2);
}

.wish-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.wish-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.7;
}

/* ===================================
   BALLOONS SECTION
   =================================== */
#balloons {
    overflow: hidden;
    position: relative;
}

.balloons-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 40vh;
}

.balloon {
    position: absolute;
    font-size: 4rem;
    opacity: 0;
    filter: saturate(1.5);
}

.balloon--1 { left: 5%; bottom: -20%; --float-x: 15px; }
.balloon--2 { left: 18%; bottom: -30%; --float-x: -10px; }
.balloon--3 { left: 33%; bottom: -15%; --float-x: 20px; }
.balloon--4 { left: 50%; bottom: -25%; --float-x: -15px; }
.balloon--5 { left: 65%; bottom: -20%; --float-x: 12px; }
.balloon--6 { left: 78%; bottom: -35%; --float-x: -18px; }
.balloon--7 { left: 90%; bottom: -20%; --float-x: 10px; }

/* ===================================
   GIFT / SCRATCH CARD
   =================================== */
#gift {
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    min-height: 100vh;
}

.gift-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.gift-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #ffd700, #ff6b9d, #c850c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    opacity: 0;
}

.gift-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    opacity: 0;
}

/* Gift box animation */
.gift-box-anim {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    opacity: 0;
}

.gift-box {
    position: relative;
    width: 100px;
    height: 80px;
}

.gift-base {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 80px;
    height: 55px;
    background: linear-gradient(135deg, #ff6b9d, #c850c0);
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(200, 80, 192, 0.3);
}

.gift-base::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 14px;
    background: #ffd700;
}

.gift-lid {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 90px;
    height: 20px;
    background: linear-gradient(135deg, #ff85b1, #d76bc8);
    border-radius: 4px;
    z-index: 2;
    transform-origin: right bottom;
}

.gift-lid::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 14px;
    background: #ffd700;
}

.gift-bow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: #ffd700;
    border-radius: 50% 50% 0 0;
}

.gift-bow::before,
.gift-bow::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 14px;
    background: #ffd700;
    border-radius: 50%;
    top: 2px;
}

.gift-bow::before { left: -8px; }
.gift-bow::after { right: -8px; }

/* Scratch card wrapper */
.scratch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.scratch-container {
    position: relative;
    width: 320px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 215, 0, 0.2);
    cursor: pointer;
}

.scratch-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a2e, #0d0d2b);
    border-radius: 16px;
}

.gift-reveal {
    text-align: center;
    padding: 1.5rem;
}

.gift-icon-big {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.gift-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gift-code {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.gift-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

#scratch-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    cursor: grab;
    touch-action: none;
}

#scratch-canvas:active {
    cursor: grabbing;
}

.scratch-hint {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 215, 0, 0.6);
    text-align: center;
    animation: hintPulse 2s ease-in-out infinite;
}

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

.scratch-hint.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* ===================================
   FOOTER
   =================================== */
#footer {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-hearts {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 5px;
}

.footer-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.footer-year {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
}

/* ===================================
   GLOBAL ANIMATIONS
   =================================== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6)); }
}

/* Gift revealed celebration */
.gift-revealed .scratch-container {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: revealGlow 2s ease-in-out infinite;
}

@keyframes revealGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), 0 10px 40px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 0 50px rgba(255, 215, 0, 0.5), 0 10px 40px rgba(0, 0, 0, 0.4); }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wishes-grid {
        grid-template-columns: 1fr;
    }

    .celebration-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-emojis {
        gap: 1rem;
    }

    .float-emoji {
        font-size: 2rem;
    }

    .scratch-container {
        width: 280px;
        height: 180px;
    }

    .candle-row {
        gap: 16px;
    }

    .cake-tier--top { width: 110px; height: 45px; }
    .cake-tier--middle { width: 150px; height: 50px; }
    .cake-tier--bottom { width: 195px; height: 55px; }
    .cake-plate { width: 230px; }

    #music-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .greeting-ornament { display: none; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-name {
        font-size: clamp(3rem, 18vw, 6rem);
    }

    .scratch-container {
        width: 260px;
        height: 170px;
    }

    .gift-code {
        font-size: 1.5rem;
    }
}

/* ===================================
   NOISE OVERLAY (subtle texture)
   =================================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}
