:root {
    --bg: #0a0a0a;
    --bg-2: #1a1a1a;
    --bg-3: #222222;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --gold-deep: #b8860b;
    --red: #e31b23;
    --green: #2ecc71;
    --purple: #8e44ad;
    --line: #333333;
    --shadow-glow: 0 0 22px rgba(212, 175, 55, .32);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.gold-text {
    color: var(--gold);
}

.text-soft {
    color: rgba(255, 255, 255, .7);
}

.card-dark {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 1rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card-dark:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #1a1205;
    box-shadow: var(--shadow-glow);
}

.badge-cat {
    font-family: 'Inter', sans-serif;
}

/* Animaciones */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: var(--shadow-glow);
    }

    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, .5);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmerText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.reveal {
    opacity: 0;
}

.reveal.in {
    animation: fadeUp .6s cubic-bezier(.2, .8, .3, 1) forwards;
}

.reveal-d1.in {
    animation-delay: .08s;
}

.reveal-d2.in {
    animation-delay: .16s;
}

.reveal-d3.in {
    animation-delay: .24s;
}

.reveal-d4.in {
    animation-delay: .32s;
}

.float-anim {
    animation: floatY 5s ease-in-out infinite;
}

.pulse-anim {
    animation: pulseGlow 4s ease-in-out infinite;
}

.gold-grad-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 5s ease-in-out infinite;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    padding: 0 28px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {

    .reveal.in,
    .gold-grad-text,
    .float-anim,
    .pulse-anim,
    .marquee-track {
        animation: none;
        opacity: 1;
    }
}

.section-title {
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--line);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.results-row tbody tr {
    transition: background .2s ease;
}

.results-row tbody tr:hover {
    background: rgba(212, 175, 55, .06);
}

/* Slider de asociados destacadas (modelo: estilo de casalottery.com) */
.swiper-asociados {
    overflow: hidden;
}

.w-taquilla {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 16px;
    font-size: 13px;
    height: 100%;
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s ease;
}

.w-taquilla:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.w-taquilla .top {
    margin-bottom: 8px;
}

.taquilla-nome-key {
    color: #fff;
    font-weight: 700;
}

.taquilla-monto {
    color: #ffea00;
    font-weight: 700;
}

.taquilla-marca {
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

.w-taquilla .en {
    color: rgba(255, 255, 255, .6);
    margin: 0 4px;
}

.footer-dark {
    background: #060606;
}

.btn-bright {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 0;
    color: #111;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(212, 175, 55, .3);
    transition: filter .2s ease, transform .2s ease;
}

.btn-bright:hover,
.btn-bright:focus {
    filter: brightness(1.08);
    transform: translateY(-2px);
    color: red !important;
}

.btn-bright:active {
    transform: scale(.97);
    color: red !important;
}

/* ========================================================
       MODAL DE REGISTRO CASA LOTTERY
       (adaptado a la paleta oscura + dorada de index_bootstrap)
       ======================================================== */
.cl-modal .modal-dialog {
    max-width: 440px;
    margin: 1rem auto;
}

.cl-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: linear-gradient(180deg, #10161f 0%, var(--bg) 100%);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .65);
}

.cl-header {
    position: relative;
    padding: 27px 25px 22px;
    text-align: center;
    background:
        radial-gradient(circle at 50% -30%, rgba(212, 175, 55, .28), transparent 65%),
        linear-gradient(180deg, #17191f, #111318);
}

.cl-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: .2s;
}

.cl-close:hover {
    background: rgba(255, 255, 255, .16);
    transform: rotate(90deg);
}

.cl-logo-fallback {
    display: none;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cl-logo-fallback span {
    color: var(--gold);
}

.cl-title {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
    font-weight: 800;
}

.cl-subtitle {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

.cl-body {
    padding: 5px 25px 24px;
}

.cl-label {
    display: block;
    margin-bottom: 7px;
    color: #dce7f7;
    font-size: 13px;
    font-weight: 600;
}

.cl-field {
    position: relative;
    margin-bottom: 17px;
}

.cl-field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #8296b6;
    font-size: 17px;
}

.cl-input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 45px;
    color: #fff;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: none;
    transition: .2s;
}

.cl-input::placeholder {
    color: #7185a5;
}

.cl-input:focus {
    color: #fff;
    background: #2a2a2a;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}

.cl-whatsapp-prefix {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    color: #8ea3c4;
    font-size: 13px;
    z-index: 2;
}

.cl-location-box {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--bg-2);
}

.cl-location-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.cl-location-title i {
    color: var(--gold);
    font-size: 18px;
}

.cl-gps-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    color: black;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.cl-gps-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.cl-gps-button:disabled {
    opacity: .65;
    cursor: wait;
}

.cl-location-status {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    text-align: center;
}

.cl-manual-address {
    display: none;
}

.cl-manual-address.active {
    display: block;
    animation: fadeUp .35s ease;
}

.cl-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 13px 0;
    color: #7083a2;
    font-size: 11px;
}

