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

:root {
    --bg: #0a0e1a;
    --bg2: #0f1529;
    --accent: #00d4ff;
    --accent2: #7b61ff;
    --gold: #ffd700;
    --white: #ffffff;
    --text: #c8d6e5;
    --glass: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.1);
    --radius: 16px;
    --font: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* ========== BG ANIMATION ========== */
.bg-animation {
    position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.wave {
    position: absolute; bottom: -50%; left: -10%; width: 120%;
    height: 600px; border-radius: 45%;
    opacity: 0.04;
    animation: waveMove 12s ease-in-out infinite;
}
.wave1 { background: var(--accent); animation-delay: 0s; }
.wave2 { background: var(--accent2); animation-delay: -4s; bottom: -55%; }
.wave3 { background: var(--gold); animation-delay: -8s; bottom: -60%; opacity: 0.02; }

@keyframes waveMove {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-40px); }
}

.particles {
    position: absolute; inset: 0;
}
.particle {
    position: absolute; width: 3px; height: 3px;
    background: var(--accent); border-radius: 50%;
    opacity: 0; animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* ========== HERO ========== */
.hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 60px 16px 40px;
    background: var(--bg);
}
.hero-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center;
}

/* Title */
.hero-title {
    line-height: 0.85; margin-bottom: 16px;
    text-align: center;
}
.title-white {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    letter-spacing: 16px;
    color: var(--white);
    text-shadow:
        0 0 20px rgba(255,255,255,0.6),
        0 0 40px rgba(255,255,255,0.3),
        0 0 80px rgba(255,255,255,0.1);
}
.title-wave {
    display: block;
    font-family: 'Yellowtail', cursive;
    font-size: 72px;
    background: linear-gradient(135deg, #4d9fff, #00d4ff, #7b61ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -8px;
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.4));
}

.hero-subtitle {
    font-size: 14px; font-weight: 400;
    color: var(--text); letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-date, .hero-venue {
    font-size: 16px; color: var(--white);
    margin-bottom: 6px; font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}
.hero-venue { margin-bottom: 28px; color: var(--accent); }
.date-icon, .venue-icon { margin-right: 6px; }

/* ========== COUNTDOWN ========== */
.countdown {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
.countdown-item { text-align: center; }
.countdown-number {
    display: block; font-size: 28px;
    font-weight: 800; color: var(--white);
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 10px; padding: 6px 10px; min-width: 52px;
    backdrop-filter: blur(10px);
}
.countdown-label {
    display: block; font-size: 10px; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text); margin-top: 4px;
}
.countdown-sep {
    font-size: 24px; font-weight: 300; color: var(--accent);
    margin-top: -16px;
}

/* ========== CTA BUTTON ========== */
.cta-btn {
    display: inline-flex; align-items: center;
    padding: 16px 40px; border-radius: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--white); font-size: 16px; font-weight: 700;
    text-decoration: none; letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
    animation: fadeInUp 0.8s ease-out 1s both, pulse 2s ease-in-out infinite 2s;
}
.cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0,212,255,0.3); }
    50% { box-shadow: 0 8px 48px rgba(0,212,255,0.5); }
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-family: var(--font); font-weight: 800;
    font-size: 28px;
    text-align: center; margin-bottom: 32px;
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== INFO SECTION ========== */
.info {
    position: relative; z-index: 1;
    padding: 48px 16px; margin: 0 auto;
}
.info-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.info-card {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 14px; padding: 20px 14px;
    text-align: center; backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0; transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--delay);
}
.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0,212,255,0.15);
}
.info-icon { font-size: 36px; margin-bottom: 10px; }
.info-card h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--white);
}
.info-card p { font-size: 12px; color: var(--text); line-height: 1.4; }

/* ========== RSVP SECTION ========== */
.rsvp {
    position: relative; z-index: 1;
    padding: 48px 16px;
}
.rsvp-container {
    margin: 0 auto;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 28px 18px;
    backdrop-filter: blur(20px);
}
.rsvp-subtitle {
    text-align: center; color: var(--text);
    font-size: 14px; margin-bottom: 24px;
}

/* Guest counter */
.guest-counter {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-bottom: 40px;
    padding: 16px 24px; border-radius: 50px;
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(123,97,255,0.1));
    border: 1px solid rgba(0,212,255,0.2);
}
.counter-number {
    font-size: 32px; font-weight: 800; color: var(--accent);
}
.counter-label { font-size: 16px; color: var(--text); }

/* Form */
.rsvp-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px; font-weight: 500; color: var(--text);
    text-transform: uppercase; letter-spacing: 1px;
}
.form-group input, .form-group select {
    padding: 14px 16px; border-radius: 12px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    color: var(--white); font-family: var(--font); font-size: 16px;
    transition: all 0.3s ease; outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
}
.form-group select option { background: var(--bg2); color: var(--white); }

.submit-btn {
    padding: 18px; border: none; border-radius: 14px; cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--white); font-family: var(--font);
    font-size: 18px; font-weight: 700; letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,212,255,0.4);
}
.submit-btn:active { transform: translateY(0); }

/* Success */
.success-msg {
    display: none; text-align: center;
}
.success-msg.show { display: block; animation: fadeInUp 0.5s ease-out; }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-msg h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.success-msg p { color: var(--text); margin-bottom: 8px; }
.success-share { margin-top: 24px; font-weight: 600; color: var(--white) !important; }

.share-buttons {
    display: flex; gap: 12px; justify-content: center; margin-top: 16px;
    flex-wrap: wrap;
}
.share-btn {
    padding: 12px 24px; border-radius: 50px; border: none;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    cursor: pointer; text-decoration: none; color: var(--white);
    transition: all 0.3s ease;
}
.share-btn.whatsapp { background: #25D366; }
.share-btn.whatsapp:hover { background: #1ebe57; transform: translateY(-2px); }
.share-btn.copy-link {
    background: var(--glass); border: 1px solid var(--glass-border);
}
.share-btn.copy-link:hover { border-color: var(--accent); }

/* ========== GUESTLIST ========== */
.guestlist {
    position: relative; z-index: 1;
    padding: 40px 16px 60px; margin: 0 auto;
}
.guestlist-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
}
.guest-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 50px;
    background: var(--glass); border: 1px solid var(--glass-border);
    font-size: 14px; color: var(--text);
    animation: fadeInUp 0.4s ease-out both;
    transition: all 0.3s ease;
}
.guest-chip:hover {
    border-color: var(--accent); color: var(--white);
}
.guest-chip .chip-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
}

/* ========== FOOTER ========== */
.footer {
    position: relative; z-index: 1;
    text-align: center; padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text); font-size: 14px;
}
.footer-small { font-size: 24px; margin-top: 8px; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile-only — no responsive breakpoints needed */
