/* ============================================
   Maria Izabel - 15 Anos
   Convite Digital Elegante e Moderno
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Tema Praia / Oceano */
    --color-primary: #5bb8d9;          /* Azul turquesa */
    --color-primary-dark: #2d8fb8;     /* Azul oceano profundo */
    --color-primary-light: #b8e4f0;    /* Azul água clara */
    --color-secondary: #e8dcc8;        /* Areia */
    --color-gold: #f0c75e;             /* Dourado sol */
    --color-gold-light: #f8dc8c;       /* Dourado claro */
    --color-lavender: #d4eef8;         /* Azul céu claro */
    --color-cream: #f0f8fb;            /* Branco azulado */
    --color-white: #ffffff;
    --color-text: #2a4a5a;             /* Azul escuro texto */
    --color-text-light: #5a8090;       /* Azul médio */
    --color-dark: #1a3040;             /* Azul marinho escuro */

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
    font-variant-numeric: lining-nums;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        #87CEEB 0%,
        #5bb8d9 40%,
        #b8e4f0 70%,
        #e8dcc8 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

#preloader .ocean-waves {
    z-index: 1;
}

#preloader .loader {
    z-index: 10;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ============================================
   Splash Screen (Tela de Entrada)
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-cream) 50%, var(--color-lavender) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    padding: 3rem 2rem;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, transparent 80%);
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.splash-convite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.splash-nome {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 5rem);
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.splash-evento {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 0 2px 8px rgba(240, 199, 94, 0.3);
}

.btn-entrar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border: none;
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both, pulse 2s ease-in-out infinite 1.6s;
    box-shadow: 0 6px 20px rgba(45, 143, 184, 0.4);
}

.btn-entrar:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(45, 143, 184, 0.5);
}

.btn-entrar i {
    font-size: 1.3rem;
}

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

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    padding: 10px;
    box-shadow: 0 8px 32px rgba(45, 143, 184, 0.2);
}

.loader-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(45, 143, 184, 0.3);
    border-top-color: var(--color-primary-dark);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loader-inner::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px solid rgba(45, 143, 184, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   Audio Control
   ============================================ */
.audio-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    z-index: 100;
    transition: var(--transition-normal);
}

.audio-btn:hover {
    transform: scale(1.1);
    background: var(--color-primary-light);
}

.audio-btn i {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
}

.audio-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-medium); }
    50% { box-shadow: 0 0 0 15px rgba(91, 184, 217, 0.3); }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-cream) 50%, var(--color-lavender) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-md);
    /* Fundo semi-transparente para legibilidade */
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 50%, transparent 80%);
    border-radius: 50%;
    padding: 4rem;
}

.hero-invite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-age {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.age-number {
    font-family: var(--font-body);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 200;
    color: var(--color-gold);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(240, 199, 94, 0.3);
}

.age-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-primary-dark);
}

.hero-date {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.btn-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-primary-dark);
    color: var(--color-primary-dark);
    text-decoration: none;
    font-family: var(--font-body);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(45, 143, 184, 0.2);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.btn-cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-cta i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-light);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary-dark);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   Countdown Section
   ============================================ */
.countdown-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 200;
    color: var(--color-gold);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.about-decoration .line {
    width: 60px;
    height: 1px;
    background: var(--color-primary);
}

.about-decoration i {
    font-size: 1rem;
    color: var(--color-primary-dark);
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Gallery Section - Masonry Layout
   ============================================ */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

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

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(91, 184, 217, 0) 0%,
        rgba(45, 143, 184, 0.7) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--color-white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Placeholder para fotos */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-lavender), var(--color-secondary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary-dark);
}

.gallery-placeholder i {
    font-size: 2rem;
    opacity: 0.5;
}

.gallery-placeholder span {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 8px;
    }

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

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

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
}

/* ============================================
   Event Info Section
   ============================================ */
.event-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-lavender) 0%, var(--color-cream) 100%);
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.event-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.event-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-card-icon i {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}

.event-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.event-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
}

.event-card-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* ============================================
   RSVP Section
   ============================================ */
.rsvp-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.rsvp-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.rsvp-form {
    margin-top: var(--spacing-md);
    text-align: left;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.form-group label i {
    color: var(--color-primary-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-white);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(91, 184, 217, 0.25);
}

.form-group input::placeholder {
    color: #bbb;
}

.form-group.error input,
.form-group.error select {
    border-color: #e74c3c;
}

.error-message {
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 0.25rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary-dark);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
}

