* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Floating emoji background */
.floating-emojis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-emoji {
    position: absolute;
    top: -50px;
    left: var(--x);
    font-size: 2rem;
    animation: floatDown 8s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.4;
}

@keyframes floatDown {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px 36px;
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: #f093fb;
    letter-spacing: 4px;
}

.title-big {
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 4.5rem;
    color: white;
    letter-spacing: 6px;
    text-shadow: 0 0 40px rgba(240, 147, 251, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(240, 147, 251, 0.3); }
    to { text-shadow: 0 0 60px rgba(240, 147, 251, 0.8), 0 0 100px rgba(245, 87, 108, 0.4); }
}

.tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 36px;
    font-style: italic;
}

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

.detail-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 12px;
    transition: transform 0.3s, background 0.3s;
}

.detail-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.pop-in {
    animation: popIn 0.6s ease-out backwards;
    animation-delay: var(--pop-delay);
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.detail-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f093fb;
    margin-bottom: 4px;
}

.detail-value {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.detail-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 2px;
}

.byob-note {
    background: rgba(245, 87, 108, 0.15);
    border: 1px solid rgba(245, 87, 108, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 36px;
}

.byob-icon {
    margin-right: 6px;
}

.rsvp-section {
    margin-top: 8px;
}

.rsvp-title {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 4px;
}

.rsvp-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.name-input {
    margin-bottom: 20px;
}

.name-input input {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.name-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.name-input input:focus {
    border-color: #f093fb;
    box-shadow: 0 0 20px rgba(240, 147, 251, 0.3);
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 18px 36px;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-yes {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #0a3d2a;
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-emoji {
    font-size: 1.3rem;
}

.confirmation {
    padding: 32px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    animation: popIn 0.5s ease-out;
}

.confirmation.yes {
    background: rgba(67, 233, 123, 0.15);
    border: 1px solid rgba(67, 233, 123, 0.3);
    color: #43e97b;
}

.confirmation.no {
    background: rgba(245, 87, 108, 0.15);
    border: 1px solid rgba(245, 87, 108, 0.3);
    color: #f5576c;
}

.error {
    margin-top: 16px;
    padding: 12px;
    background: rgba(245, 87, 108, 0.15);
    border: 1px solid rgba(245, 87, 108, 0.3);
    border-radius: 10px;
    color: #f5576c;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

.footer-note {
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-style: italic;
}

@media (max-width: 480px) {
    .card {
        padding: 32px 20px;
    }

    .title-big {
        font-size: 3.2rem;
    }

    .title-line {
        font-size: 1.5rem;
    }

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

    .btn {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .rsvp-title {
        font-size: 2rem;
    }
}
