/* =============================================================================
   MATT & GINA - NEW YEAR'S EVE 2026
   Premium Black & Gold Wedding Theme
============================================================================= */

:root {
    --black: #000000;
    --black-rich: #0a0a0a;
    --champagne: #F7E7CE;
    --champagne-light: #FFF8E7;
    --gold: #C9A86C;
    --gold-bright: #E8D4A8;
    --gold-dark: #A68B4B;
    --gold-rose: #D4BC94;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* =============================================================================
   TIMES SQUARE BALL DROP
============================================================================= */
.ball-drop {
    position: fixed;
    top: 0;
    right: 5%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ball-pole {
    width: 4px;
    height: 60px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.ball {
    position: relative;
    width: 60px;
    height: 60px;
    -webkit-animation: ballPulse 3s ease-in-out infinite;
    animation: ballPulse 3s ease-in-out infinite;
}

@-webkit-keyframes ballPulse {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.03); transform: scale(1.03); }
}
@keyframes ballPulse {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.03); transform: scale(1.03); }
}

.ball-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        #E8E8E8 0%,
        #C0C0C0 20%,
        #A0A0A0 40%,
        #707070 70%,
        #505050 100%);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(232, 212, 168, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

/* Crystal triangle pattern overlay */
.ball-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(60deg, transparent 45%, rgba(255,255,255,0.4) 50%, transparent 55%),
        linear-gradient(-60deg, transparent 45%, rgba(255,255,255,0.4) 50%, transparent 55%),
        linear-gradient(180deg, transparent 45%, rgba(255,255,255,0.3) 50%, transparent 55%);
    background-size: 12px 12px;
    border-radius: 50%;
    -webkit-animation: shimmerCrystal 2s linear infinite;
    animation: shimmerCrystal 2s linear infinite;
}

@-webkit-keyframes shimmerCrystal {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}
@keyframes shimmerCrystal {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.ball-facets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-animation: rotateFacets 20s linear infinite;
    animation: rotateFacets 20s linear infinite;
}

@-webkit-keyframes rotateFacets {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes rotateFacets {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* Crystal sparkle points */
.ball-facets span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow:
        0 0 4px #FFFFFF,
        0 0 8px rgba(232, 212, 168, 0.5);
    -webkit-animation: sparkle 1.5s ease-in-out infinite;
    animation: sparkle 1.5s ease-in-out infinite;
}

@-webkit-keyframes sparkle {
    0%, 100% { opacity: 0.6; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
@keyframes sparkle {
    0%, 100% { opacity: 0.6; -webkit-transform: scale(0.8); transform: scale(0.8); }
    50% { opacity: 1; -webkit-transform: scale(1.2); transform: scale(1.2); }
}

/* Randomly distributed sparkles with varied timing */
.ball-facets span:nth-child(1) { top: 15%; left: 30%; animation-delay: 0s; animation-duration: 1.2s; }
.ball-facets span:nth-child(2) { top: 25%; left: 65%; animation-delay: 0.7s; animation-duration: 1.8s; }
.ball-facets span:nth-child(3) { top: 45%; left: 25%; animation-delay: 0.3s; animation-duration: 1.4s; }
.ball-facets span:nth-child(4) { top: 40%; left: 70%; animation-delay: 1.1s; animation-duration: 1.6s; }
.ball-facets span:nth-child(5) { top: 60%; left: 45%; animation-delay: 0.5s; animation-duration: 2.0s; }
.ball-facets span:nth-child(6) { top: 70%; left: 30%; animation-delay: 1.4s; animation-duration: 1.3s; }
.ball-facets span:nth-child(7) { top: 55%; left: 60%; animation-delay: 0.9s; animation-duration: 1.7s; }
.ball-facets span:nth-child(8) { top: 30%; left: 45%; animation-delay: 1.6s; animation-duration: 1.5s; }

/* Countdown number */
.ball-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #000000;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    letter-spacing: 1px;
}

.ball-countdown.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.ball-countdown.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.ball-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(232, 212, 168, 0.15) 40%,
        transparent 70%);
    -webkit-animation: glowFlicker 2s ease-in-out infinite;
    animation: glowFlicker 2s ease-in-out infinite;
}

@-webkit-keyframes glowFlicker {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.03); }
}
@keyframes glowFlicker {
    0%, 100% { opacity: 0.6; -webkit-transform: scale(1); transform: scale(1); }
    50% { opacity: 0.9; -webkit-transform: scale(1.03); transform: scale(1.03); }
}

