/* ==========================================
   CSS VARIABLE DECLARATIONS (Color Palette)
   ========================================== */
:root {
    /* Palette Tokens from User Image */
    --color-peach: #F7B49A;
    --color-amber: #F5A623;
    --color-dusty-blue: #7A97B8;
    --color-sand-cream: #F5EFE6;
    --color-soft-blush: #F9A7A1;
    --color-warm-taupe: #A29F99;

    /* Theme Mappings */
    --bg-cream: #F5EFE6;
    --gold-light: #F7B49A;
    --gold-dark: #D98C29;
    --sage-green: #7A97B8;
    --olive-dark: #446285;
    --olive-muted: #7A97B8;
    --text-dark: #332F2B;
    --text-muted: #7A7570;
    --white-overlay: rgba(255, 255, 255, 0.88);
    --gold-overlay: rgba(247, 180, 154, 0.18);
    --blue-overlay: rgba(122, 151, 184, 0.12);
    --shadow-soft: 0 10px 30px rgba(68, 98, 133, 0.08);
    --shadow-medium: 0 15px 40px rgba(68, 98, 133, 0.14);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-handwritten: 'Pinyon Script', cursive;
    --font-body: 'Montserrat', sans-serif;
    --font-sc: 'Playfair Display SC', serif;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #f3ede0; /* Margins for desktop view */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important; /* Strict vertical scroll only */
    touch-action: pan-y; /* Prevent horizontal gesture panning */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important; /* Strict vertical scroll only */
    touch-action: pan-y; /* Prevent horizontal panning */
    position: relative;
    
    /* Desktop layout restriction - optimized to look like a premium card */
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
    min-height: 100vh;
}

/* ==========================================
   REAL FLORAL BACKGROUND PNGs (Subtle Background Integration)
   ========================================== */
.floral-bg-top {
    position: absolute;
    top: 3.5rem; /* Positioned below section titles for clean typography space */
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 100%;
    max-width: 480px;
    height: auto; /* Natural aspect ratio - zero cropping */
    pointer-events: none;
    z-index: 0;
    opacity: 0.32; /* Gentle subtle background watermark */
}

.floral-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: auto; /* Natural aspect ratio - zero cropping */
    pointer-events: none;
    z-index: 0;
    opacity: 0.32; /* Gentle subtle background watermark */
}

.floral-corner-top-right {
    position: absolute;
    top: 1.5rem;
    right: -0.5rem;
    width: 140px;
    height: auto;
    z-index: 0;
    opacity: 0.42; /* Soft background watermark accent */
    pointer-events: none;
}

.floral-corner-bottom-left {
    position: absolute;
    bottom: 0.5rem;
    left: -0.5rem;
    width: 135px;
    height: auto;
    z-index: 0;
    opacity: 0.42; /* Soft background watermark accent */
    pointer-events: none;
}

/* ==========================================
   WATERCOLOR SPLASH BACKGROUNDS
   ========================================== */
.watercolor-bg {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
    animation: floatSplash 20s ease-in-out infinite alternate;
}

.watercolor-bg.top-right {
    top: 2%;
    right: -120px;
    background: radial-gradient(circle, var(--gold-light) 0%, rgba(248,243,231,0) 75%);
}

.watercolor-bg.bottom-left {
    bottom: 2%;
    left: -120px;
    background: radial-gradient(circle, var(--sage-green) 0%, rgba(248,243,231,0) 75%);
}

.watercolor-bg.mid-left {
    top: 28%;
    left: -140px;
    background: radial-gradient(circle, var(--sage-green) 0%, rgba(248,243,231,0) 75%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.watercolor-bg.mid-right {
    top: 52%;
    right: -140px;
    background: radial-gradient(circle, var(--gold-light) 0%, rgba(248,243,231,0) 75%);
    animation-delay: -10s;
    animation-duration: 22s;
}

.watercolor-bg.rsvp-left {
    top: 76%;
    left: -120px;
    background: radial-gradient(circle, var(--sage-green) 0%, rgba(248,243,231,0) 75%);
    animation-delay: -3s;
    animation-duration: 18s;
}

/* Subtle floating micro-animation for backgrounds */
@keyframes floatSplash {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15px, -15px) scale(1.08); }
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--olive-dark);
    text-align: center;
}

