/* ============================================================
   CASAMENTO - CSS PRINCIPAL
   Mobile-first, elegante, sofisticado
   ============================================================ */

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

:root {
    --primary: #b08968;
    --secondary: #ddb892;
    --accent: #7f5539;
    --text: #3d2c2c;
    --bg: #fefae0;
    --bg-dark: #2c1810;
    --white: #fffdf7;
    --gold: #c9a84c;
    --gold-light: #e8d5a3;
    --shadow: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ============================================================
   TELA DE ACESSO
   ============================================================ */
.access-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0f0a 0%, #2c1810 30%, #3d2218 60%, #1a0f0a 100%);
    overflow: hidden;
}

.access-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

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

.access-content {
    text-align: center;
    padding: 40px 30px;
    max-width: 420px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.access-ornament {
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0.6;
    letter-spacing: 10px;
}

.top-ornament { margin-bottom: 20px; }
.bottom-ornament { margin-top: 30px; }

.access-icon {
    margin: 0 auto 25px;
    width: 80px;
    height: 80px;
    color: var(--gold);
}

.envelope-svg {
    width: 100%;
    height: 100%;
}

.envelope-body, .envelope-flap {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawEnvelope 2s ease forwards;
}

.envelope-flap {
    animation-delay: 0.5s;
}

@keyframes drawEnvelope {
    to { stroke-dashoffset: 0; }
}

.access-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 10px;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 1s 0.5s ease forwards;
}

.access-subtitle {
    font-size: 1.1rem;
    color: rgba(255,253,247,0.6);
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s 0.8s ease forwards;
}

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

.access-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 1s 1s ease forwards;
}

.access-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius-sm);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.access-input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 20px rgba(201,168,76,0.15);
}

.access-input::placeholder {
    color: rgba(255,253,247,0.3);
    letter-spacing: 2px;
    text-transform: none;
}

.access-btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.access-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.access-btn:hover::before {
    left: 100%;
}

.access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.access-btn .btn-loader { display: none; }
.access-btn.loading .btn-text { display: none; }
.access-btn.loading .btn-loader { display: inline-block; }

.access-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 12px;
    min-height: 20px;
}

/* ============================================================
   HERO - PORTA DE MADEIRA
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-door-container {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    pointer-events: none;
}

.hero-door {
    width: 50%;
    height: 100%;
    position: relative;
    background: linear-gradient(180deg, #5c3a1e 0%, #4a2e14 30%, #3d250f 60%, #2e1a08 100%);
    transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: inset 0 0 60px rgba(0,0,0,0.5);
}

.hero-door.open.left-door {
    transform: perspective(1200px) rotateY(-105deg);
    transform-origin: left center;
}

.hero-door.open.right-door {
    transform: perspective(1200px) rotateY(105deg);
    transform-origin: right center;
}

.door-texture {
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(0,0,0,0.1) 80px, rgba(0,0,0,0.1) 82px),
        repeating-linear-gradient(90deg, transparent, transparent 200px, rgba(0,0,0,0.05) 200px, rgba(0,0,0,0.05) 202px);
    opacity: 0.5;
}

.door-texture::after {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 2px;
}

.door-handle {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 50px;
    background: linear-gradient(180deg, #d4a84b, #a07830, #d4a84b);
    border-radius: 4px;
    transform: translateY(-50%);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.left-handle { right: 25px; }
.right-handle { left: 25px; }

.door-handle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #d4a84b;
    border-radius: 50%;
}

.hero-behind-doors {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.hero-photo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2c1810, #1a0f0a);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26,15,10,0.6) 0%,
        rgba(26,15,10,0.5) 25%,
        rgba(26,15,10,0.7) 50%,
        rgba(26,15,10,0.95) 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 25px 60px;
    text-align: center;
    color: var(--white);
    z-index: 6;
}

.hero-ornament-top {
    margin-bottom: 15px;
    color: var(--gold);
    opacity: 0.6;
}

.ornament-svg {
    width: 120px;
    height: 20px;
}

.hero-welcome {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    opacity: 0;
}

.hero-names {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    opacity: 0;
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0;
}

.divider-line {
    width: 50px;
    height: 1px;
    background: var(--gold);
}

.divider-icon {
    color: var(--gold);
    font-size: 1.2rem;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
}

.hero-tagline {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255,253,247,0.85);
    margin-bottom: 20px;
    opacity: 0;
    line-height: 1.5;
}

.hero-date-badge {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0;
}

.hero-scroll-indicator {
    margin-top: 30px;
    opacity: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,253,247,0.5);
}

.scroll-arrow {
    margin-top: 8px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================================
   SECTIONS GERAIS
   ============================================================ */
