:root {
    --white: #ffffff;
    --golden: #dda729;
    --golden-light: #e5bf59;
    --deep-blue: #073772;
    --navy-dark: #052a55;
    --grey-text: #666666;
    --grey-bg: #f8f9fa;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-pro: 0 20px 60px rgba(0,0,0,0.15);
    --anim-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--white); background: var(--navy-dark); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }

/* 1. Top Announcement Bar (Yellow) */
.top-announcement { background: var(--golden); color: var(--navy-dark); padding: 8px 0; font-size: 0.85rem; font-weight: 700; text-align: center; }
.countdown-container { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }
.mini-timer { font-family: 'Outfit', sans-serif; font-size: 0.9rem; letter-spacing: 0.5px; opacity: 0.9; }
.date-badge { font-size: 0.7rem; background: var(--navy-dark); color: white; padding: 2px 10px; border-radius: 20px; font-weight: 400; }

/* 2. Hero Section */
.hero-pro {
    height: 80vh;
    min-height: 500px;
    position: relative;
    background: url('tiny_house_pro.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5)); }

.hero-nav { position: relative; padding: 25px 0; z-index: 10; }
.nav-item { background: none; border: none; color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; cursor: pointer; margin-right: 25px; transition: color 0.3s; }
.nav-item:hover { color: var(--golden); }

.hero-logo { 
    height: 110px; 
    filter: drop-shadow(0 0 20px rgba(221, 167, 41, 0.3)); 
    transition: all 0.3s var(--anim-ease);
    animation: pulseRapid 1.5s ease-in-out infinite;
    cursor: pointer;
    display: block;
}

@keyframes pulseRapid {
    0% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(221, 167, 41, 0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(221, 167, 41, 0.6)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(221, 167, 41, 0.3)); }
}

.animate-pop { animation: popIn 0.8s var(--anim-ease) forwards; }
@keyframes popIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
.cart-status { font-size: 1.3rem; color: var(--golden); cursor: pointer; display: flex; align-items: center; gap: 8px; }
#cart-count { background: var(--white); color: var(--navy-dark); font-size: 0.7rem; font-weight: 900; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.hero-center-content { position: relative; flex: 1; display: flex; align-items: center; justify-content: flex-end; padding-bottom: 60px; }
.prize-info-box { text-align: right; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-title { font-size: 5.5rem; font-weight: 900; font-style: italic; font-family: 'Times New Roman', serif; line-height: 0.9; }
.hero-subtitle { font-size: 2.5rem; font-weight: 300; line-height: 1.05; font-style: italic; opacity: 0.9; }

.hero-buy-btn {
    position: absolute; 
    right: 40px; 
    top: calc(55% - 75px); 
    transform: translateY(-50%); 
    background: linear-gradient(135deg, var(--golden) 0%, var(--golden-light) 100%);
    color: var(--navy-dark); 
    padding: 14px 30px;
    border-radius: 50px;
    display: flex; 
    align-items: center; 
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 15px 35px rgba(221, 167, 41, 0.3); 
    z-index: 15; 
    transition: all 0.4s var(--anim-ease);
    border: 2px solid rgba(255,255,255,0.4);
    animation: pulseSmall 2s infinite;
}

@keyframes pulseSmall {
    0% { box-shadow: 0 0 0 0 rgba(221, 167, 41, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(221, 167, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(221, 167, 41, 0); }
}

.hero-buy-btn:hover { 
    transform: translateY(-50%) scale(1.08) translateX(-10px); 
    box-shadow: 0 20px 45px rgba(221, 167, 41, 0.4);
    background: var(--white);
    color: var(--navy-dark);
}

.whatsapp-fixed-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 5000;
    transition: all 0.3s var(--anim-ease);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-fixed-btn i {
    color: white;
    font-size: 35px;
    line-height: 1;
}

.whatsapp-fixed-btn:hover {
    transform: scale(1.15) rotate(5deg);
    background: #128c7e;
    box-shadow: 0 15px 40px rgba(18, 140, 126, 0.5);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float-btn img { height: 30px; width: 30px; object-fit: contain; }
.whatsapp-float-btn:hover { 
    transform: translateY(-50%) scale(1.08) translateX(-10px); 
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5);
    background: #25d366;
}

.hero-footer-bar { position: absolute; bottom: 0; width: 100%; background: rgba(0,0,0,0.65); backdrop-filter: blur(5px); padding: 20px 0; z-index: 10; border-top: 1px solid rgba(255,255,255,0.1); }
.secure-label { font-size: 0.9rem; font-weight: 400; opacity: 0.8; }
.buy-label-link { color: var(--golden); text-decoration: none; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.buy-label-link:hover { color: var(--white); }

/* 3. NEW: GIANT TIMER SECTION */
.giant-timer-section {
    background: var(--navy-dark);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.giant-timer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(221, 167, 41, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.timer-main-title { font-size: 2.8rem; font-weight: 900; letter-spacing: 4px; margin-bottom: 10px; color: var(--golden); }
.timer-subtitle { font-size: 1.1rem; font-weight: 300; opacity: 0.6; margin-bottom: 50px; }

.giant-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.g-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.g-box span {
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 5px 30px rgba(221, 167, 41, 0.4);
}

.g-box label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-top: 5px;
}

.g-sep { font-size: 4rem; font-weight: 300; color: var(--golden); opacity: 0.3; margin-top: -30px; }

.trust-icons-mini { display: flex; justify-content: center; gap: 20px; align-items: center; margin-top: 30px; opacity: 0.4; }
.trust-icons-mini i { font-size: 1.2rem; }

/* 4. Purchase Section */
.purchase-grid { padding: 100px 0; background: transparent; }
.grid-50 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }

@media (max-width: 992px) {
    .grid-50 { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .purchase-visual { order: 2; }
    .purchase-details-pro { order: 1; align-items: center; }
    .price-item { justify-content: center; flex-direction: column; gap: 10px; }
    .price-item .add-to-cart-simple { margin-left: 0; width: 100%; max-width: 250px; }
}

.cards-stack-pro { position: relative; height: 450px; display: flex; justify-content: center; }
.card { position: absolute; width: 280px; height: 400px; border-radius: 20px; object-fit: cover; box-shadow: var(--shadow-soft); border: 4px solid var(--white); transform-origin: center bottom; transition: all 0.5s ease; }
.card-1 { transform: rotate(-12deg) translateX(-60px); z-index: 1; filter: brightness(0.8); }
.card-2 { transform: rotate(-6deg) translateX(-30px); z-index: 2; filter: brightness(0.9); }
.card-3 { transform: rotate(0deg); z-index: 3; }

.purchase-details-pro { display: flex; flex-direction: column; gap: 30px; }
.purchase-title { font-size: 2.6rem; line-height: 1.1; color: var(--white); font-weight: 800; font-family: 'Times New Roman', serif; font-style: italic; }
.purchase-title span { font-weight: 300; font-size: 2.2rem; }

.price-item { display: flex; align-items: center; gap: 40px; font-size: 2.5rem; font-weight: 800; font-family: 'Times New Roman', serif; color: var(--white); }
.promo-badge { font-size: 6rem; font-weight: 900; line-height: 1; color: var(--white); margin-bottom: 30px; font-family: 'Times New Roman', serif; }

.add-to-cart-simple { 
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--deep-blue) 100%);
    color: var(--white); border: none; padding: 14px 28px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: all 0.3s var(--anim-ease); margin-left: 20px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.add-to-cart-simple:hover { background: var(--golden); color: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(221, 167, 41, 0.3); }
.promo-btn { margin-left: 0; padding: 20px 45px; font-size: 1.1rem; background: linear-gradient(135deg, var(--golden) 0%, var(--golden-light) 100%); color: var(--navy-dark); box-shadow: 0 10px 30px rgba(221, 167, 41, 0.2); }

/* 5. Cart Sidebar */
.cart-sidebar { 
    position: fixed; 
    top: 0; 
    right: -450px; 
    width: 450px; 
    height: 100%; 
    background: var(--white); 
    z-index: 2000; 
    transition: transform 0.4s var(--anim-ease); 
    box-shadow: -15px 0 50px rgba(0,0,0,0.15); 
    display: flex; 
    flex-direction: column; 
}
.cart-sidebar.open { transform: translateX(-450px); }
.cart-header { padding: 30px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.cart-header h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy-dark); }
.close-drawer { background: none; border: none; font-size: 2rem; cursor: pointer; color: #ccc; transition: color 0.3s; }
.close-drawer:hover { color: var(--navy-dark); }

.cart-items-list { flex: 1; padding: 25px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }

.cart-item-pro {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}
.cart-item-pro:hover { border-color: var(--golden); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.cart-item-img { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; background: #f8f9fa; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.item-header { display: flex; justify-content: space-between; align-items: flex-start; }
.item-header strong { font-size: 1.1rem; color: var(--navy-dark); }
.remove-minimal { background: none; border: none; font-size: 1.2rem; color: #bbb; cursor: pointer; transition: color 0.3s; }
.remove-minimal:hover { color: #ff6b6b; }

.unit-price { font-size: 0.8rem; color: #888; font-weight: 600; }
.item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

.qty-control {
    display: flex;
    align-items: center;
    background: #f0f2f5;
    border-radius: 8px;
    padding: 4px;
    gap: 12px;
}
.qty-control button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: white;
    color: var(--navy-dark);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s;
}
.qty-control button:hover { background: var(--golden); color: white; }
.qty-control span { font-weight: 800; font-size: 0.9rem; min-width: 20px; text-align: center; }

.item-total { font-size: 1.1rem; color: var(--navy-dark); }

.empty-cart-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #ccc;
    text-align: center;
}
.empty-cart-container i { font-size: 4rem; opacity: 0.3; }
.btn-continue { 
    color: var(--golden); 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 0.9rem; 
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
.btn-continue:hover { border-color: var(--golden); }

.cart-footer { 
    padding: 30px; 
    background: #f8f9fa; 
    border-top: 1px solid #f0f0f0; 
}
.cart-total { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
}
.cart-total span { font-size: 1rem; color: #888; font-weight: 700; }
.cart-total strong { font-size: 1.8rem; color: var(--navy-dark); }

.checkout-form { margin-bottom: 20px; }
.checkout-form label { 
    display: block; 
    font-size: 0.8rem; 
    font-weight: 800; 
    color: var(--navy-dark); 
    margin-bottom: 8px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
#user-email {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}
#user-email:focus {
    border-color: var(--golden);
    box-shadow: 0 0 0 4px rgba(221, 167, 41, 0.15);
}
.btn-checkout-pro {
    width: 100%;
    padding: 18px;
    background: var(--navy-dark);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s var(--anim-ease);
    box-shadow: 0 10px 25px rgba(5, 42, 85, 0.2);
}
.btn-checkout-pro:hover:not(:disabled) {
    background: var(--golden);
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(221, 167, 41, 0.3);
}
.btn-checkout-pro:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #ccc;
    box-shadow: none;
}

.drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1999; display: none; backdrop-filter: blur(8px); }
.drawer-overlay.active { display: block; }

/* 6. Footer (Pro Version) */
.footer-pro { background: var(--deep-blue); color: var(--white); padding: 80px 0 20px; position: relative; }
.grid-footer-exact { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 50px; }

.footer-info-item { display: flex; align-items: flex-start; gap: 15px; font-size: 1rem; line-height: 1.6; }
.footer-info-item i { font-size: 1.4rem; color: var(--golden); margin-top: 4px; }
.footer-info-item strong { color: var(--white); font-family: 'Outfit', sans-serif; font-size: 1.1rem; }

.footer-column-center h4 { font-size: 1.2rem; margin-bottom: 25px; color: var(--golden); text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; transition: all 0.3s; }
.footer-links a:hover { color: var(--golden); padding-left: 5px; }

.contact-footer-items { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.footer-icon-sm { width: 20px; height: 20px; object-fit: contain; }
.filter-white { filter: invert(1) brightness(100%); }

.social-footer-pro { display: flex; gap: 15px; }
.social-footer-pro img { width: 32px; height: 32px; transition: transform 0.3s var(--anim-ease); cursor: pointer; }
.social-footer-pro img:hover { transform: translateY(-5px) scale(1.1); }

.copyright-bar { 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    gap: 20px;
    padding-top: 40px; 
    font-size: 0.85rem; 
    opacity: 0.6; 
    text-align: center;
}
.payment-badges-footer { display: flex; align-items: center; gap: 20px; }
.payment-badges-footer img { height: 18px; filter: grayscale(1) brightness(2); opacity: 0.6; transition: all 0.3s; }
.payment-badges-footer img:hover { filter: none; opacity: 1; }

/* --- 7. Animations & Reveal --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--anim-ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Fallback if JS fails (optional but safe) */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

@keyframes fadeInScale { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(221, 167, 41, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(221, 167, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(221, 167, 41, 0); } }

.animate-reveal { animation: fadeInScale 1s var(--anim-ease) forwards; }
.floating-prize { animation: float 4s ease-in-out infinite; }
.pulse-btn { animation: pulse-gold 2s infinite; }

/* Delay helpers for reveal */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Modal & Other Polish */
.modal-pro { 
    display: none; 
    position: fixed; 
    z-index: 3000; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background:rgba(0,0,0,0.85); 
    backdrop-filter: blur(10px); 
    animation: fadeIn 0.3s ease;
    overflow-y: auto; /* PERMITIR SCROLL */
    padding: 20px 0;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-inner { 
    background: white; 
    max-width: 450px; 
    margin: 5vh auto; 
    border-radius: 15px; 
    overflow: hidden; 
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.modal-header-payment { background: var(--navy-dark); padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.modal-body-payment { padding: 40px; }
.payment-loader { width: 35px; height: 35px; border: 3px solid #eee; border-top-color: var(--golden); border-radius: 50%; animation: spin 1s infinite linear; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 8. Responsive (Full Coverage) --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 2rem; }
    .g-box span { font-size: 4.5rem; }
    .grid-50 { gap: 40px; }
}

@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero-pro { height: auto; min-height: 100vh; padding: 40px 0; }
    .hero-nav .flex-between { flex-direction: column; gap: 20px; text-align: center; }
    .nav-links-left { flex-direction: row; display: flex; justify-content: center; width: 100%; order: 2; margin-top: 15px; }
    .nav-item { margin: 0 10px; font-size: 0.75rem; }
    .logo-center { order: 1; }
    .cart-status { position: absolute; top: 30px; right: 20px; }
    
    .hero-center-content { padding: 80px 0; justify-content: center; text-align: center; }
    .prize-info-box { text-align: center; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.6rem; }
    
    .whatsapp-float-btn { position: fixed; right: 20px; bottom: 100px; top: auto; transform: none; padding: 10px 20px; font-size: 0.85rem; }
    .whatsapp-float-btn:hover { transform: scale(1.05); }

    .hero-footer-bar { position: relative; margin-top: 40px; }
    .hero-footer-bar .flex-between { flex-direction: column; gap: 15px; }

    /* Timer Adjustments */
    .timer-main-title { font-size: 1.8rem; }
    .giant-boxes { flex-wrap: wrap; gap: 15px; }
    .g-box { min-width: 70px; }
    .g-box span { font-size: 2.8rem; }
    .g-box label { font-size: 0.6rem; }
    .g-sep { display: none; }

    /* Purchase Adjustments */
    .purchase-grid { padding: 60px 0; }
    .grid-50 { grid-template-columns: 1fr; gap: 60px; }
    .cards-stack-pro { height: 350px; }
    .card { width: 220px; height: 320px; }
    
    .price-item { font-size: 2rem; gap: 20px; }
    .promo-badge { font-size: 4rem; }
    
    /* Cart Sidebar */
    .cart-sidebar { width: 100%; right: -100%; }
    .cart-sidebar.open { transform: translateX(-100%); }

    /* Footer */
    .grid-footer-exact { grid-template-columns: 1fr; gap: 40px; }
    .footer-column-left, .footer-column-center, .footer-column-right { text-align: center; align-items: center; }
    .footer-links, .contact-footer-items, .social-footer-pro, .footer-info-item { align-items: center; justify-content: center; text-align: center; }
    .copyright-bar { flex-direction: column; gap: 20px; }
    .add-to-cart-simple { margin-left: 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .g-box span { font-size: 2.2rem; }
    .purchase-title { font-size: 1.8rem; }
    .promo-badge { font-size: 3.2rem; }
    .price-item { font-size: 1.8rem; flex-direction: column; gap: 10px; }
    .add-to-cart-simple { margin-left: 0; }
}
/* --- Raffle Progress Tracker --- */
.raffle-progress-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.progress-bar-bg {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #dda729, #f7d07a, #dda729);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    box-shadow: 0 0 20px rgba(221, 167, 41, 0.6);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.progress-percentage {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-weight: 600;
}

/* --- Number Search --- */
.number-search-container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
}

.number-search-container h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 800;
}

.search-box {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}

.search-box input {
    flex: 1;
    max-width: 320px;
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    outline: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--golden);
    box-shadow: 0 0 15px rgba(221, 167, 41, 0.2);
}

.search-box button {
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    background: var(--golden);
    color: var(--navy-dark);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s var(--anim-ease);
    box-shadow: 0 8px 20px rgba(221, 167, 41, 0.3);
}

.search-box button:hover {
    background: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255,255,255,0.2);
}

.search-results {
    min-height: 100px;
    padding: 30px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.5s var(--anim-ease);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--golden);
}

.loading-box i {
    font-size: 2.5rem;
}

.results-found {
    width: 100%;
    text-align: center;
}

.no-results-box {
    width: 100%;
}

.number-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.num-tag {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--navy-dark), #073772);
    color: var(--golden);
    border: 1px solid rgba(221, 167, 41, 0.4);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: tagPop 0.4s var(--anim-ease) backwards;
}

@keyframes tagPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .raffle-progress-container, .number-search-container {
        margin: 30px 15px;
        padding: 20px;
    }
    .search-box {
        flex-direction: column;
        align-items: center;
    }
    .search-box input {
        width: 100%;
        max-width: none;
    }
    .search-box button {
        width: 100%;
    }
    .progress-info { font-size: 0.8rem; }
}
/* --- Voucher Styles --- */
.voucher-modal-inner {
    max-width: 600px;
    margin: 2vh auto;
}

.modal-body-voucher {
    padding: 20px;
    background: #f0f2f5;
}

#voucher-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.voucher-card {
    background: white;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #e0e0e0;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy-dark);
}

.voucher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--golden);
}

.voucher-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.voucher-logo {
    height: 50px;
}

.voucher-order-info {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.voucher-order-info span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
}

.voucher-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.voucher-illustration {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.voucher-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voucher-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 8px;
}

.v-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--white);
}

.price-item .qty {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.price-item .val {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
}

.promo-box-pro {
    background: rgba(221, 167, 41, 0.05);
    padding: 30px;
    border-radius: 24px;
    border: 1px dashed var(--golden);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--white);
}

.promo-box-pro h3 {
    color: var(--white);
    font-weight: 800;
}

.promo-tag {
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.promo-price {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}

.v-value {
    font-size: 0.9rem;
    font-weight: 700;
}

.v-main-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.v-data-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.v-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy-dark);
}