p {
    font-weight: 300;
    font-size: 0.95rem;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 2.2rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.95rem;
    font-weight: 400; /* Soft, delicate italic serif */
    color: #6C819C; /* Soft Dusty Slate Blue */
    display: block;
    margin-bottom: 0.1rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-sc);
    font-size: 1.25rem;
    font-weight: 400; /* Subtle, thin uppercase serif */
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #3B4E68; /* Elegant soft navy */
}

.flower-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.hidden {
    display: none !important;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--olive-dark);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--olive-dark);
}

/* ==========================================
   HERO SECTION (Tarjeta de Invitación Completa Full-Bleed)
   ========================================== */
.hero-section {
    padding: 2.8rem 0 4.5rem 0; /* Ample bottom clearance for bottom floral row */
    position: relative;
    text-align: center;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Flow downwards from the top */
    background-color: #FAF4EA; /* Parchment paper background matching Main.png */
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* Full Bleed Invitation Card Container */
.invitation-card-container {
    width: 100%;
    max-width: 100%; /* Spans full width of the mobile container */
    margin: 0;
    padding: 0;
}

.invitation-card {
    background: transparent;
    padding: 0; /* No white margins */
    border: none; /* No borders */
    box-shadow: none; /* No card shadow */
    position: relative;
    border-radius: 0;
}

.invitation-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 0; /* Sharp card edges */
    filter: brightness(0.99);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--sage-green);
    margin-top: 0.8rem;
    animation: fadeIn 1.5s ease;
}

.scroll-down-indicator p {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.scroll-arrow {
    animation: scrollBounce 2s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* COUNTDOWN ROMANTIC HEADER */
.countdown-header-wrapper {
    text-align: center;
    margin: 1.8rem auto 1.2rem auto;
    padding: 1.5rem 1.6rem;
    position: relative;
    z-index: 2;
    background: var(--white-overlay);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(236, 214, 159, 0.35);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    width: 94%;
    max-width: 360px;
}

.countdown-header-wrapper::before {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}

.countdown-romantic-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.65rem;
    font-weight: 400; /* Subtle, soft & romantic font weight */
    color: #3B4E68; /* Elegant soft navy */
    display: block;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.countdown-date-title {
    font-family: var(--font-sc);
    font-size: 1rem;
    font-weight: 400; /* Thin, refined uppercase date */
    letter-spacing: 2.5px;
    color: #C87518; /* Soft warm amber gold */
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.countdown-location-subtitle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* COUNTDOWN TIMER STYLE */
.countdown-container {
    display: flex;
    justify-content: space-around; /* Distribute items evenly */
    align-items: center;
    gap: 0.3rem;
    background: var(--white-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 214, 159, 0.3);
    padding: 0.9rem 1.4rem; /* More horizontal padding */
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
    width: 94%;
    max-width: 350px; /* Wider to prevent text squeezing */
}

.countdown-item {
    display: flex;
    flex-direction: column;
    width: 62px; /* Wider items for better breathing room */
}

.countdown-item .number {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--olive-dark);
}

.countdown-item .label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Floating Navigation Controls */
.floating-nav-controls {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 999;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white-overlay);
    border: 1px solid rgba(201, 172, 104, 0.4);
    color: var(--olive-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(96, 106, 38, 0.12);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    outline: none;
    padding: 0;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--olive-dark);
    border-color: var(--gold-dark);
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 22px rgba(168, 156, 92, 0.2);
}

.nav-btn svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.nav-btn:hover svg {
    stroke: var(--olive-dark);
}

.nav-img-icon {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
    mix-blend-mode: multiply; /* Blends white background away, making JPEGs transparent */
    transition: transform 0.3s ease;
}

/* Maintain transparency and normal blending for PNG icons (like llama.png) */
.nav-img-icon[src$=".png"] {
    object-fit: contain;
    border-radius: 0;
    mix-blend-mode: normal;
}

.nav-btn:hover .nav-img-icon {
    transform: scale(1.15);
}

.nav-btn-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.8);
}