.cl-or::before,
.cl-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.cl-change-location {
    display: block;
    margin: 8px auto 0;
    padding: 0;
    border: 0;
    color: var(--gold);
    background: transparent;
    font-size: 11px;
}

.cl-change-location:hover {
    text-decoration: underline;
}

.cl-submit {
    width: 100%;
    height: 52px;
    margin-top: 5px;
    border: 0;
    border-radius: 14px;
    color: #111;
    background: var(--gold);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(212, 175, 55, .25);
    transition: .2s;
}

.cl-submit:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 27px rgba(212, 175, 55, .32);
}

.cl-submit:active {
    transform: scale(.98);
}

.cl-footer {
    padding: 0 25px 22px;
    color: #7083a2;
    font-size: 10px;
    text-align: center;
}

.cl-input.is-invalid {
    border-color: #dc3545;
}

.cl-error {
    display: none;
    margin-top: 5px;
    color: #ff6b7a;
    font-size: 11px;
}

.cl-error.show {
    display: block;
}

@media (max-width: 576px) {
    .cl-modal {
        padding: 10px;
    }

    .cl-modal .modal-dialog {
        margin: auto;
    }

    .cl-modal .modal-content {
        border-radius: 21px;
    }

    .cl-header {
        padding-top: 25px;
    }
}

/* =====================================================
   BOTÓN WHATSAPP FLUTUANTE
====================================================== */

.w-msg-whatsapp-icon-page {

    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 9999;

}


/* =====================================================
   BOTÓN
====================================================== */

.w-msg-whatsapp-icon-page a {

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: #25D366;

    text-decoration: none;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, .35);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


/* =====================================================
   ICONO
====================================================== */

.w-msg-whatsapp-icon-page i {

    font-size: 34px;

}


/* =====================================================
   HOVER
====================================================== */

.w-msg-whatsapp-icon-page a:hover {

    color: #ffffff;

    transform: scale(1.08);

    box-shadow:
        0 8px 25px rgba(37, 211, 102, .45);

}


/* =====================================================
   ANIMACIÓN
====================================================== */

.w-msg-whatsapp-icon-page a {

    animation:
        whatsappPulse 2s infinite;

}


@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, .55);
    }

    70% {
        box-shadow:
            0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0);
    }

}


/* =====================================================
   MOBILE
====================================================== */

@media (max-width: 576px) {

    .w-msg-whatsapp-icon-page {

        right: 15px;
        bottom: 15px;

    }

    .w-msg-whatsapp-icon-page a {

        width: 56px;
        height: 56px;

    }

    .w-msg-whatsapp-icon-page i {

        font-size: 30px;

    }

}

.offcanvas-menu-apps {
    background: #000;
    width: 320px !important;
    color: white;
}

.offcanvas-title{
    color: #fff;
}