.v-code {
    font-size: 0.65rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 12px;
}

.v-code-box {
    background: var(--navy-dark);
    color: var(--golden);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.voucher-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.75rem;
    color: #bbb;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.btn-download-result {
    margin-top: 10px;
    padding: 8px 15px;
    background: transparent;
    border: 1px solid var(--golden);
    color: var(--golden);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-download-result:hover {
    background: var(--golden);
    color: var(--navy-dark);
}

/* --- Number Tags Grid --- */
.number-tags {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

@media (max-width: 1100px) {
    .number-tags { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .number-tags { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.num-tag-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px !important;
    border-radius: 16px;
    border: 1px solid rgba(221, 167, 41, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s var(--anim-ease);
}

.num-tag-container:hover {
    background: rgba(221, 167, 41, 0.08);
    border-color: var(--golden);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(221, 167, 41, 0.1);
}

.num-tag {
    font-size: 1.6rem !important;
    font-weight: 800;
    color: var(--golden);
    margin-bottom: 2px;
}

.btn-download-result {
    width: 100% !important;
    padding: 12px !important;
    font-size: 0.75rem !important;
    border-radius: 12px !important;
    justify-content: center !important;
    margin-top: 0 !important;
}

/* 6. Footer (Pro Version) */
.footer-pro { background: var(--white); border-top: 1px solid #f0f0f0; padding: 80px 0 0 0; color: var(--navy-dark); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-brand p { margin-top: 20px; line-height: 1.6; opacity: 0.7; font-size: 0.95rem; }
.footer-logo { height: 80px; }
.footer-links h4, .footer-contact h4 { margin-bottom: 25px; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: var(--navy-dark); opacity: 0.6; transition: all 0.3s; font-size: 0.95rem; }
.footer-links a:hover { opacity: 1; color: var(--golden); padding-left: 5px; }
.footer-contact p { margin-bottom: 15px; opacity: 0.7; display: flex; align-items: center; gap: 10px; }

.footer-bottom { background: #f8f9fa; padding: 25px 0; border-top: 1px solid #eee; font-size: 0.85rem; opacity: 0.6; font-weight: 600; }
.payment-methods-mini img { height: 35px; opacity: 0.8; }

/* 7. Legal Modal Styles */
.modal-pro {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
}

.legal-modal-box {
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    margin: 5vh auto;
    border-radius: 24px;
    padding: 50px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.close-legal-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}
.close-legal-modal:hover { color: var(--navy-dark); }

.legal-body { color: var(--navy-dark); line-height: 1.8; }
.legal-body h2 { font-size: 2rem; margin-bottom: 30px; border-bottom: 3px solid var(--golden); display: inline-block; padding-bottom: 5px; }
.legal-body p { margin-bottom: 20px; font-size: 1.05rem; }
.legal-body ul, .legal-body ol { padding-left: 20px; margin-bottom: 25px; }
.legal-body li { margin-bottom: 12px; }

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-contact p { justify-content: center; }
    .legal-modal-box { padding: 30px; margin: 2vh auto; }

    /* Hero Mobile Centering */
    .hero-pro { height: auto; min-height: 100vh; padding-bottom: 60px; display: flex; flex-direction: column; }
    .hero-center-content { justify-content: center; text-align: center; padding: 80px 20px 40px 20px; flex: none; display: flex; align-items: center; }
    .prize-info-box { text-align: center; width: 100%; }
    .hero-title { font-size: 3.2rem; margin-bottom: 10px; }
    .hero-subtitle { font-size: 1.6rem; }
    
    .hero-buy-btn {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 40px auto 20px !important;
        width: 90% !important;
        max-width: 320px !important;
        justify-content: center !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    .hero-footer-bar { position: relative; background: rgba(0,0,0,0.8); margin-top: 50px; }
    .hero-footer-bar .flex-between { flex-direction: column; gap: 10px; text-align: center; padding: 20px; }

    /* Purchase Section Mobile Centering */
    .grid-50 { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .purchase-visual { order: 2; }
    .purchase-details-pro { order: 1; align-items: center; }
    .price-item { justify-content: center; flex-direction: column; gap: 15px; width: 100%; }
    .price-item .add-to-cart-simple { margin-left: 0; width: 100%; max-width: 280px; }
    .promo-box-pro { align-items: center; width: 100%; }
}

/* --- 10. Infinite Marquee --- */
.marquee-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.marquee-content {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

.marquee-content img {
    height: 140px; /* Tamaño medio-pequeño */
    width: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s var(--anim-ease);
    border: 1px solid rgba(0,0,0,0.05);
}

.marquee-content img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

@media (max-width: 768px) {
    .marquee-content img { height: 100px; }
    .marquee-content { gap: 20px; }
}