.btn-tooltip {
    position: absolute;
    right: 3.8rem;
    background-color: var(--olive-dark);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
}

.nav-btn:hover .btn-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.countdown-separator {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gold-dark);
    margin-top: -14px;
}

/* ==========================================
   DETAILS SECTION
   ========================================== */
.details-section {
    padding: 4rem 1.5rem 5.5rem 1.5rem; /* Clearance for bottom floral row */
    position: relative;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    position: relative;
    z-index: 2;
}

.info-card {
    background: var(--white-overlay);
    border: 1px solid rgba(168, 156, 92, 0.15);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--sage-green));
}

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--gold-overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.2rem auto;
    color: var(--sage-green);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--olive-dark);
}

.info-card .time {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--gold-dark);
    letter-spacing: 1px;
    text-transform: none;
    margin-bottom: 1rem;
}

.info-card .place-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.info-card .place-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

/* ==========================================
   ADDITIONAL INFO: DRESS CODE & GIFTS
   ========================================== */
.additional-info-section {
    padding: 2rem 1.5rem;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-subcard {
    background: rgba(255, 255, 255, 0.6);
    border: 1px dashed var(--gold-light);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.subcard-icon {
    color: var(--sage-green);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
}

.info-subcard h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.dress-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--olive-dark);
    margin-bottom: 0.4rem;
}

.dress-desc, .gift-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.bank-details {
    margin-top: 1.2rem;
    padding: 1rem;
    background-color: var(--white-overlay);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-dark);
    border: 1px solid rgba(236, 214, 159, 0.3);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--olive-dark);
    border: 1px solid var(--sage-green);
}

.btn-secondary:hover {
    background-color: var(--sage-green);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 156, 92, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--olive-dark), var(--olive-muted));
    color: white;
    width: 100%;
    box-shadow: 0 5px 15px rgba(96, 106, 38, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 106, 38, 0.3);
}

.btn-text {
    background: none;
    color: var(--olive-dark);
    text-decoration: underline;
    font-size: 0.8rem;
    padding: 0.5rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* ==========================================
   RSVP SECTION
   ========================================== */
.rsvp-section {
    padding: 4rem 1.5rem 5.5rem 1.5rem; /* Clearance for bottom floral row */
    position: relative;
}

.rsvp-card {
    background: var(--white-overlay);
    border: 1px solid rgba(236, 214, 159, 0.4);
    border-radius: 24px;
    padding: 3rem 1.8rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2; /* Sits above section bottom floral row */
}

.rsvp-deadline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--olive-muted);
    margin-top: 0.4rem;
}

.rsvp-form {
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--olive-dark);
}

.form-group input[type="text"],
.form-group select {
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(168, 156, 92, 0.25);
    background-color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(168, 156, 92, 0.1);
}

/* Radio buttons customization */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    position: relative;
    padding-left: 32px;
    user-select: none;
    color: var(--text-dark);
}

.radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: white;
    border: 1px solid rgba(168, 156, 92, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-label:hover input ~ .custom-radio {
    border-color: var(--sage-green);
}

.radio-label input:checked ~ .custom-radio {
    background-color: white;
    border-color: var(--olive-dark);
}

.custom-radio:after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--olive-dark);
}

.radio-label input:checked ~ .custom-radio:after {
    display: block;
}

/* RSVP Success Message */
.rsvp-success-message {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon-wrapper {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.rsvp-success-message h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.rsvp-success-message p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    padding: 3.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-cream) 0%, rgba(236,214,159,0.2) 100%);
    border-top: 1px solid rgba(236, 214, 159, 0.3);
}

.closing-phrase {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--olive-muted);
    margin-bottom: 0.8rem;
}

.names-footer {
    font-family: var(--font-handwritten);
    font-size: 2.5rem;
    color: var(--sage-green);
    margin-bottom: 1.5rem;
}

