
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --gold: #ffd76a;
    --gold-light: #fff0b0;
    --green: #00d68f;
    --dark: #070b0a;
    --panel: #111a15;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ===== DINERO CAYENDO ===== */

.money-rain {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.money-rain span {
    position: absolute;
    top: -80px;
    left: var(--x, 50%);
    font-size: 27px;
    opacity: 0;
    animation: moneyFall var(--duration, 9s) linear infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 0 8px rgba(255, 215, 106, .25));
}

.money-rain span:nth-child(1)  { --x: 5%;  --duration: 8s;  --delay: 0s; }
.money-rain span:nth-child(2)  { --x: 14%; --duration: 11s; --delay: 2s; }
.money-rain span:nth-child(3)  { --x: 23%; --duration: 9s;  --delay: 4s; }
.money-rain span:nth-child(4)  { --x: 32%; --duration: 12s; --delay: 1s; }
.money-rain span:nth-child(5)  { --x: 42%; --duration: 8s;  --delay: 5s; }
.money-rain span:nth-child(6)  { --x: 51%; --duration: 10s; --delay: 3s; }
.money-rain span:nth-child(7)  { --x: 61%; --duration: 9s;  --delay: 1s; }
.money-rain span:nth-child(8)  { --x: 70%; --duration: 12s; --delay: 4s; }
.money-rain span:nth-child(9)  { --x: 79%; --duration: 8s;  --delay: 2s; }
.money-rain span:nth-child(10) { --x: 88%; --duration: 10s; --delay: 5s; }
.money-rain span:nth-child(11) { --x: 95%; --duration: 11s; --delay: 3s; }
.money-rain span:nth-child(12) { --x: 37%; --duration: 13s; --delay: 6s; }

@keyframes moneyFall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: .75;
    }

    90% {
        opacity: .65;
    }

    100% {
        transform: translateY(115vh) rotate(480deg);
        opacity: 0;
    }
}

/* ===== NAVBAR ===== */

.lot-navbar {
    height: 78px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 11, 10, .9);
    border-bottom: 1px solid rgba(255, 215, 106, .2);
    position: relative;
    z-index: 20;
}

.lot-logo {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;
    color: white;
}

.lot-logo b {
    color: var(--gold);
}

.logo-icon {
    color: var(--gold);
    font-size: 24px;
    margin-right: 8px;
}

.back-home {
    color: #d0d0d0;
    font-size: 12px;
    font-weight: 600;
    transition: .3s;
}

.back-home:hover {
    color: var(--gold);
}

/* ===== HERO ===== */

.lot-hero {
    min-height: 630px;
    padding: 100px 20px 70px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 30%,
        rgba(0, 214, 143, .13), transparent 55%),
        linear-gradient(180deg, #09120e, #070b0a);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 0;
    background: rgba(255, 190, 50, .07);
    filter: blur(120px);
    pointer-events: none;
}

.hero-badge {
    position: relative;
    color: var(--gold);
    border: 1px solid rgba(255, 215, 106, .4);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.lot-hero h1 {
    position: relative;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -2px;
}

.lot-hero h1 span {
    background: linear-gradient(
        90deg,
        #fff0b0,
        #ffd044,
        #ffad25,
        #fff0b0
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 190, 50, .16));
}

.hero-subtitle {
    position: relative;
    max-width: 540px;
    color: #aeb9b2;
    font-size: 14px;
    line-height: 1.8;
    margin: 24px auto 30px;
}

.gold-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffe99b, #ffc32f, #ffad25);
    color: #191307;
    padding: 17px 32px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(255, 190, 50, .17);
    transition: .3s;
}

.gold-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(255, 190, 50, .35);
}

.hero-stats {
    display: flex;
    gap: 65px;
    margin-top: 65px;
    position: relative;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-stats strong {
    font-size: 25px;
}

.hero-stats span {
    font-size: 11px;
    color: #9da9a1;
}

/* ===== SECCIÓN DE SORTEOS ===== */

.lot-section {
    padding: 90px 6%;
    position: relative;
    z-index: 1;
    background: #0a100d;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading > span {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 14px 0;
    font-weight: 800;
}

.section-heading h2 b {
    color: var(--gold);
}

.section-heading p {
    color: #89948c;
    font-size: 13px;
}

.lot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1250px;
    margin: auto;
}

.lot-card {
    position: relative;
    background: linear-gradient(145deg, #151d18, #0d130f);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 26px;
    overflow: hidden;
    transition: .35s;
}

.lot-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 106, .5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .3);
}

.card-gold { --accent: #ffd76a; }
.card-green { --accent: #00d68f; }
.card-purple { --accent: #be8cff; }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lot-label {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
    border-radius: 30px;
    padding: 8px 12px;
}

.lot-emoji {
    font-size: 25px;
}

.lot-visual {
    height: 150px;
    display: grid;
    place-items: center;
    font-size: 75px;
    margin: 15px 0;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--accent) 14%, transparent),
        transparent 68%
    );
    animation: floatPrize 4s ease-in-out infinite;
}

@keyframes floatPrize {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.lot-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.lot-card p {
    font-size: 12px;
    color: #9da9a1;
    line-height: 1.8;
    min-height: 45px;
}

.prize-text {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    margin: 22px 0;
}

.lot-button {
    display: block;
    text-align: center;
    padding: 14px 10px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    transition: .3s;
}

.lot-button:hover {
    background: var(--accent);
    color: #080b09;
}

/* ===== BANNER FINAL ===== */

.lot-banner {
    padding: 90px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at center,
        rgba(0, 214, 143, .10), transparent 65%),
        #080c0a;
    border-top: 1px solid rgba(255, 215, 106, .12);
}

.banner-content > span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 800;
}

.banner-content h2 {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.2;
    margin: 22px 0;
    font-weight: 900;
}

.banner-content p {
    color: #98a39b;
    max-width: 500px;
    margin: 0 auto 28px;
    font-size: 13px;
    line-height: 1.8;
}

.outline-button {
    display: inline-block;
    padding: 15px 24px;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: .3s;
}

.outline-button:hover {
    background: var(--gold);
    color: #111;
}

/* ===== FOOTER ===== */

.lot-footer {
    text-align: center;
    padding: 25px 20px;
    background: #050806;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.lot-footer p {
    color: #d5d5d5;
    font-size: 11px;
    margin-bottom: 10px;
}

.lot-footer small {
    display: block;
    max-width: 650px;
    margin: auto;
    color: #69736c;
    font-size: 10px;
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .lot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lot-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .lot-navbar {
        height: auto;
        min-height: 70px;
        padding: 15px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .lot-logo {
        font-size: 13px;
    }

    .back-home {
        font-size: 10px;
    }

    .lot-hero {
        min-height: auto;
        padding: 85px 18px 55px;
    }

    .lot-hero h1 {
        letter-spacing: -1px;
    }

    .hero-badge {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-stats {
        gap: 35px;
        margin-top: 45px;
    }

    .lot-section {
        padding: 65px 16px;
    }

    .lot-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lot-card:last-child {
        grid-column: auto;
    }

    .lot-visual {
        height: 120px;
    }

    .lot-banner {
        padding: 65px 20px;
    }

    .money-rain span {
        font-size: 20px;
    }
}

/* Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
