/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8100a1;
    --secondary-color: #f93eff;
    --accent-color: #7200a7;
    --light-purple: #d8a5ff;
    --lighter-purple: #e5c3ff;
    --dark-bg: #1a0a2e;
    --darker-bg: #0f0520;
    --card-bg: #2d1b4e;
    --text-light: #ffffff;
    --text-muted: #c9b3e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(129, 0, 161, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--darker-bg);
    box-shadow: var(--shadow);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.baby-shower-page .navbar {
    background: rgba(15, 5, 32, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 0;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--glow);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Content Section */
.content {
    padding: 4rem 0;
}

.card {
    background: rgba(45, 27, 78, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(129, 0, 161, 0.5);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.card h3 {
    font-size: 2rem;
    color: var(--lighter-purple);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    margin: 0.5rem;
}

/* Baby Shower Specific Styles */
.baby-shower-page {
    background: var(--dark-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

.shower-hero {
    text-align: center;
    padding: 3rem 0;
    background: rgba(26, 10, 46, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.invite-section {
    text-align: center;
    padding: 2rem 0;
}

.invite-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.invite-video {
    max-width: 100%;
    width: 800px;
    height: 450px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.button-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 0;
    background: rgba(26, 10, 46, 0.6);
}

.icon-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn .emoji {
    font-size: 1.5rem;
}

.btn-rsvp {
    background: #e75480;
    color: var(--text-light);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

.btn-rsvp:hover {
    background: #ff69b4;
}

.btn-registry {
    background: #b87ff0;
    color: var(--text-light);
    box-shadow: 0 0 20px rgba(216, 165, 255, 0.5);
}

.btn-registry:hover {
    background: var(--light-purple);
}

.btn-calendar {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: var(--glow);
}

.btn-calendar:hover {
    background: #6b3567;
}

/* Footer */
footer {
    background: var(--darker-bg);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 2px solid var(--primary-color);
}

.baby-shower-page footer {
    background: rgba(15, 5, 32, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .button-section {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .invite-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