.btn-submit:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit.loading .btn-loading i {
    animation: spin 1s linear infinite;
}

/* Success Message */
.success-message {
    padding: var(--spacing-lg);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--color-white);
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: var(--spacing-sm);
}

.success-message p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #25D366;
    border-radius: 50px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-normal);
}

.btn-share:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ============================================
   Modal de Sucesso
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-cream);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-primary-light);
    transform: rotate(90deg);
}

.modal-close i {
    font-size: 1rem;
    color: var(--color-text);
}

.modal-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.modal-confetti span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: confetti 3s ease-in-out infinite;
}

.modal-confetti span:nth-child(1) { background: var(--color-primary); left: 10%; animation-delay: 0s; }
.modal-confetti span:nth-child(2) { background: var(--color-gold); left: 20%; animation-delay: 0.2s; }
.modal-confetti span:nth-child(3) { background: var(--color-lavender); left: 30%; animation-delay: 0.4s; }
.modal-confetti span:nth-child(4) { background: var(--color-primary-light); left: 50%; animation-delay: 0.1s; }
.modal-confetti span:nth-child(5) { background: var(--color-gold); left: 60%; animation-delay: 0.3s; }
.modal-confetti span:nth-child(6) { background: var(--color-primary); left: 70%; animation-delay: 0.5s; }
.modal-confetti span:nth-child(7) { background: var(--color-lavender); left: 80%; animation-delay: 0.15s; }
.modal-confetti span:nth-child(8) { background: var(--color-gold); left: 90%; animation-delay: 0.35s; }
.modal-confetti span:nth-child(9) { background: var(--color-primary-light); left: 40%; animation-delay: 0.25s; }

@keyframes confetti {
    0% {
        top: -10%;
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        top: 110%;
        transform: rotate(720deg) scale(0);
        opacity: 0;
    }
}

.modal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 0.6s ease;
}

.modal-icon i {
    font-size: 3rem;
    color: var(--color-white);
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.modal-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-subtext {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-subtext strong {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-share-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: #25D366;
    border-radius: 50px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-share-modal:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-fechar {
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    color: var(--color-primary-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-fechar:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-icon {
        width: 80px;
        height: 80px;
    }

    .modal-icon i {
        font-size: 2.5rem;
    }
}

/* ============================================
   Confirmados Section
   ============================================ */
.confirmados-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 50%, var(--color-secondary) 100%);
}

.confirmados-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.confirmados-count {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
    margin-right: 0.25rem;
}

.confirmados-list {
    margin-top: var(--spacing-md);
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.confirmados-table {
    width: 100%;
    border-collapse: collapse;
}

.confirmados-table thead {
    background: var(--color-primary-light);
}

.confirmados-table th {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-dark);
    text-align: left;
}

.confirmados-table td {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.confirmados-table tbody tr:last-child td {
    border-bottom: none;
}

.confirmados-table tbody tr:hover {
    background: rgba(91, 184, 217, 0.08);
}

.confirmados-table .col-num {
    width: 50px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
}

.confirmados-table .col-nome {
    font-weight: 400;
    text-transform: uppercase;
}

.confirmados-table .col-data {
    width: 120px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.confirmados-empty {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--color-text-light);
}

.confirmados-empty i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.confirmados-empty p {
    font-size: 1rem;
    font-style: italic;
}

@media (max-width: 480px) {
    .confirmados-table th,
    .confirmados-table td {
        padding: 0.75rem 0.5rem;
    }

    .confirmados-table .col-data {
        width: 90px;
        font-size: 0.75rem;
    }

    .confirmados-count {
        font-size: 2rem;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-lavender));
    text-align: center;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary-dark);
}

.footer-event {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.footer-date span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.footer-share {
    margin-top: var(--spacing-md);
}

.share-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--color-white);
    border-radius: 50px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-soft);
}

.share-link:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 2rem;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    background: #e74c3c;
}

.toast.success {
    background: #27ae60;
}

.toast.info {
    background: #3498db;
}

/* ============================================
   Utilities
   ============================================ */