.copyright {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   FLOATING CLOUD HEADER
   ========================================== */
.cloud-header {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 92%;
    background: rgba(245, 239, 230, 0.88);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(122, 151, 184, 0.28);
    border-radius: 50px;
    box-shadow: 
        0 4px 18px rgba(0, 0, 0, 0.04),
        0 8px 25px rgba(122, 151, 184, 0.14);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 0.55rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hide header when scrolling down on small screens, show on scroll up */
.cloud-header.header-hidden {
    transform: translate(-50%, -100px);
    opacity: 0;
}

.cloud-nav {
    display: flex;
    gap: 0.2rem;
}

.cloud-nav a {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.8px;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cloud-nav a:hover {
    color: var(--olive-dark);
    background-color: rgba(122, 151, 184, 0.15);
}

.cloud-nav a.active {
    color: #ffffff;
    background: var(--color-dusty-blue);
    box-shadow: 0 4px 12px rgba(122, 151, 184, 0.35);
}

/* ==========================================
   PHOTO GALLERY SECTION - COLLAGE DESIGN
   ========================================== */
.gallery-section {
    padding: 4rem 1rem 5.5rem 1rem; /* Clearance for bottom floral row */
    background-color: transparent;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns for a natural scatter layout */
    gap: 0.8rem; /* Staggered tight gap */
    margin-top: 2rem;
    position: relative;
    max-width: 100%;
}

.gallery-item {
    width: 100%;
    perspective: 1000px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Polaroid-Style Photo Frame with Gold Details */
.photo-frame {
    background: white;
    padding: 10px 10px 22px 10px; /* Bottom is thicker like a Polaroid */
    border: 1px solid rgba(168, 156, 92, 0.22);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.02),
        0 15px 35px rgba(96, 106, 38, 0.08);
    border-radius: 2px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), box-shadow 0.4s ease;
}

/* Collage Staggered Grid Positions & Overlaps (5 Photos) */
.gallery-item:nth-child(1) {
    grid-column: 1;
    transform: rotate(-3.5deg);
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    transform: rotate(4.5deg) translateY(20px);
}

.gallery-item:nth-child(3) {
    grid-column: 1 / span 2;
    justify-self: center;
    width: 82%;
    max-width: 230px;
    transform: rotate(-1.5deg) translateY(-5px);
    margin-top: -0.5rem;
    z-index: 2; /* Sits on top of the grid */
}

.gallery-item:nth-child(4) {
    grid-column: 1;
    transform: rotate(3deg) translateY(-25px);
    margin-top: -1.5rem;
}

.gallery-item:nth-child(5) {
    grid-column: 2;
    transform: rotate(-4deg) translateY(-20px);
    margin-top: -2rem;
}

/* Hover effect: aligns card, raises in 3D, brings to front */
.gallery-item:hover {
    transform: scale(1.08) rotate(0deg) translateY(-8px);
    z-index: 20; /* Bring hovered photo above all others */
}

.gallery-item:hover .photo-frame {
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 30px 60px rgba(96, 106, 38, 0.16);
}

/* Inner gold lining border */
.photo-frame::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 16px;
    border: 1px dashed rgba(201, 172, 104, 0.3);
    pointer-events: none;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 1px;
    filter: brightness(0.98) sepia(0.04); /* Soft retro wedding tone */
    transition: filter 0.3s ease;
}

.gallery-item:hover .gallery-img {
    filter: brightness(1.02);
}

.photo-caption {
    font-family: var(--font-handwritten);
    font-size: 1.65rem;
    color: var(--sage-green);
    text-align: center;
    margin-top: 0.8rem;
    line-height: 1.1;
}

/* ==========================================
   DREAMY CLOUD & FLORAL WEDDING OPENING CURTAIN
   ========================================== */
.opening-curtain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
}