.ball-year {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-shadow:
        0 0 10px var(--gold),
        0 0 20px var(--gold),
        0 0 30px var(--gold);
    letter-spacing: 3px;
    animation: yearGlow 2s ease-in-out infinite;
}

@keyframes yearGlow {
    0%, 100% { opacity: 0.8; text-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold); }
    50% { opacity: 1; text-shadow: 0 0 15px var(--gold), 0 0 30px var(--gold), 0 0 45px var(--gold); }
}

/* Responsive ball */
@media (max-width: 600px) {
    .ball-drop {
        right: 3%;
        top: -25px;
        transform: scale(0.65);
        transform-origin: top right;
    }
}

@media (min-width: 1200px) {
    .ball-drop {
        right: 8%;
    }

    .ball {
        width: 65px;
        height: 65px;
    }

    .ball-pole {
        height: 80px;
    }

    .ball-year {
        font-size: 1.5rem;
    }
}

/* =============================================================================
   FLOATING GOLD PARTICLES
============================================================================= */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold-bright);
    -webkit-animation: floatParticle 15s infinite ease-in-out;
    animation: floatParticle 15s infinite ease-in-out;
    opacity: 0;
}

.particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 20%; animation-delay: 1s; }
.particles span:nth-child(3) { left: 30%; animation-delay: 2s; }
.particles span:nth-child(4) { left: 40%; animation-delay: 3s; }
.particles span:nth-child(5) { left: 50%; animation-delay: 4s; }
.particles span:nth-child(6) { left: 60%; animation-delay: 5s; }
.particles span:nth-child(7) { left: 70%; animation-delay: 6s; }
.particles span:nth-child(8) { left: 80%; animation-delay: 7s; }
.particles span:nth-child(9) { left: 90%; animation-delay: 8s; }
.particles span:nth-child(10) { left: 15%; animation-delay: 9s; }
.particles span:nth-child(11) { left: 25%; animation-delay: 10s; }
.particles span:nth-child(12) { left: 45%; animation-delay: 11s; }
.particles span:nth-child(13) { left: 55%; animation-delay: 12s; }
.particles span:nth-child(14) { left: 75%; animation-delay: 13s; }
.particles span:nth-child(15) { left: 85%; animation-delay: 14s; }

@-webkit-keyframes floatParticle {
    0% {
        -webkit-transform: translateY(100vh) scale(0);
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        -webkit-transform: translateY(-100vh) scale(1);
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}
@keyframes floatParticle {
    0% {
        -webkit-transform: translateY(100vh) scale(0);
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        -webkit-transform: translateY(-100vh) scale(1);
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* =============================================================================
   CHAMPAGNE GLASSES
============================================================================= */
.champagne-toast {
    position: fixed;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.champagne-glass {
    position: relative;
    transform-origin: bottom center;
}

.champagne-glass.left {
    transform: rotate(-12deg);
    animation: toastLeft 4s ease-in-out infinite;
}

.champagne-glass.right {
    transform: rotate(12deg);
    animation: toastRight 4s ease-in-out infinite;
    margin-left: -15px;
}

@keyframes toastLeft {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(-8deg) translateX(3px); }
}

@keyframes toastRight {
    0%, 100% { transform: rotate(12deg); }
    50% { transform: rotate(8deg) translateX(-3px); }
}

.glass {
    width: 45px;
    height: 65px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px 3px 50% 50%;
    position: relative;
    overflow: hidden;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 2px;
    right: 2px;
    height: 55%;
    background: linear-gradient(180deg,
        rgba(247, 231, 206, 0.9) 0%,
        rgba(212, 175, 55, 0.7) 100%);
    border-radius: 0 0 50% 50%;
}

.glass .shine {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 20px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.bubbles span {
    position: absolute;
    bottom: 5px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: bubble 2.5s infinite ease-in;
}

.bubbles span:nth-child(1) { left: 15%; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 30%; animation-delay: 0.3s; }
.bubbles span:nth-child(3) { left: 45%; animation-delay: 0.6s; }
.bubbles span:nth-child(4) { left: 60%; animation-delay: 0.9s; }
.bubbles span:nth-child(5) { left: 75%; animation-delay: 1.2s; }
.bubbles span:nth-child(6) { left: 25%; animation-delay: 1.5s; }
.bubbles span:nth-child(7) { left: 50%; animation-delay: 1.8s; }
.bubbles span:nth-child(8) { left: 70%; animation-delay: 2.1s; }

@keyframes bubble {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-45px) scale(0.3);
        opacity: 0;
    }
}

.stem {
    width: 5px;
    height: 35px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 100%);
    margin: 0 auto;
}

.base {
    width: 35px;
    height: 6px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50%;
    margin: 0 auto;
}

.clink-sparkle {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--gold-bright) 0%, transparent 70%);
    border-radius: 50%;
    animation: clinkSparkle 4s ease-in-out infinite;
    opacity: 0;
}