.section {
    padding: 80px 0;
    position: relative;
}

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

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
}

.section-header.light .section-tag {
    color: var(--gold-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255,253,247,0.7);
    margin-top: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
    background: var(--bg);
    padding: 60px 0;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    padding: 0 16px;
}

.countdown-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 4px;
    min-width: 0;
    flex: 1;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(176,137,104,0.1);
    overflow: hidden;
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.countdown-separator {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0.4;
    padding: 0;
    flex-shrink: 0;
    margin-top: -10px;
}

/* ============================================================
   NOSSA HISTÓRIA
   ============================================================ */
.story-section {
    background: var(--white);
    overflow: hidden;
}

.story-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

.story-photo-frame {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.story-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.story-card:hover .story-photo {
    transform: scale(1.05);
}

.story-text-wrapper {
    padding: 30px 25px;
    position: relative;
}

.story-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
}

.story-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.story-signature {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary);
}

/* Timeline */
.story-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary), var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
    background: var(--bg);
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
}

.timeline-content p {
    font-size: 1rem;
    margin-top: 5px;
    color: var(--text);
    line-height: 1.6;
}

/* ============================================================
   LOCAL DO EVENTO
   ============================================================ */
.venue-section {
    background: linear-gradient(135deg, #2c1810, #1a0f0a);
    color: var(--white);
}

.venue-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
    padding: 40px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.venue-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.venue-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
}

.venue-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--gold-light);
}

.venue-address {
    font-size: 1.05rem;
    color: rgba(255,253,247,0.7);
    margin-bottom: 20px;
}

.venue-date-time {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.venue-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--gold-light);
}

.venue-info-item i {
    color: var(--gold);
}

.venue-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: var(--white);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-bottom: 25px;
}

.venue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.venue-map {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   DRESS CODE
   ============================================================ */
.dresscode-section {
    background: var(--bg);
}

.dresscode-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dresscode-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(176,137,104,0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.dresscode-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.dresscode-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
}

.surprise-icon {
    background: linear-gradient(135deg, #4fc3f7, #0288d1) !important;
}

.dresscode-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.dresscode-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

.surprise-dress {
    border: 2px dashed rgba(79,195,247,0.3);
    background: linear-gradient(135deg, rgba(79,195,247,0.03), rgba(2,136,209,0.03));
}

.surprise-dress h3 {
    color: #0277bd;
}

/* ============================================================
   LISTA DE PRESENTES
   ============================================================ */
.gifts-section {
    background: linear-gradient(135deg, #2c1810, #1a0f0a);
    color: var(--white);
}

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

.gift-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: giftAppear 0.6s ease forwards;
}

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

.gift-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(201,168,76,0.15);
}

.gift-card.chosen {
    opacity: 0.5;
    pointer-events: none;
}

.gift-card.chosen::after {
    content: 'Já escolhido ✓';
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--gold);
    font-style: italic;
}

.gift-card.has-photo {
    padding: 0;
    overflow: hidden;
}

.gift-photo {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.gift-card.has-photo .gift-card-body {
    padding: 18px 20px 22px;
}

.gift-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gift-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--gold);
}

.gift-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.gift-description {
    font-size: 0.95rem;
    color: rgba(255,253,247,0.6);
    margin-bottom: 12px;
    line-height: 1.5;
}

.gift-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.gift-btn {
    margin-top: auto;
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: var(--white);
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.gift-btn:hover {
    box-shadow: 0 5px 20px rgba(201,168,76,0.3);
    transform: translateY(-2px);
}

/* PIX */
.pix-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.pix-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pix-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.pix-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.pix-card p {
    color: rgba(255,253,247,0.7);
    margin-bottom: 15px;
}

.pix-key {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 15px;
    word-break: break-all;
}

.pix-copy-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.pix-copy-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* ============================================================
   RSVP - CONFIRMAÇÃO
   ============================================================ */
.rsvp-section {
    background: var(--white);
    padding-bottom: 100px;
}

.rsvp-deadline-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.rsvp-deadline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(176,137,104,0.1), rgba(221,184,146,0.1));
    border: 1px solid rgba(176,137,104,0.2);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.rsvp-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rsvp-timer-item {
    background: var(--bg);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 55px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.rsvp-timer-item span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.rsvp-timer-item small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}

.rsvp-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.rsvp-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-guest-info {
    text-align: center;
    margin-bottom: 25px;
}