.text-center {
    text-align: center;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero-invite {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .countdown-wrapper {
        gap: var(--spacing-sm);
    }

    .countdown-separator {
        display: none;
    }

    .countdown-item {
        min-width: 60px;
    }

    .event-cards {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        display: none;
    }

    .audio-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ============================================
   Lightbox Customization
   ============================================ */
.lb-data .lb-caption {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

/* ============================================
   AOS Customizations
   ============================================ */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ============================================
   Tema Praia - Experiência Imersiva
   ============================================ */

/* ===== SPLASH SCREEN - PRAIA ===== */
.splash-screen {
    background:
        linear-gradient(180deg,
            rgba(135, 206, 235, 0.9) 0%,      /* Céu */
            rgba(91, 184, 217, 0.85) 30%,     /* Horizonte */
            rgba(184, 228, 240, 0.9) 50%,     /* Água clara */
            rgba(194, 178, 128, 0.95) 85%,    /* Areia molhada */
            rgba(232, 220, 200, 1) 100%       /* Areia seca */
        );
    overflow: hidden;
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* ===== HERO SECTION - OCEANO ===== */
.hero-section {
    background:
        linear-gradient(180deg,
            #87CEEB 0%,                        /* Céu azul */
            #5bb8d9 25%,                       /* Horizonte */
            #2d8fb8 40%,                       /* Mar profundo */
            #5bb8d9 55%,                       /* Água média */
            #b8e4f0 70%,                       /* Água rasa */
            #d4c4a8 85%,                       /* Areia molhada */
            #e8dcc8 100%                       /* Areia */
        );
    overflow: hidden;
}

/* Sol brilhando */
.hero-section::before {
    content: '';
    position: absolute;
    top: 5%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle,
        rgba(255, 223, 100, 0.9) 0%,
        rgba(255, 200, 50, 0.6) 30%,
        rgba(255, 180, 50, 0.3) 50%,
        transparent 70%
    );
    border-radius: 50%;
    animation: sunGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sunGlow {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Ondas animadas na parte inferior */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 200%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23b8e4f0' fill-opacity='0.6' d='M0,50 C360,100 720,0 1080,50 C1260,75 1350,75 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 50% 100%;
    animation: waveAnimation 6s linear infinite;
    pointer-events: none;
}

@keyframes waveAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== GOTAS D'ÁGUA / BOLHAS ===== */
.hero-section .hero-content::before,
.hero-section .hero-content::after,
.splash-screen .splash-content::before,
.splash-screen .splash-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.4) 40%,
        rgba(184, 228, 240, 0.3) 100%
    );
    animation: floatBubble 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-section .hero-content::before {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-section .hero-content::after {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.splash-screen .splash-content::before {
    width: 50px;
    height: 50px;
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

.splash-screen .splash-content::after {
    width: 30px;
    height: 30px;
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg) scale(0.95);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-25px) rotate(3deg) scale(1.02);
        opacity: 0.85;
    }
}

/* ===== BOLHAS FLUTUANTES EXTRAS ===== */
.bubbles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(91, 184, 217, 0.3) 100%
    );
    border-radius: 50%;
    animation: rise 10s ease-in infinite;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 25px; height: 25px; left: 20%; animation-duration: 10s; animation-delay: 1s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 35%; animation-duration: 12s; animation-delay: 2s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 50%; animation-duration: 9s; animation-delay: 0.5s; }
.bubble:nth-child(5) { width: 35px; height: 35px; left: 65%; animation-duration: 11s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 20px; height: 20px; left: 75%; animation-duration: 7s; animation-delay: 1.5s; }
.bubble:nth-child(7) { width: 45px; height: 45px; left: 85%; animation-duration: 13s; animation-delay: 2.5s; }
.bubble:nth-child(8) { width: 28px; height: 28px; left: 90%; animation-duration: 8s; animation-delay: 4s; }

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(0.5);
        opacity: 0;
    }
}

/* ===== EFEITO ÁGUA / REFLEXO ===== */
.water-effect {
    position: relative;
    overflow: hidden;
}

