/* ===========================
   PREMIUM INVITATION CSS
   Modern & Highly Interactive
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&family=Great+Vibes&display=swap');

*,
*::before,

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

:root {
    --primary: #c9a96e;
    --primary-dk: #a07840;
    --dark: #0a0a0a;
    --dark2: #111111;
    --dark3: #1a1a1a;
    --card: rgba(255, 255, 255, 0.04);
    --border: rgba(201, 169, 110, 0.25);
    --text: #f0ece4;
    --muted: rgba(240, 236, 228, 0.55);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --script: 'Great Vibes', cursive;
    --sans: 'Jost', sans-serif;
    --radius: 16px;
    --gold-grad: linear-gradient(135deg, #c9a96e, #f0d090, #c9a96e);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.7;
}

/* =====================
   LOADING / INTRO SCREEN
   ===================== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

.loading-flowers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.loading-flowers::before,
.loading-flowers::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}

.loading-flowers::before {
    top: -100px;
    left: -100px;
}

.loading-flowers::after {
    bottom: -100px;
    right: -100px;
    animation-delay: 1.5s;
}

.loading-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.loading-to {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.loading-names {
    font-family: var(--script);
    font-size: clamp(3rem, 10vw, 5.5rem);
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.loading-amp {
    display: block;
    font-family: var(--script);
    font-size: 0.5em;
    color: var(--primary);
}

.loading-date {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.loading-divider {
    width: 60px;
    height: 1px;
    background: var(--gold-grad);
    margin: 1.5rem auto;
}

.loading-tap {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    width: 160px;
    height: 1px;
    background: rgba(201, 169, 110, 0.2);
    margin: 1.5rem auto 0;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0;
    background: var(--gold-grad);
    transition: width 0.08s linear;
}

/* =====================
   INVITATION CONTENT
   ===================== */
#invitation-content {
    display: none;
}

/* =====================
   HERO / COVER
   ===================== */
.inv-cover {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.inv-cover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: slowZoom 25s ease-in-out infinite alternate;
    will-change: transform;
}

.inv-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            rgba(10, 10, 10, 0.85) 100%);
}

/* Particle canvas */
#particles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.inv-cover-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
}

.inv-cover-label {
    font-size: 0.72rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease 0.3s both;
}

.inv-opening {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.9;
    animation: fadeInUp 1s ease 0.5s both;
}

.inv-couple-names {
    font-family: var(--script);
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.7s both;
}

.inv-ampersand {
    display: block;
    font-family: var(--script);
    font-size: 0.55em;
    color: var(--primary);
    line-height: 1.2;
}

.inv-date {
    font-size: 0.82rem;
    letter-spacing: 0.35em;
    color: var(--muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.9s both;
}

.inv-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    animation: bounce 2s ease-in-out infinite;
}

.inv-scroll-hint i {
    font-size: 1rem;
}

/* =====================
   SECTIONS BASE
   ===================== */
.inv-section {
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.inv-container {
    max-width: 820px;
    margin: 0 auto;
}

.inv-section-label {
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.75rem;
}

.inv-section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.inv-section-title em {
    font-style: italic;
    color: var(--primary);
}

.inv-section-desc {
    text-align: center;
    color: var(--muted);
    margin-bottom: 3rem;
    font-size: 0.9rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.inv-gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold-grad);
    margin: 1.25rem auto;
}

/* =====================
   QUOTE SECTION
   ===================== */
.inv-quote-section {
    background: var(--dark2);
}

.inv-quote {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    position: relative;
}

.inv-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-family: var(--serif);
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.inv-quote p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--muted);
}

.inv-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-style: normal;
}

/* =====================
   COUPLE SECTION
   ===================== */
.inv-couple-section {
    background: var(--dark);
}

.inv-couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.inv-person-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    margin: 0 auto 1.25rem;
    display: block;
    box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.inv-person-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(201, 169, 110, 0.15);
}

.inv-person-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 1.25rem;
}

.inv-person-name {
    font-family: var(--script);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.inv-person-parents {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

.inv-person-ig {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.inv-person-ig:hover {
    opacity: 0.7;
}

.inv-couple-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.inv-heart {
    font-size: 2rem;
    animation: pulse 2.5s ease-in-out infinite;
}

/* =====================
   EVENT SECTION
   ===================== */
.inv-event-section {
    background: var(--dark2);
}

.inv-event-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.inv-event-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.inv-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-grad);
}

.inv-event-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.inv-event-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.inv-event-date,
.inv-event-time,
.inv-event-location {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    text-align: left;
}

.inv-event-date i,
.inv-event-time i,
.inv-event-location i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.inv-event-location p {
    margin: 0;
    line-height: 1.6;
}

/* Countdown */
.inv-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
}