.rsvp-guest-info p {
    font-size: 1.2rem;
    color: var(--text);
}

.rsvp-guest-info strong {
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

.rsvp-companions-info {
    font-size: 0.95rem !important;
    color: var(--primary) !important;
    margin-top: 5px;
}

.rsvp-field {
    margin-bottom: 20px;
}

.rsvp-field label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.rsvp-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid rgba(176,137,104,0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    resize: vertical;
    min-height: 70px;
    outline: none;
    transition: var(--transition);
}

.rsvp-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(176,137,104,0.1);
}

.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.rsvp-btn {
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rsvp-btn-yes {
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: var(--white);
}

.rsvp-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.rsvp-btn-no {
    background: transparent;
    border: 1px solid rgba(176,137,104,0.3);
    color: var(--text);
}

.rsvp-btn-no:hover {
    background: rgba(176,137,104,0.05);
}

.rsvp-confirmed-badge {
    text-align: center;
    padding: 20px;
}

.rsvp-confirmed-badge i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 10px;
    display: block;
}

.rsvp-confirmed-badge p {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.footer-hearts {
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 10px;
    margin-bottom: 15px;
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255,253,247,0.5);
    font-style: italic;
}

/* ============================================================
   MODAL DE CONFIRMAÇÃO
   ============================================================ */
.confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,15,10,0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.confirmation-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 400px;
    width: 100%;
    padding: 40px 25px;
    animation: modalAppear 0.8s ease;
}

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

.confirmation-fireworks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.firework:nth-child(1) {
    top: 10%;
    left: 20%;
    box-shadow: 0 0 20px 5px var(--gold);
    animation: fireworkPulse 2s infinite 0s;
}

.firework:nth-child(2) {
    top: 5%;
    right: 15%;
    box-shadow: 0 0 20px 5px #ff6b6b;
    animation: fireworkPulse 2s infinite 0.7s;
}

.firework:nth-child(3) {
    bottom: 20%;
    left: 50%;
    box-shadow: 0 0 20px 5px #4fc3f7;
    animation: fireworkPulse 2s infinite 1.4s;
}

@keyframes fireworkPulse {
    0%, 100% { transform: scale(0); opacity: 0; }
    50% { transform: scale(3); opacity: 1; }
    80% { transform: scale(1); opacity: 0.5; }
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    color: #4caf50;
}

.check-svg {
    width: 100%;
    height: 100%;
}

.check-circle {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawCircle 1s 0.3s ease forwards;
}

.check-mark {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.5s 1s ease forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.confirmation-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s 0.5s ease both;
}

.confirmation-text {
    font-size: 1.1rem;
    color: rgba(255,253,247,0.8);
    line-height: 1.7;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s 0.8s ease both;
}

.confirmation-hearts {
    font-size: 1.5rem;
    letter-spacing: 10px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s 1s ease both;
}

.confirmation-hearts span {
    display: inline-block;
    animation: heartFloat 2s infinite;
}

.confirmation-hearts span:nth-child(2) { animation-delay: 0.2s; }
.confirmation-hearts span:nth-child(3) { animation-delay: 0.4s; }
.confirmation-hearts span:nth-child(4) { animation-delay: 0.6s; }
.confirmation-hearts span:nth-child(5) { animation-delay: 0.8s; }

@keyframes heartFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.confirmation-close-btn {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: var(--white);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    animation: fadeInUp 0.8s 1.2s ease both;
}

.confirmation-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

/* ============================================================
   NAVEGAÇÃO FLUTUANTE
   ============================================================ */