.water-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 100%
    );
    animation: waterShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waterShine {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* ===== PINGOS D'ÁGUA ===== */
.water-drops {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.drop {
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(184, 228, 240, 0.7) 100%
    );
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: dropFall 3s ease-in infinite;
    opacity: 0;
}

.drop:nth-child(1) { left: 15%; animation-delay: 0s; }
.drop:nth-child(2) { left: 30%; animation-delay: 0.5s; }
.drop:nth-child(3) { left: 45%; animation-delay: 1s; }
.drop:nth-child(4) { left: 60%; animation-delay: 1.5s; }
.drop:nth-child(5) { left: 75%; animation-delay: 2s; }
.drop:nth-child(6) { left: 85%; animation-delay: 2.5s; }

@keyframes dropFall {
    0% {
        top: -20px;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 0.9;
        transform: scale(1);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: scale(0.8);
    }
}

/* ===== ONDAS DO MAR ===== */
.ocean-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    animation: waveMove 10s linear infinite;
}

.wave:nth-child(1) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(184,228,240,0.4)' d='M0,60 Q360,0 720,60 T1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation-duration: 8s;
    bottom: 10px;
    opacity: 0.8;
}

.wave:nth-child(2) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(91,184,217,0.3)' d='M0,40 Q360,90 720,40 T1440,40 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation-duration: 12s;
    animation-direction: reverse;
    bottom: 5px;
    opacity: 0.6;
}

.wave:nth-child(3) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M0,70 Q360,20 720,70 T1440,70 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation-duration: 6s;
    bottom: 0;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SEÇÕES COM TEMA DE PRAIA ===== */

/* Preloader */
#preloader {
    background: linear-gradient(180deg,
        #87CEEB 0%,
        #5bb8d9 50%,
        #b8e4f0 100%
    );
}

/* Countdown - Espuma do mar */
.countdown-section {
    background: linear-gradient(180deg,
        var(--color-white) 0%,
        rgba(184, 228, 240, 0.3) 50%,
        var(--color-white) 100%
    );
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        rgba(91, 184, 217, 0.5),
        rgba(255, 255, 255, 0.8),
        rgba(91, 184, 217, 0.5),
        transparent
    );
}

/* About - Areia e conchas */
.about-section {
    background:
        linear-gradient(180deg,
            var(--color-white) 0%,
            var(--color-cream) 30%,
            #e8dcc8 70%,
            #d4c4a8 100%
        );
    position: relative;
}

/* Gallery - Água cristalina */
.gallery-section {
    background: linear-gradient(180deg,
        var(--color-white) 0%,
        rgba(184, 228, 240, 0.2) 50%,
        var(--color-white) 100%
    );
}

/* Event - Céu e mar */
.event-section {
    background: linear-gradient(180deg,
        #e0f4fa 0%,
        #b8e4f0 30%,
        #87CEEB 60%,
        #5bb8d9 100%
    );
    position: relative;
}

