/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Dancing+Script:wght@400;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --background: 260 30% 96%;
    --foreground: 240 20% 18%;

    --card: 0 0% 100%;
    --card-foreground: 240 20% 18%;

    --primary: 330 75% 58%;
    --primary-foreground: 0 0% 100%;

    --secondary: 210 80% 58%;
    --secondary-foreground: 0 0% 100%;

    --muted: 260 20% 92%;
    --muted-foreground: 240 8% 50%;

    --accent: 280 60% 55%;
    --accent-foreground: 0 0% 100%;

    --border: 260 20% 90%;
    --ring: 330 75% 58%;

    --baby-blue: 210 80% 62%;
    --baby-pink: 330 75% 65%;
    --gold: 42 85% 52%;

    --font-display: 'Playfair Display', serif;
    --font-script: 'Dancing Script', cursive;
    --font-body: 'Quicksand', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Utility / Shared
   ============================================ */
.font-script {
    font-family: var(--font-script);
}

.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.text-gradient-reveal {
    background: linear-gradient(135deg, hsl(var(--baby-blue)), hsl(var(--accent)), hsl(var(--baby-pink)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-baby-blue {
    color: hsl(var(--baby-blue));
}

.text-baby-pink {
    color: hsl(var(--baby-pink));
}

.text-gold {
    color: hsl(var(--gold));
}

.text-primary {
    color: hsl(var(--primary));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

/* Section backgrounds */
.bg-gradient-section {
    background: linear-gradient(180deg,
            hsl(260 35% 95%) 0%,
            hsl(280 25% 96%) 50%,
            hsl(260 30% 96%) 100%);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, hsl(var(--baby-pink) / 0.12), transparent);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, hsl(var(--baby-blue) / 0.12), transparent);
}

/* Glows */
.border-glow-pink {
    box-shadow: 0 0 20px hsl(var(--baby-pink) / 0.25), 0 0 60px hsl(var(--baby-pink) / 0.08);
}

.border-glow-blue {
    box-shadow: 0 0 20px hsl(var(--baby-blue) / 0.25), 0 0 60px hsl(var(--baby-blue) / 0.08);
}

.sparkle-shadow {
    box-shadow:
        0 1px 3px hsl(0 0% 0% / 0.04),
        0 8px 24px hsl(var(--baby-pink) / 0.08),
        0 16px 48px hsl(var(--baby-blue) / 0.06);
}

/* Dividers */
.gradient-divider {
    width: 80px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 9999px;
    background: linear-gradient(to right, hsl(var(--baby-blue)), hsl(var(--baby-pink)));
}

.gradient-divider.pink-blue {
    background: linear-gradient(to right, hsl(var(--baby-pink)), hsl(var(--baby-blue)));
}

/* ============================================
   Section shared
   ============================================ */
.section {
    padding: 96px 24px;
    position: relative;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .subtitle {
    font-family: var(--font-script);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

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

    100% {
        background-position: 200% center;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sparkleFloat1 {

    0%,
    100% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes sparkleFloat2 {

    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes sparkleFloat3 {

    0%,
    100% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(15px);
    }
}

@keyframes progressGrow {
    from {
        width: 0;
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 hsl(var(--baby-pink) / 0.15);
    }

    50% {
        box-shadow: 0 0 0 12px hsl(var(--baby-pink) / 0);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-twinkle {
    animation: twinkle 2s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            hsl(260 30% 96% / 0.15) 0%,
            hsl(260 30% 96% / 0.3) 40%,
            hsl(260 30% 96% / 0.6) 70%,
            hsl(260 30% 96% / 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    max-width: 896px;
    margin: 0 auto;
}

.hero-subtitle {
    font-family: var(--font-script);
    color: hsl(var(--baby-pink));
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-shadow: 0 1px 8px hsl(0 0% 100% / 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-desc {
    color: hsl(var(--foreground) / 0.75);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 9999px;
    background: linear-gradient(135deg, hsl(var(--baby-pink)), hsl(var(--primary)));
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    animation: gentlePulse 3s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsl(var(--baby-pink) / 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 9999px;
    border: 2px solid hsl(var(--baby-blue) / 0.5);
    color: hsl(var(--baby-blue));
    font-weight: 600;
    font-size: 1.05rem;
    background: hsl(0 0% 100% / 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-outline:hover {
    background: hsl(var(--baby-blue) / 0.1);
    border-color: hsl(var(--baby-blue));
    transform: translateY(-2px);
}

/* Floating sparkles */
.sparkle {
    position: absolute;
    border-radius: 50%;
}

.sparkle-1 {
    top: 25%;
    left: 40px;
    width: 8px;
    height: 8px;
    background: hsl(var(--baby-pink) / 0.6);
    animation: sparkleFloat1 3s ease-in-out infinite, twinkle 2s ease-in-out infinite;
}

.sparkle-2 {
    top: 33%;
    right: 64px;
    width: 12px;
    height: 12px;
    background: hsl(var(--baby-blue) / 0.6);
    animation: sparkleFloat2 4s ease-in-out infinite, twinkle 2s ease-in-out infinite 0.5s;
}

.sparkle-3 {
    bottom: 33%;
    left: 25%;
    width: 8px;
    height: 8px;
    background: hsl(var(--gold) / 0.5);
    animation: sparkleFloat3 3.5s ease-in-out infinite, twinkle 2s ease-in-out infinite 1s;
}

/* ============================================
   Countdown Section
   ============================================ */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.countdown-card {
    background: hsl(0 0% 100% / 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 28px 20px;
    border: 1px solid hsl(var(--border));
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px hsl(var(--baby-pink) / 0.10);
}

.countdown-card .value {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-card .label {
    color: hsl(var(--muted-foreground));
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 10px;
    font-family: var(--font-body);
    font-weight: 600;
}

/* ============================================
   Event Details Section
   ============================================ */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.detail-card {
    background: hsl(0 0% 100% / 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid hsl(var(--border));
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, hsl(var(--baby-blue)), hsl(var(--baby-pink)));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px hsl(var(--baby-pink) / 0.10);
}

.detail-card:hover::before {
    opacity: 1;
}

.detail-card .icon {
    margin-bottom: 14px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-card .icon.text-baby-pink {
    background: hsl(var(--baby-pink) / 0.1);
}

.detail-card .icon.text-baby-blue {
    background: hsl(var(--baby-blue) / 0.1);
}

.detail-card .icon svg {
    width: 24px;
    height: 24px;
}

.detail-card .card-label {
    color: hsl(var(--muted-foreground));
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 600;
}

.detail-card .card-value {
    color: hsl(var(--foreground));
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-display);
    white-space: pre-line;
}

/* ============================================
   What to Expect Section
   ============================================ */
.expect-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.expect-card {
    background: hsl(0 0% 100% / 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid hsl(var(--border));
    text-align: center;
    transition: all 0.35s ease;
}

.expect-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px hsl(var(--baby-blue) / 0.10);
    border-color: hsl(var(--baby-pink) / 0.25);
}

.expect-card .icon {
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    transition: transform 0.3s ease;
}

.expect-card .icon.text-baby-pink {
    background: linear-gradient(135deg, hsl(var(--baby-pink) / 0.12), hsl(var(--baby-pink) / 0.04));
}

.expect-card .icon.text-baby-blue {
    background: linear-gradient(135deg, hsl(var(--baby-blue) / 0.12), hsl(var(--baby-blue) / 0.04));
}

.expect-card:hover .icon {
    transform: scale(1.15) rotate(-3deg);
}

.expect-card .icon svg {
    width: 32px;
    height: 32px;
}

.expect-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.expect-card p {
    color: hsl(var(--muted-foreground));
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Team Voting Section
   ============================================ */
.voting-section {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.voting-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.vote-btn {
    flex: 1;
    max-width: 300px;
    width: 100%;
    padding: 36px 28px;
    border-radius: 24px;
    border: 2px solid hsl(var(--border));
    background: hsl(0 0% 100% / 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.35s ease;
    font-family: var(--font-body);
}

.vote-btn:hover {
    transform: translateY(-6px) scale(1.02);
}

.vote-btn.boy {
    border-color: hsl(var(--baby-blue) / 0.3);
}

.vote-btn.boy:hover {
    border-color: hsl(var(--baby-blue));
    background: linear-gradient(135deg, hsl(var(--baby-blue) / 0.1), hsl(0 0% 100% / 0.9));
    box-shadow: 0 16px 48px hsl(var(--baby-blue) / 0.15);
}

.vote-btn.girl {
    border-color: hsl(var(--baby-pink) / 0.3);
}

.vote-btn.girl:hover {
    border-color: hsl(var(--baby-pink));
    background: linear-gradient(135deg, hsl(var(--baby-pink) / 0.1), hsl(0 0% 100% / 0.9));
    box-shadow: 0 16px 48px hsl(var(--baby-pink) / 0.15);
}

.vote-btn.voted {
    cursor: default;
}

.vote-btn.voted:hover {
    transform: none;
    box-shadow: none;
}

.vote-btn.boy.selected {
    border-color: hsl(var(--baby-blue));
    background: linear-gradient(135deg, hsl(var(--baby-blue) / 0.15), hsl(0 0% 100% / 0.95));
    box-shadow: 0 0 24px hsl(var(--baby-blue) / 0.25), 0 0 64px hsl(var(--baby-blue) / 0.08);
}

.vote-btn.girl.selected {
    border-color: hsl(var(--baby-pink));
    background: linear-gradient(135deg, hsl(var(--baby-pink) / 0.15), hsl(0 0% 100% / 0.95));
    box-shadow: 0 0 24px hsl(var(--baby-pink) / 0.25), 0 0 64px hsl(var(--baby-pink) / 0.08);
}

.vote-btn.dimmed {
    opacity: 0.45;
}

.vote-btn .emoji {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.vote-btn h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.vote-btn p {
    color: hsl(var(--muted-foreground));
    font-family: var(--font-body);
    margin-top: 6px;
    font-size: 0.9rem;
}

.vote-separator {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: hsl(var(--gold));
    animation: float 4s ease-in-out infinite;
}

/* Results bar */
.vote-results {
    max-width: 420px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease forwards;
}

.vote-results .results-title {
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.progress-bar {
    display: flex;
    border-radius: 9999px;
    overflow: hidden;
    height: 36px;
    background: hsl(var(--muted));
    box-shadow: inset 0 2px 4px hsl(0 0% 0% / 0.04);
}

.progress-boy {
    background: linear-gradient(135deg, hsl(210 80% 55%), hsl(var(--baby-blue)));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    transition: width 1s ease;
}

.progress-girl {
    background: linear-gradient(135deg, hsl(var(--baby-pink)), hsl(330 75% 58%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    transition: width 1s ease;
}

.vote-counts {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px hsl(0 0% 0% / 0.06);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    box-shadow: 0 12px 40px hsl(0 0% 0% / 0.12);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ============================================
   RSVP Section
   ============================================ */
.rsvp-section {
    max-width: 640px;
    margin: 0 auto;
}

.rsvp-form {
    background: hsl(0 0% 100% / 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 36px;
    border: 1px solid hsl(var(--border));
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--foreground) / 0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: hsl(var(--muted) / 0.6);
    border: 1.5px solid hsl(var(--border));
    border-radius: 14px;
    padding: 14px 18px;
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--muted-foreground) / 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: hsl(var(--baby-pink));
    background: hsl(0 0% 100%);
    box-shadow: 0 0 0 4px hsl(var(--baby-pink) / 0.08);
}

.form-group .error-msg {
    color: hsl(var(--primary));
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
}

/* Team prediction radios */
.team-options {
    display: flex;
    gap: 12px;
}

.team-option {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    border-radius: 14px;
    border: 1.5px solid hsl(var(--border));
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    background: hsl(0 0% 100% / 0.5);
}

.team-option:hover {
    border-color: hsl(var(--foreground) / 0.25);
    background: hsl(0 0% 100% / 0.8);
}

.team-option input {
    display: none;
}

.team-option.selected-boy {
    border-color: hsl(var(--baby-blue));
    background: hsl(var(--baby-blue) / 0.08);
    color: hsl(var(--baby-blue));
}

.team-option.selected-girl {
    border-color: hsl(var(--baby-pink));
    background: hsl(var(--baby-pink) / 0.08);
    color: hsl(var(--baby-pink));
}

.team-option.selected-surprise {
    border-color: hsl(var(--gold));
    background: hsl(var(--gold) / 0.08);
    color: hsl(var(--gold));
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, hsl(var(--baby-pink)), hsl(var(--primary)));
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsl(var(--baby-pink) / 0.35);
}

/* RSVP success */
.rsvp-success {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    background: hsl(0 0% 100% / 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 56px 40px;
    border: 1px solid hsl(var(--border));
    animation: scaleIn 0.6s ease forwards;
}

.rsvp-success .emoji {
    font-size: 4rem;
    margin-bottom: 20px;
}

.rsvp-success h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.rsvp-success p {
    color: hsl(var(--muted-foreground));
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 56px 24px;
    text-align: center;
    border-top: 1px solid hsl(var(--border));
    background: hsl(260 30% 97%);
}

.footer .tagline {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 12px;
}

.footer .made-with {
    color: hsl(var(--muted-foreground));
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer .made-with svg {
    width: 16px;
    height: 16px;
    color: hsl(var(--baby-pink));
    fill: hsl(var(--baby-pink));
}

/* ============================================
   Decorative background elements
   ============================================ */
.section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.section:nth-child(odd)::before {
    background: hsl(var(--baby-pink));
    top: 10%;
    right: -100px;
}

.section:nth-child(even)::before {
    background: hsl(var(--baby-blue));
    bottom: 10%;
    left: -100px;
}

.section>* {
    position: relative;
    z-index: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 5.5rem;
    }

    .hero-desc {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .countdown-card .value {
        font-size: 3.8rem;
    }

    .voting-buttons {
        flex-direction: row;
    }

    .rsvp-form {
        padding: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-item.span-2 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item.span-wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .expect-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}