.floating-nav {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(176,137,104,0.3);
    border: 2px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

.nav-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.nav-dot span {
    display: none;
}

/* ============================================================
   RESPONSIVO - TABLET
   ============================================================ */
@media (min-width: 600px) {
    .gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-grid {
        gap: 8px;
        padding: 0;
    }

    .countdown-item {
        padding: 22px 16px;
        max-width: 110px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .countdown-separator {
        font-size: 1.6rem;
    }
    
    .hero-names {
        font-size: 4rem;
    }
    
    .dresscode-cards {
        flex-direction: row;
    }
    
    .dresscode-card {
        flex: 1;
    }
    
    .rsvp-buttons {
        flex-direction: row;
    }
    
    .rsvp-btn {
        flex: 1;
    }
    
    .story-photo-frame {
        height: 350px;
    }
}

/* ============================================================
   RESPONSIVO - DESKTOP
   ============================================================ */
@media (min-width: 900px) {
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-names {
        font-size: 5rem;
    }
    
    .hero-welcome {
        font-size: 1.1rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .gifts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .story-card {
        display: flex;
        align-items: stretch;
    }
    
    .story-photo-frame {
        width: 40%;
        min-width: 40%;
        height: auto;
    }
    
    .story-text-wrapper {
        padding: 40px 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .countdown-grid {
        gap: 12px;
    }

    .countdown-item {
        max-width: 130px;
        padding: 30px 25px;
    }
    
    .countdown-number {
        font-size: 3.5rem;
    }

    .countdown-separator {
        font-size: 2rem;
    }
    
    .venue-map {
        height: 300px;
    }
    
    .floating-nav {
        right: 20px;
    }
}

/* ============================================================
   ANIMAÇÕES UTILITÁRIAS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Selection */
::selection {
    background: var(--secondary);
    color: var(--accent);
}

/* ============================================================
   PLAYER DE MÚSICA
   ============================================================ */
.music-player {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 0;
}

.music-toggle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.2);
    background: rgba(26,15,10,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.music-toggle:hover {
    background: rgba(26,15,10,0.85);
    transform: scale(1.08);
    border-color: rgba(201,168,76,0.4);
}

.music-icon-play {
    color: var(--gold);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-icon-bars {
    display: none;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.music-player.playing .music-icon-play { display: none; }
.music-player.playing .music-icon-bars { display: flex; }

.music-icon-bars span {
    display: block;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.music-icon-bars span:nth-child(1) { height: 6px; }
.music-icon-bars span:nth-child(2) { height: 10px; }
.music-icon-bars span:nth-child(3) { height: 4px; }

.music-player.playing .music-icon-bars span:nth-child(1) {
    animation: musicBar1 0.6s ease-in-out infinite alternate;
}
.music-player.playing .music-icon-bars span:nth-child(2) {
    animation: musicBar2 0.5s ease-in-out infinite alternate;
}
.music-player.playing .music-icon-bars span:nth-child(3) {
    animation: musicBar3 0.7s ease-in-out infinite alternate;
}

@keyframes musicBar1 {
    0% { height: 4px; }
    100% { height: 14px; }
}
@keyframes musicBar2 {
    0% { height: 12px; }
    100% { height: 5px; }
}
@keyframes musicBar3 {
    0% { height: 6px; }
    100% { height: 16px; }
}

/* Volume slider */
.music-volume-wrap {
    overflow: hidden;
    width: 0;
    opacity: 0;
    transition: width 0.35s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    background: rgba(26,15,10,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 23px 23px 0;
    margin-left: -8px;
    padding-left: 0;
    height: 38px;
    border: 1px solid rgba(201,168,76,0.2);
    border-left: none;
}

.music-player:hover .music-volume-wrap,
.music-player.volume-open .music-volume-wrap {
    width: 110px;
    opacity: 1;
    padding-left: 14px;
    padding-right: 12px;
}

.music-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.music-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 0 6px rgba(201,168,76,0.4);
    transition: transform 0.2s;
}

.music-volume::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.music-volume::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 6px rgba(201,168,76,0.4);
}

/* ============================================================
   MODAL DE PRESENTE
   ============================================================ */
.gift-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gift-modal.active {
    display: flex;
}

.gift-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,5,2,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gift-modal.active .gift-modal-backdrop {
    opacity: 1;
}

.gift-modal-container {
    position: relative;
    width: 92%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    opacity: 0;
    transform: scale(0.85) translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.gift-modal.active .gift-modal-container {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.gift-modal-step {
    background: linear-gradient(170deg, #fefcf7 0%, #faf5eb 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,76,0.15);
    position: relative;
}

.gift-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(61,44,44,0.08);
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
    line-height: 1;
}

.gift-modal-close:hover {
    background: rgba(61,44,44,0.15);
    transform: rotate(90deg);
}

.gift-modal-ribbon {
    background: linear-gradient(135deg, var(--gold), #d4a843);
    padding: 20px 0 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-modal-ribbon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

.gift-modal-ribbon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: giftRibbonPulse 2s ease-in-out infinite;
}

@keyframes giftRibbonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(-5deg); }
}

.gift-modal-body {
    padding: 28px 28px 32px;
}

.gift-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #2c1810;
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: giftFadeUp 0.5s 0.2s ease forwards;
}

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

.gift-modal-product {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(201,168,76,0.2);
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    overflow: hidden;
    opacity: 0;
    animation: giftFadeUp 0.5s 0.3s ease forwards;
}

.gift-modal-product-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.gift-modal-product-details {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gift-modal-item-icon {
    font-size: 2rem;
    flex-shrink: 0;
    padding: 20px;
    text-align: center;
}

.gift-modal-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c1810;
    flex: 1;
}

.gift-modal-item-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #8a6d3b;
    white-space: nowrap;
}

.gift-modal-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(201,168,76,0.1);
    border: 1px dashed rgba(201,168,76,0.4);
    border-radius: 12px;
    color: #7a5c2e;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.25s ease;
    opacity: 0;
    animation: giftFadeUp 0.5s 0.35s ease forwards;
}

.gift-modal-link:hover {
    background: rgba(201,168,76,0.15);
    border-color: var(--gold);
    transform: translateY(-1px);
}

.gift-modal-link i {
    font-size: 0.78rem;
}

.gift-modal-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.gift-modal-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    opacity: 0;
    animation: giftFadeUp 0.5s ease forwards;
}

.gift-modal-info-item:nth-child(1) { animation-delay: 0.4s; }
.gift-modal-info-item:nth-child(2) { animation-delay: 0.5s; }
.gift-modal-info-item:nth-child(3) { animation-delay: 0.6s; }

.gift-modal-info-item i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(201,168,76,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 2px;
}

.gift-modal-info-item.highlight i {
    background: rgba(201,168,76,0.2);
    color: var(--primary);
}

.gift-modal-info-item p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #3d2c2c;
    margin: 0;
}

.gift-modal-info-item p strong {
    color: #1a0f0a;
    font-weight: 700;
}

.gift-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    animation: giftFadeUp 0.5s 0.7s ease forwards;
}

.gift-modal-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.gift-modal-btn-confirm {
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: white;
    box-shadow: 0 6px 25px rgba(201,168,76,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gift-modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(201,168,76,0.45);
}

.gift-modal-btn-confirm:active {
    transform: translateY(0);
}

.gift-modal-btn-confirm.loading {
    pointer-events: none;
    opacity: 0.7;
}

.gift-modal-btn-cancel {
    background: transparent;
    color: #8a7a6a;
    font-weight: 500;
}

.gift-modal-btn-cancel:hover {
    background: rgba(0,0,0,0.04);
}

/* Sucesso */
.gift-success-body {
    text-align: center;
    padding: 50px 28px 40px;
    position: relative;
    overflow: hidden;
}

.gift-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    color: var(--gold);
}

.gift-check-svg {
    width: 100%;
    height: 100%;
}

.gift-check-circle {
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: giftCircleDraw 0.8s 0.2s ease forwards;
}

@keyframes giftCircleDraw {
    to { stroke-dashoffset: 0; }
}

.gift-check-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: giftCheckDraw 0.5s 0.8s ease forwards;
}