.event-section .section-title,
.event-section .section-subtitle {
    color: var(--color-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.event-section .section-subtitle {
    color: var(--color-text);
}

/* Confirmados - Areia da praia */
.confirmados-section {
    background: linear-gradient(180deg,
        var(--color-white) 0%,
        var(--color-cream) 30%,
        #e8dcc8 60%,
        #d4c4a8 100%
    );
}

/* RSVP - Água rasa */
.rsvp-section {
    background: linear-gradient(180deg,
        var(--color-white) 0%,
        rgba(184, 228, 240, 0.3) 50%,
        rgba(212, 196, 168, 0.3) 100%
    );
}

/* Footer - Pôr do sol na praia */
.footer {
    background: linear-gradient(180deg,
        #d4c4a8 0%,
        #e8b873 30%,
        #f0a050 60%,
        #e88040 80%,
        #d06030 100%
    );
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 200, 100, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 20%, rgba(255, 150, 50, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.footer-name,
.footer-event,
.footer-date span {
    color: var(--color-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.footer-date span {
    color: var(--color-text);
}

/* ===== CARDS E ELEMENTOS ===== */

/* Event cards com efeito de vidro */
.event-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(45, 143, 184, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 16px 48px rgba(45, 143, 184, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Botões com efeito de água */
.btn-entrar,
.btn-submit,
.btn-cta {
    position: relative;
    overflow: hidden;
}

.btn-entrar::before,
.btn-submit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.btn-entrar:hover::before,
.btn-submit:hover::before {
    transform: scale(1);
}

/* ===== CONFETTI TEMA PRAIA ===== */
.modal-confetti span:nth-child(1) { background: #5bb8d9; }
.modal-confetti span:nth-child(2) { background: #f0c75e; }
.modal-confetti span:nth-child(3) { background: #b8e4f0; }
.modal-confetti span:nth-child(4) { background: #e8dcc8; }
.modal-confetti span:nth-child(5) { background: #87CEEB; }
.modal-confetti span:nth-child(6) { background: #2d8fb8; }
.modal-confetti span:nth-child(7) { background: #f8dc8c; }
.modal-confetti span:nth-child(8) { background: #5bb8d9; }
.modal-confetti span:nth-child(9) { background: #d4c4a8; }

/* ===== TEXTURA DE AREIA ===== */
.sand-texture {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(194, 178, 128, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(210, 190, 140, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(180, 160, 120, 0.2) 0%, transparent 30%);
}

/* ===== BRILHO NA ÁGUA ===== */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section::before {
        width: 80px;
        height: 80px;
        right: 10%;
    }

    .bubble:nth-child(n+5) {
        display: none;
    }

    .drop:nth-child(n+4) {
        display: none;
    }

    .fish:nth-child(n+4) {
        display: none;
    }
}

/* ============================================
   Peixes Nadando
   ============================================ */
.fish-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.fish {
    position: absolute;
    font-size: 2rem;
    animation: swimRight 15s linear infinite;
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Peixes nadando para a direita */
.fish.right {
    animation: swimRight 15s linear infinite;
}

/* Peixes nadando para a esquerda */
.fish.left {
    animation: swimLeft 15s linear infinite;
    transform: scaleX(-1);
}

/* Diferentes peixes com posições e velocidades variadas */
.fish:nth-child(1) {
    top: 35%;
    left: -50px;
    font-size: 1.8rem;
    animation-duration: 18s;
    animation-delay: 0s;
    color: #4a90d9;
}

.fish:nth-child(2) {
    top: 45%;
    left: -50px;
    font-size: 1.5rem;
    animation-duration: 22s;
    animation-delay: 3s;
    color: #f0a050;
}

.fish:nth-child(3) {
    top: 55%;
    left: -50px;
    font-size: 2rem;
    animation-duration: 16s;
    animation-delay: 6s;
    color: #5bb8d9;
}

.fish:nth-child(4) {
    top: 40%;
    right: -50px;
    left: auto;
    font-size: 1.6rem;
    animation: swimLeft 20s linear infinite;
    animation-delay: 2s;
    color: #ff9966;
}

.fish:nth-child(5) {
    top: 50%;
    right: -50px;
    left: auto;
    font-size: 1.4rem;
    animation: swimLeft 25s linear infinite;
    animation-delay: 8s;
    color: #66ccff;
}

.fish:nth-child(6) {
    top: 60%;
    left: -50px;
    font-size: 2.2rem;
    animation-duration: 20s;
    animation-delay: 10s;
    color: #ffd700;
}

/* Cardume pequeno */
.fish-school {
    position: absolute;
    top: 48%;
    animation: swimRight 25s linear infinite;
    animation-delay: 5s;
}

.fish-school .fish {
    position: relative;
    display: inline-block;
    font-size: 1rem;
    animation: none;
    margin: 0 -5px;
    color: #87CEEB;
}

.fish-school .fish:nth-child(2) { transform: translateY(-5px); }
.fish-school .fish:nth-child(3) { transform: translateY(3px); }
.fish-school .fish:nth-child(4) { transform: translateY(-2px); }
.fish-school .fish:nth-child(5) { transform: translateY(5px); }

@keyframes swimRight {
    0% {
        transform: translateX(-100px) translateY(0) scaleX(1);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    25% {
        transform: translateX(25vw) translateY(-15px) scaleX(1);
    }
    50% {
        transform: translateX(50vw) translateY(10px) scaleX(1);
    }
    75% {
        transform: translateX(75vw) translateY(-10px) scaleX(1);
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(5px) scaleX(1);
        opacity: 0;
    }
}

@keyframes swimLeft {
    0% {
        transform: translateX(100px) translateY(0) scaleX(-1);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    25% {
        transform: translateX(-25vw) translateY(10px) scaleX(-1);
    }
    50% {
        transform: translateX(-50vw) translateY(-15px) scaleX(-1);
    }
    75% {
        transform: translateX(-75vw) translateY(8px) scaleX(-1);
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(-100vw - 100px)) translateY(-5px) scaleX(-1);
        opacity: 0;
    }
}

/* Movimento suave de subida/descida */
.fish:hover {
    animation-play-state: paused;
}

/* Brilho nos peixes */
.fish::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
}