.opening-curtain-container.curtain-opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.curtain-cloud {
    position: absolute;
    top: 0;
    width: 58vw;
    height: 100vh;
    background: linear-gradient(135deg, #FAF4EA 0%, #F5EFE6 50%, #FAF4EA 100%);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.curtain-left {
    left: 0;
    border-radius: 0 50% 50% 0 / 0 100% 100% 0;
}

.curtain-right {
    right: 0;
    border-radius: 50% 0 0 50% / 100% 0 0 100%;
}

.opening-curtain-container.curtain-opened .curtain-left {
    transform: translateX(-108%);
}

.opening-curtain-container.curtain-opened .curtain-right {
    transform: translateX(108%);
}

.opening-emblem-wrapper {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2.2rem 2.8rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 214, 159, 0.45);
    border-radius: 35px;
    box-shadow: 0 15px 40px rgba(217, 140, 41, 0.12);
    animation: pulseSoft 3s infinite ease-in-out;
}

.opening-monogram {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.4rem;
    font-weight: 400; /* Subtle, delicate weight */
    color: #4A4540;
    display: block;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.opening-subtitle {
    font-family: var(--font-sc);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4.5px;
    color: #C87518;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Slow Falling Petals Animation */
.floating-petals-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.falling-petal {
    position: absolute;
    top: -60px;
    width: 38px;
    height: auto;
    opacity: 0.85;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
    animation: slowPetalFall 7s linear infinite;
    pointer-events: none;
}

.fall1 { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.fall2 { left: 32%; animation-delay: 1.8s; animation-duration: 8.5s; width: 44px; }
.fall3 { left: 55%; animation-delay: 0.8s; animation-duration: 6.5s; }
.fall4 { left: 75%; animation-delay: 2.5s; animation-duration: 9s; width: 42px; }
.fall5 { left: 88%; animation-delay: 1.2s; animation-duration: 7.5s; }

@keyframes slowPetalFall {
    0% {
        top: -60px;
        transform: rotate(0deg) translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
    }
    85% {
        opacity: 0.85;
    }
    100% {
        top: 105vh;
        transform: rotate(360deg) translateX(45px);
        opacity: 0;
    }
}

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

/* ==========================================
   HORIZONTAL PHOTO CAROUSEL (IZQUIERDA A DERECHA)
   ========================================== */
.horizontal-carousel-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(236, 214, 159, 0.4);
    background: var(--white-overlay);
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 2;
    padding: 0.5rem;
}

.horizontal-carousel-wrapper::-webkit-scrollbar {
    height: 6px;
}
.horizontal-carousel-wrapper::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
}
.horizontal-carousel-wrapper::-webkit-scrollbar-thumb {
    background: var(--sage-green);
    border-radius: 10px;
}

.horizontal-carousel-track {
    display: flex;
    flex-direction: row;
    gap: 0.6rem; /* Foto pegada con foto */
}

.carousel-horizontal-card {
    position: relative;
    width: 270px;
    height: 335px;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(68, 98, 133, 0.12);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-horizontal-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 35px rgba(217, 140, 41, 0.22);
}

.carousel-horizontal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-horizontal-card:hover img {
    transform: scale(1.06);
}

.photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold-dark);
    font-family: var(--font-sc);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(236, 214, 159, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.carousel-scroll-hint {
    text-align: center;
    margin-top: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Luxury Buttons Styling */
.btn-luxury-gift {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.75rem 1.6rem;
    background: linear-gradient(135deg, #FAF4EA 0%, #F5EFE6 100%);
    color: #C87518 !important;
    font-family: var(--font-sc);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1.5px solid rgba(200, 117, 24, 0.45);
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(200, 117, 24, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-luxury-gift:hover {
    background: linear-gradient(135deg, #C87518 0%, #D98C29 100%);
    color: #FFFFFF !important;
    border-color: #C87518;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(200, 117, 24, 0.35);
}

/* Subtle Slate Blue Pinterest Inspo Button */
.inspo-single-wrapper {
    text-align: center;
    margin-top: 1.2rem;
}

.btn-inspo-pink, .btn-inspo-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FAF4EA 0%, #FAF4EA 100%);
    color: #446285 !important;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-sc);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1.5px solid rgba(68, 98, 133, 0.35);
    box-shadow: 0 6px 20px rgba(68, 98, 133, 0.12);
    transition: all 0.4s ease;
}

.btn-inspo-pink:hover, .btn-inspo-blue:hover {
    background: linear-gradient(135deg, #446285 0%, #3B4E68 100%);
    color: #FFFFFF !important;
    border-color: #446285;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(68, 98, 133, 0.3);
}

/* Architectural Popurrí Shape Frames for Gallery Photos */
.shape-arch-top {
    border-radius: 130px 130px 20px 20px !important;
}

.shape-pill {
    border-radius: 130px !important;
}

.shape-organic-1 {
    border-radius: 30px 110px 30px 110px !important;
}

.shape-arch-bottom {
    border-radius: 20px 20px 130px 130px !important;
}

.shape-diamond {
    border-radius: 110px 25px 110px 25px !important;
}

.shape-organic-2 {
    border-radius: 90px 40px 120px 30px !important;
}

.popurri-gallery .carousel-horizontal-card {
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 28px rgba(68, 98, 133, 0.14);
}

/* High-Res Photo Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 20, 28, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2.2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 20001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Warm Gold Luxury Toggle Button */
.gift-toggle-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1.2rem !important;
    padding: 0.8rem 1.8rem !important;
    background: linear-gradient(135deg, #FAF4EA 0%, #F5EFE6 100%) !important;
    color: #C87518 !important;
    font-family: var(--font-sc) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    border: 1.5px solid rgba(200, 117, 24, 0.45) !important;
    border-radius: 30px !important;
    box-shadow: 0 8px 25px rgba(200, 117, 24, 0.18) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.gift-toggle-btn:hover {
    background: linear-gradient(135deg, #C87518 0%, #D98C29 100%) !important;
    color: #FFFFFF !important;
    border-color: #C87518 !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(200, 117, 24, 0.38) !important;
}

/* Warm Gold Luxury Bank Tabs */
.bank-details {
    margin-top: 1.5rem !important;
}

.bank-tabs {
    display: flex !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    margin-bottom: 1.2rem !important;
}

.bank-tab-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1.5px solid rgba(200, 117, 24, 0.35) !important;
    color: #5A524C !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: 25px !important;
    font-family: var(--font-sc) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(200, 117, 24, 0.06) !important;
    transition: all 0.35s ease !important;
}

.bank-tab-btn:hover:not(.active) {
    background: #FAF4EA !important;
    color: #C87518 !important;
    border-color: #C87518 !important;
}

.bank-tab-btn.active {
    background: linear-gradient(135deg, #C87518 0%, #D98C29 100%) !important;
    color: #FFFFFF !important;
    border-color: #C87518 !important;
    box-shadow: 0 6px 20px rgba(200, 117, 24, 0.35) !important;
    transform: translateY(-2px) !important;
}

.bank-tab-content {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 1.3rem 1.4rem !important;
    border-radius: 18px !important;
    border: 1.5px solid rgba(236, 214, 159, 0.6) !important;
    box-shadow: 0 10px 30px rgba(200, 117, 24, 0.08) !important;
    animation: fadeIn 0.35s ease !important;
}

/* Reserved Colors for Dress Code */
.dress-colors-avoid {
    margin: 1.2rem 0;
    padding: 1.1rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    border: 1px dashed rgba(200, 117, 24, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.avoid-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--olive-dark);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.avoid-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.45;
}

.color-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.color-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.color-chip:hover {
    transform: translateY(-2px);
}

.chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.white-chip { background: #FFFFFF; color: #4A4A4A; border: 1px solid #E2E2E2; }
.dot-white { background: #FFFFFF; border: 1px solid #CCCCCC; }

.beige-chip { background: #FAF0E6; color: #5C5248; border: 1px solid #EAE0D5; }
.dot-beige { background: #D9C5B2; border: 1px solid #C4B09C; }

.cream-chip { background: #FFFDD0; color: #5A5636; border: 1px solid #F0ECA9; }
.dot-cream { background: #F5F2B8; border: 1px solid #DCD898; }

.rose-chip { background: #FFF0F3; color: #6E444D; border: 1px solid #FFC2D1; }
.dot-rose { background: #E8A5B8; border: 1px solid #D68F9F; }

.black-chip { background: #2B2B2B; color: #FFFFFF; border: 1px solid #1A1A1A; }
.dot-black { background: #000000; border: 1px solid #555555; }

/* Highly Visible Footer Easter Egg CTA Button */
.footer-easter-egg-highlight-btn {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--olive-dark) 100%);
    color: #FFFFFF;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.55rem 1.3rem;
    margin-top: 0.6rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(200, 117, 24, 0.35);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    animation: pulseGlow 2.5s infinite ease-in-out;
}

.footer-easter-egg-highlight-btn:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 6px 22px rgba(200, 117, 24, 0.55);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(200, 117, 24, 0.3); }
    50% { box-shadow: 0 0 22px rgba(200, 117, 24, 0.75); }
}

/* ==========================================
   MACHU PICCHU LLAMA RUNNER GAME MODAL
   ========================================== */
.machu-picchu-game-card {
    background: #FAF6EE;
    border-radius: 28px;
    width: 95%;
    max-width: 480px;
    padding: 1.4rem 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 1.5px solid rgba(200, 117, 24, 0.35);
    animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-header-banner {
    text-align: center;
    margin-bottom: 0.8rem;
}

.game-tag-pill {
    display: inline-block;
    background: #EFE4CE;
    color: #48532C;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(72, 83, 44, 0.25);
    margin-bottom: 0.3rem;
}

.game-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #36401D;
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.game-subtitle {
    font-size: 0.78rem;
    color: #5C5248;
}

/* Cheering Avatars Sprite Bar */
.cheering-hosts-sprite-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(200, 117, 24, 0.2);
}

.sprite-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #C87518;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.hosts-cheer-bubble {
    font-size: 0.73rem;
    font-weight: 500;
    color: #4A423B;
    text-align: center;
    line-height: 1.2;
    flex: 1;
    padding: 0 0.2rem;
}

/* Runner Stage & Canvas */
.runner-stage-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(200, 117, 24, 0.35);
    margin-bottom: 0.9rem;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

/* Green UFO Intro Layer */
.ufo-intro-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(10, 15, 30, 0.86);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ufo-saucer-ship {
    font-size: 3.2rem;
    animation: ufoHover 0.8s infinite alternate ease-in-out;
    filter: drop-shadow(0 0 15px #00FF66);
}

.ufo-beam-ray {
    width: 80px;
    height: 70px;
    background: linear-gradient(180deg, rgba(0, 255, 102, 0.6) 0%, rgba(0, 255, 102, 0.05) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
    margin-top: -10px;
    animation: ufoPulse 0.4s infinite alternate ease-in-out;
}

.ufo-alert-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #00FF66;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.8);
    margin-top: 0.3rem;
    line-height: 1.3;
}

.ufo-alert-text span {
    font-size: 0.72rem;
    color: #FFFDF7;
    font-weight: 400;
}

.ufo-launch-btn-luxury {
    background: linear-gradient(135deg, #00FF66 0%, #00B344 100%);
    color: #0A0F1E;
    border: none;
    border-radius: 25px;
    padding: 0.55rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.6rem;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.6);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ufo-launch-btn-luxury:active {
    transform: scale(0.94);
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

@keyframes ufoHover {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.08); }
}

@keyframes ufoPulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.9; }
}

.machu-picchu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.machu-mountains-svg {
    width: 100%;
    height: 100%;
    display: block;
}

#llama-game-canvas {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.game-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.game-hud-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.score-card-clean {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(200, 117, 24, 0.25);
    padding: 0.55rem 1rem;
    border-radius: 20px;
}

.score-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.score-number {
    font-size: 1.1rem;
    color: #C87518;
    font-family: var(--font-heading);
}

.jump-btn-action {
    background: linear-gradient(135deg, #C87518 0%, #E08914 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    padding: 0.65rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(200, 117, 24, 0.35);
    transition: transform 0.15s ease;
}

.jump-btn-action:active {
    transform: scale(0.92);
}

/* Victory Win Popup Card */
.win-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.win-popup-card {
    background: #FFFDF7;
    border-radius: 24px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    border: 2px solid #C87518;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.win-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.4rem;
}

.win-popup-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--olive-dark);
    margin-bottom: 0.4rem;
}

.win-msg {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1.1rem;
}

.win-actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