@keyframes giftCheckDraw {
    to { stroke-dashoffset: 0; }
}

.gift-success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0;
    animation: giftFadeUp 0.5s 1s ease forwards;
}

.gift-success-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6a5a4a;
    margin-bottom: 24px;
    opacity: 0;
    animation: giftFadeUp 0.5s 1.15s ease forwards;
}

.gift-success-sparkles {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.gift-success-sparkles span {
    opacity: 0;
    animation: giftSparkle 0.4s ease forwards;
}

.gift-success-sparkles span:nth-child(1) { animation-delay: 1.3s; }
.gift-success-sparkles span:nth-child(2) { animation-delay: 1.4s; }
.gift-success-sparkles span:nth-child(3) { animation-delay: 1.5s; }
.gift-success-sparkles span:nth-child(4) { animation-delay: 1.6s; }
.gift-success-sparkles span:nth-child(5) { animation-delay: 1.7s; }

@keyframes giftSparkle {
    0% { opacity: 0; transform: scale(0) rotate(-20deg); }
    60% { transform: scale(1.3) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

.gift-modal-btn-done {
    background: linear-gradient(135deg, var(--gold), var(--primary));
    color: white;
    box-shadow: 0 6px 25px rgba(201,168,76,0.3);
    opacity: 0;
    animation: giftFadeUp 0.5s 1.8s ease forwards;
}

.gift-modal-btn-done:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(201,168,76,0.45);
}

/* Partículas de sucesso */
.gift-success-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.gift-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0;
    animation: giftParticleFloat 2.5s ease-out forwards;
}

@keyframes giftParticleFloat {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

/* Closing animation */
.gift-modal.closing .gift-modal-backdrop {
    opacity: 0;
}

.gift-modal.closing .gift-modal-container {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
}