@keyframes clinkSparkle {
    0%, 40%, 100% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.5); }
    60% { opacity: 0; transform: translateX(-50%) scale(2); }
}

/* Hide on small screens */
@media (max-width: 600px) {
    .champagne-toast {
        transform: translateX(-50%) scale(0.7);
        bottom: 3%;
    }
}

/* =============================================================================
   MAIN CONTENT
============================================================================= */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    padding: 1rem;
}

/* =============================================================================
   CARD - Premium Glass Effect
============================================================================= */
.card {
    position: relative;
    z-index: 1;
    background: linear-gradient(165deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(0, 0, 0, 0.9) 100%);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 0 40px rgba(201, 168, 108, 0.2),
        0 0 80px rgba(201, 168, 108, 0.1);
    -webkit-animation: cardEntrance 1.2s ease-out;
    animation: cardEntrance 1.2s ease-out;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@-webkit-keyframes cardEntrance {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30px) scale(0.95);
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
    }
}
@keyframes cardEntrance {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30px) scale(0.95);
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
    }
}

/* Card shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%);
    -webkit-transform: skewX(-20deg);
    transform: skewX(-20deg);
    -webkit-animation: cardShine 6s ease-in-out infinite;
    animation: cardShine 6s ease-in-out infinite;
    pointer-events: none;
}

@-webkit-keyframes cardShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}
@keyframes cardShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* =============================================================================
   TYPOGRAPHY
============================================================================= */
.preheader {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 0.5rem;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 0.3s forwards;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.star-left, .star-right {
    color: var(--gold);
    display: inline-block;
    -webkit-animation: twinkle 2s ease-in-out infinite;
    animation: twinkle 2s ease-in-out infinite;
}

.star-right {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

@-webkit-keyframes twinkle {
    0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
    50% { opacity: 0.4; -webkit-transform: scale(0.8); transform: scale(0.8); }
}
@keyframes twinkle {
    0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
    50% { opacity: 0.4; -webkit-transform: scale(0.8); transform: scale(0.8); }
}

/* Names with shimmer effect */
.names {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 0.5s forwards;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.name {
    display: inline-block;
    background: linear-gradient(90deg,
        var(--white) 0%,
        var(--champagne-light) 25%,
        var(--gold-bright) 50%,
        var(--champagne-light) 75%,
        var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shimmer 4s linear infinite;
    animation: shimmer 4s linear infinite;
}

@-webkit-keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.amp {
    font-style: italic;
    color: var(--gold);
    margin: 0 0.2rem;
    font-size: 2rem;
    vertical-align: middle;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0;
    gap: 0.5rem;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 0.7s forwards;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Mini Champagne Glasses in Divider */
.divider-champagne {
    display: flex;
    align-items: flex-end;
    gap: 0;
    height: 32px;
}

.mini-glass {
    width: 14px;
    height: 20px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.15) 100%);
    border: 1px solid rgba(247, 231, 206, 0.6);
    border-radius: 2px 2px 50% 50%;
    position: relative;
    transform-origin: bottom center;
}

.mini-glass::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1px;
    right: 1px;
    height: 60%;
    background: linear-gradient(180deg,
        rgba(247, 231, 206, 0.8) 0%,
        rgba(212, 175, 55, 0.6) 100%);
    border-radius: 0 0 50% 50%;
}

.mini-glass::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: linear-gradient(180deg,
        rgba(247, 231, 206, 0.6) 0%,
        rgba(247, 231, 206, 0.3) 100%);
}

.mini-glass.left {
    -webkit-transform: rotate(-12deg);
    transform: rotate(-12deg);
    -webkit-animation: miniToastLeft 3s ease-in-out infinite;
    animation: miniToastLeft 3s ease-in-out infinite;
}

.mini-glass.right {
    -webkit-transform: rotate(12deg);
    transform: rotate(12deg);
    margin-left: -3px;
    -webkit-animation: miniToastRight 3s ease-in-out infinite;
    animation: miniToastRight 3s ease-in-out infinite;
}

@-webkit-keyframes miniToastLeft {
    0%, 100% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); }
    50% { -webkit-transform: rotate(-8deg) translateX(1px); transform: rotate(-8deg) translateX(1px); }
}
@keyframes miniToastLeft {
    0%, 100% { -webkit-transform: rotate(-12deg); transform: rotate(-12deg); }
    50% { -webkit-transform: rotate(-8deg) translateX(1px); transform: rotate(-8deg) translateX(1px); }
}