.countdown-val {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1;
    min-width: 70px;
    display: block;
}

.countdown-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.25rem;
}

.countdown-sep {
    font-family: var(--serif);
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.4;
    padding-bottom: 1.5rem;
}

/* Maps button */
.inv-maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    margin-top: 1.25rem;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.05em;
}

.inv-maps-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

/* =====================
   GALLERY
   ===================== */
.inv-gallery-section {
    background: var(--dark);
}

.inv-gallery-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .inv-gallery-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

.inv-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--dark3);
    transition: transform 0.3s ease;
}

.inv-gallery-item:hover {
    transform: scale(1.02);
}

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

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

.inv-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 92vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 92vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(201, 169, 110, 0.15);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(201, 169, 110, 0.3);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201, 169, 110, 0.15);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(201, 169, 110, 0.3);
}

/* =====================
   RSVP SECTION
   ===================== */
.inv-rsvp-section {
    background: var(--dark2);
}

.inv-form {
    max-width: 480px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
}

.inv-form-group {
    margin-bottom: 1.25rem;
}

.inv-form-group label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.inv-form-group input,
.inv-form-group textarea,
.inv-form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    outline: none;
}

.inv-form-group input:focus,
.inv-form-group textarea:focus,
.inv-form-group select:focus {
    border-color: var(--primary);
}

.inv-form-group select option {
    background: var(--dark2);
}

.inv-radio-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inv-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 0.85rem;
    flex: 1;
    justify-content: center;
}

.inv-radio:has(input:checked) {
    border-color: var(--primary);
    background: rgba(201, 169, 110, 0.12);
    color: var(--primary);
}

.inv-radio input {
    display: none;
}

.inv-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    margin-top: 0.5rem;
}

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

.inv-alert {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    text-align: center;
}

.inv-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
}

/* =====================
   WISHES SECTION
   ===================== */
.inv-wishes-section {
    background: var(--dark);
}

.inv-wishes-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.inv-wishes-list::-webkit-scrollbar {
    width: 3px;
}

.inv-wishes-list::-webkit-scrollbar-track {
    background: transparent;
}

.inv-wishes-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.inv-wish-item {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.4s ease;
}

.inv-wish-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    flex-shrink: 0;
}

.inv-wish-body {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.875rem 1rem;
    flex: 1;
}

.inv-wish-name {
    font-weight: 500;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.inv-wish-msg {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.inv-wish-time {
    font-size: 0.72rem;
    color: rgba(240, 236, 228, 0.3);
    margin-top: 0.4rem;
}

/* =====================
   CLOSING SECTION
   ===================== */
.inv-closing-section {
    background: var(--dark2);
    text-align: center;
    border-top: 1px solid var(--border);
}

.inv-closing-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--muted);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.inv-closing-names {
    font-family: var(--script);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.inv-closing-heart {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
    color: var(--primary);
}

.inv-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    background: #25D366;
    border-radius: 100px;
    color: #fff;
    font-weight: 500;
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 3rem;
    transition: opacity 0.2s, transform 0.2s;
}

.inv-share-btn:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

.inv-footer-brand {
    font-size: 0.78rem;
    color: rgba(240, 236, 228, 0.3);
}

.inv-footer-brand a {
    color: var(--primary);
    text-decoration: none;
}

/* =====================
   MUSIC CONTROL
   ===================== */
#music-control {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#music-control:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

#music-control.playing {
    animation: rotateSlow 4s linear infinite;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
.inv-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.inv-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.inv-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.inv-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.inv-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.inv-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.inv-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.inv-stagger.visible>*:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
}

.inv-stagger.visible>*:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
}

.inv-stagger.visible>*:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
}

.inv-stagger.visible>*:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: 0.4s;
}

.inv-stagger.visible>*:nth-child(5) {
    opacity: 1;
    transform: none;
    transition-delay: 0.5s;
}

.inv-stagger.visible>*:nth-child(6) {
    opacity: 1;
    transform: none;
    transition-delay: 0.6s;
}

/* Decorations */
.inv-dec-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
}

.inv-dec-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
}

.inv-absolute-dec {
    animation: float 7s ease-in-out infinite;
}

/* =====================
   KEYFRAMES
   ===================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes slowZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(2deg);
    }

    66% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 600px) {
    .inv-couple-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .inv-couple-divider {
        flex-direction: row;
    }

    .inv-countdown {
        gap: 0.25rem;
    }

    .countdown-val {
        font-size: 2.2rem;
        min-width: 55px;
    }

    .inv-form {
        padding: 1.75rem 1.25rem;
    }

    .inv-section {
        padding: 4rem 1.25rem;
    }
}