@-webkit-keyframes miniToastRight {
    0%, 100% { -webkit-transform: rotate(12deg); transform: rotate(12deg); }
    50% { -webkit-transform: rotate(8deg) translateX(-1px); transform: rotate(8deg) translateX(-1px); }
}
@keyframes miniToastRight {
    0%, 100% { -webkit-transform: rotate(12deg); transform: rotate(12deg); }
    50% { -webkit-transform: rotate(8deg) translateX(-1px); transform: rotate(8deg) translateX(-1px); }
}

/* Date */
.date {
    margin-bottom: 0.25rem;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 0.9s forwards;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.date-text {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--champagne);
    letter-spacing: 2px;
}

.year {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 6px;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--champagne);
    margin-bottom: 1.25rem;
    font-style: italic;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 1.1s forwards;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* =============================================================================
   BUTTONS
============================================================================= */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 1.3s forwards;
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
}

.btn-content {
    position: relative;
    z-index: 1;
}

/* Primary button - Gold */
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    box-shadow:
        0 4px 15px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    -webkit-animation: btnShine 3s ease-in-out infinite;
    animation: btnShine 3s ease-in-out infinite;
}

@-webkit-keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}
@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Secondary buttons */
.btn-secondary {
    background: transparent;
    color: var(--champagne);
    border: 1px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-bright);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer-note {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 3px;
    opacity: 0;
    -webkit-animation: fadeInUp 0.8s ease-out 1.5s forwards;
    animation: fadeInUp 0.8s ease-out 1.5s forwards;
}

.heart {
    color: var(--gold-bright);
    -webkit-animation: heartbeat 1.5s ease-in-out infinite;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@-webkit-keyframes heartbeat {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    25% { -webkit-transform: scale(1.1); transform: scale(1.1); }
    50% { -webkit-transform: scale(1); transform: scale(1); }
    75% { -webkit-transform: scale(1.1); transform: scale(1.1); }
}
@keyframes heartbeat {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    25% { -webkit-transform: scale(1.1); transform: scale(1.1); }
    50% { -webkit-transform: scale(1); transform: scale(1); }
    75% { -webkit-transform: scale(1.1); transform: scale(1.1); }
}

/* =============================================================================
   RESPONSIVE
============================================================================= */
@media (min-width: 480px) {
    .card {
        padding: 2.5rem 2rem;
    }

    .preheader {
        font-size: 0.7rem;
        letter-spacing: 4px;
        margin-bottom: 0.75rem;
    }

    .names {
        font-size: 3.5rem;
        margin-bottom: 0.75rem;
    }

    .amp {
        font-size: 2.5rem;
    }

    .date-text {
        font-size: 1.3rem;
    }

    .year {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.9rem 1.75rem;
        font-size: 0.8rem;
    }

    .buttons {
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .card {
        padding: 3rem 2.5rem;
        max-width: 500px;
    }

    .names {
        font-size: 4rem;
    }

    .preheader {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    .buttons {
        gap: 0.85rem;
    }
}

/* =============================================================================
   ACCESSIBILITY
============================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    #fireworks,
    .particles,
    .champagne-toast,
    .ball-drop {
        display: none;
    }

    .card::before {
        background: var(--gold);
    }

    .name {
        -webkit-text-fill-color: var(--white);
        background: none;
    }

    body {
        background: linear-gradient(180deg, #000 0%, #111 50%, #000 100%);
    }

    .card, .preheader, .names, .divider, .date, .tagline, .buttons, .footer-note {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .card {
        background: #000;
        border: 2px solid #fff;
    }

    .card::before {
        display: none;
    }

    .btn-primary {
        background: #fff;
        color: #000;
    }

    .btn-secondary {
        border: 2px solid #fff;
        color: #fff;
    }

    .name {
        -webkit-text-fill-color: #fff;
    }
}
