/* ============================================================
   EL DÍA DE TU SUERTE RD — SISTEMA VISUAL PREMIUM
   Paleta: negro profundo · verde esmeralda · oro
   ============================================================ */

:root {
    /* ---------- FONDOS ---------- */
    --bg:          #050805;
    --bg-dark:     #030503;
    --bg-card:     #0A1410;
    --bg-elev:     #0E1A14;
    --bg-input:    #08120D;
    --bg-box:      #070F0B;

    /* ---------- BORDES ---------- */
    --border:      rgba(63, 224, 160, 0.14);
    --border-2:    rgba(63, 224, 160, 0.30);
    --border-gold: rgba(212, 160, 23, 0.30);
    --hairline:    rgba(255, 255, 255, 0.06);

    /* ---------- TEXTO ---------- */
    --text:        #F4F6F0;
    --muted:       #AEB8AE;
    --muted-2:     #77857A;

    /* ---------- ORO ---------- */
    --gold-hi:     #FBEFC6;
    --accent-light:#EFCB63;
    --accent:      #D4A017;
    --gold-deep:   #8A6410;
    --gold-grad:   linear-gradient(135deg, #FBEFC6 0%, #EACA68 26%, #D4A017 58%, #9A730F 100%);

    /* ---------- VERDE ---------- */
    --green-hi:    #C6FFE4;
    --green-bright:#3FE0A0;
    --green-mid:   #17B473;
    --green:       #0E7A4C;
    --green-deep:  #073221;
    --green-grad:  linear-gradient(135deg, #C6FFE4 0%, #59EDB6 28%, #17B473 64%, #0B6E45 100%);
    --success:     #3FE0A0;

    /* Línea que mezcla las dos marcas: verde + oro */
    --brand-line:  linear-gradient(90deg, transparent, rgba(63,224,160,.45) 18%, rgba(251,239,198,.85) 50%, rgba(63,224,160,.45) 82%, transparent);

    /* ---------- ESTADOS ---------- */
    --red:         #B31E24;
    --danger:      #FF5F5F;

    /* ---------- FORMA ---------- */
    --radius:      18px;
    --radius-sm:   12px;
    --radius-xs:   8px;
    --radius-pill: 999px;

    /* ---------- SOMBRAS ---------- */
    --shadow-sm:    0 2px 12px rgba(0, 0, 0, 0.45);
    --shadow:       0 24px 50px -24px rgba(0, 0, 0, 0.95);
    --shadow-gold:  0 20px 45px -22px rgba(212, 160, 23, 0.42);
    --shadow-green: 0 20px 45px -22px rgba(63, 224, 160, 0.38);

    /* ---------- TIPOGRAFÍA ---------- */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Atmósfera: verde esmeralda dominante + destellos de oro */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(820px 500px at 8% -6%,   rgba(23, 180, 115, 0.13), transparent 62%),
        radial-gradient(780px 480px at 95% 4%,   rgba(212, 160, 23, 0.12), transparent 62%),
        radial-gradient(900px 560px at 62% 106%, rgba(14, 122, 76, 0.13), transparent 66%),
        radial-gradient(760px 480px at 18% 104%, rgba(212, 160, 23, 0.07), transparent 64%);
}

body > * { position: relative; z-index: 1; }

a, button { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; }

::selection {
    background: rgba(63, 224, 160, 0.30);
    color: var(--green-hi);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-deep), #3E2C07);
    border-radius: var(--radius-pill);
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--green-bright);
    outline-offset: 3px;
}

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-transform: none;
}

.rifa-card__title,
.faq-item strong,
.verif-card__titulo,
.banco-name {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.rifa-card__precio,
.card__price,
.rifa-card__oportunidades,
.precio,
.contador,
.banco-cuenta,
.verif-card__chip,
.total-badge {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* Marca: mismo tratamiento en header y footer, en verde */
.topnav__logo,
footer h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    background: var(--green-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--green-bright);
}

/* ============================================================
   ICONOS SVG
   ============================================================ */
.ico {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -3px;
}

.ico--lg { width: 30px; height: 30px; stroke-width: 1.5; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.oculto { display: none !important; }

/* ============================================================
   HEADER LEGADO
   ============================================================ */
header {
    text-align: center;
    padding: 18px 16px;
    background: linear-gradient(180deg, #030503, #0A120D);
    border-bottom: 1px solid var(--border);
}

header h1 {
    font-size: clamp(1.2rem, 4vw, 2.1rem);
    background: var(--green-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    margin-top: 6px;
    font-size: clamp(0.78rem, 2vw, 0.95rem);
    color: var(--muted);
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.topnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(4, 9, 6, 0.84);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border-bottom: 1px solid rgba(63, 224, 160, 0.16);
}

.topnav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--brand-line);
    opacity: 0.75;
}

.topnav__inner {
    max-width: 1320px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
}

.topnav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-decoration: none;
    transition: filter 0.25s var(--ease);
}

.topnav__logo:hover { filter: brightness(1.15); }

.topnav__logo img {
    height: 46px !important;
    width: 46px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(63, 224, 160, 0.45);
    box-shadow: 0 0 0 3px rgba(63, 224, 160, 0.08), 0 6px 18px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.topnav__logo:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(63, 224, 160, 0.16), 0 8px 22px rgba(63, 224, 160, 0.28);
}

.topnav__links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.topnav__link {
    position: relative;
    color: var(--muted-2);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 11px 18px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid transparent;
    transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
    white-space: nowrap;
}

.topnav__link:hover {
    color: var(--green-hi);
    background: rgba(63, 224, 160, 0.08);
}

.topnav__link.active {
    color: #120E02;
    background: var(--gold-grad);
    border-color: rgba(251, 239, 198, 0.35);
    box-shadow: 0 6px 18px -8px rgba(212, 160, 23, 0.7);
}

.topnav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(212, 160, 23, 0.07);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.25s var(--ease);
}

.topnav__toggle:hover { background: rgba(212, 160, 23, 0.14); }

.topnav__toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-light);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.topnav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav__toggle.open span:nth-child(2) { opacity: 0; }
.topnav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BANNER PWA
   ============================================================ */
.pwa-banner {
    display: none;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0A120D, #0F1A14);
    border-bottom: 1px solid var(--border-2);
    padding: 12px 16px;
    position: relative;
    z-index: 60;
}

.pwa-banner.show { display: flex; }

.pwa-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-2);
}

.pwa-banner__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.pwa-banner__text strong {
    font-size: 0.88rem;
    color: var(--green-hi);
    font-weight: 600;
}

.pwa-banner__text span {
    font-size: 0.76rem;
    color: var(--muted);
}

.pwa-banner__btn {
    background: var(--green-grad);
    color: #03150D;
    border: none;
    border-radius: var(--radius-pill);
    padding: 9px 20px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 6px 16px -8px rgba(63, 224, 160, 0.85);
}

.pwa-banner__close {
    background: none;
    border: none;
    color: var(--muted-2);
    font-size: 1.05rem;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.pwa-banner__close:hover { color: var(--text); }

@media (min-width: 601px) {
    .pwa-banner { display: none !important; }
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: linear-gradient(145deg, #2CE070, #17A94E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    z-index: 70;
    text-decoration: none;
    animation: whatsapp-pulse 2.8s ease-in-out infinite;
    transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover { transform: scale(1.09) translateY(-2px); }

@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
}

/* ============================================================
   ENLACE VOLVER
   ============================================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin: 20px 0 4px;
    padding: 9px 16px 9px 13px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.02);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.back-link:hover {
    color: var(--green-hi);
    border-color: var(--border-2);
    transform: translateX(-3px);
}

/* ============================================================
   CONTENEDOR
   ============================================================ */
.main-container {
    max-width: 1320px;
    margin: auto;
    padding: 24px 24px 60px;
}

/* ============================================================
   HOME · HERO
   ============================================================ */
.home-hero {
    position: relative;
    padding: clamp(46px, 8vw, 96px) 0 clamp(34px, 5vw, 60px);
}

.home-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(63, 224, 160, 0.08);
    border: 1px solid var(--border-2);
    color: var(--green-bright);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 8px 18px;
    margin-bottom: 26px;
    border-radius: var(--radius-pill);
    transform: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.home-hero__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 10px var(--green-bright);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

.home-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: none;
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    max-width: 15ch;
}

.home-hero h1 em {
    font-style: italic;
    font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.home-hero p {
    color: var(--muted);
    font-size: clamp(1rem, 2.2vw, 1.13rem);
    max-width: 54ch;
    margin-bottom: 34px;
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn-solid,
.btn-outline,
.btn-confirmar,
.verif-search button,
.btn-reintentar {
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    isolation: isolate;
}

.btn-solid::after,
.btn-confirmar::after,
.verif-search button::after,
.rifa-card__cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -140%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-22deg);
    transition: left 0.7s var(--ease);
    pointer-events: none;
}

.btn-solid:hover::after,
.btn-confirmar:hover::after,
.verif-search button:hover::after,
.rifa-card:hover .rifa-card__cta::after { left: 140%; }

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-grad);
    color: #120E02;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    box-shadow: 0 14px 34px -14px rgba(212, 160, 23, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-solid:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 20px 42px -14px rgba(212, 160, 23, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-solid:active { transform: translateY(-1px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(63, 224, 160, 0.04);
    color: var(--green-hi);
    border: 1px solid var(--border-2);
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-outline:hover {
    background: rgba(63, 224, 160, 0.12);
    border-color: var(--green-bright);
    transform: translateY(-3px);
}

.btn-reintentar {
    margin-top: 16px;
    background: var(--green-grad);
    color: #03150D;
    border: none;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    box-shadow: 0 12px 28px -14px rgba(63, 224, 160, 0.85);
    transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-reintentar:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ============================================================
   HOME · SECCIÓN DE RIFAS
   ============================================================ */
.rifas-section { padding-top: 8px; }

.rifas-section h2 {
    position: relative;
    font-size: clamp(1.7rem, 4.2vw, 2.6rem);
    margin: 12px 0 30px;
    padding-bottom: 18px;
    letter-spacing: -0.02em;
}

.rifas-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 78px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green-bright));
}

.rifas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
}

/* ---------- TARJETA DE RIFA ---------- */
.rifa-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #0C1210, #070A08);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.rifa-card::before,
.rifa-card::after { content: none; }

.rifa-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow), var(--shadow-gold);
}

/* Formato fijo 4:3 — toda foto se ve completa y pareja */
.rifa-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-box);
    overflow: hidden;
}

.rifa-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 44%, rgba(6,13,9,0.90) 100%);
    pointer-events: none;
}

.rifa-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s var(--ease);
}

.rifa-card:hover .rifa-card__img-wrap img { transform: scale(1.06); }

.rifa-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(8, 10, 7, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    color: var(--accent-light);
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.rifa-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.rifa-card__title {
    font-size: clamp(1.18rem, 2.4vw, 1.38rem);
    line-height: 1.25;
}

.rifa-card__desc {
    color: var(--muted-2);
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- PROGRESO EN LA TARJETA ---------- */
.rifa-card__progreso {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--hairline);
}

.rifa-card .barra {
    height: 10px;
    border: none;
}

.rifa-card .relleno {
    font-size: 0;
    min-width: 0;
}

.rifa-card__progreso-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.rifa-card__progreso-meta > span:first-child {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.rifa-card__pct {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--green-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--green-bright);
}

.rifa-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.rifa-card__precio {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rifa-card__precio-label,
.rifa-card__oportunidades {
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.rifa-card__cta {
    position: relative;
    overflow: hidden;
    margin-top: 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--gold-grad);
    color: #120E02;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px;
    border-radius: var(--radius-pill);
    font-size: 0.79rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: filter 0.25s var(--ease);
}

.rifa-card:hover .rifa-card__cta { filter: brightness(1.08); }

/* ---------- ESTADO VACÍO ---------- */
.estado-vacio {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted-2);
    padding: 64px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    animation: fade-soft 1.8s ease-in-out infinite;
}

@keyframes fade-soft {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

.estado-vacio__icono {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.estado-vacio__msg {
    max-width: 46ch;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================================
   RIFA · HERO DEL PREMIO
   ============================================================ */
.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    justify-content: center;
    align-items: center;
    margin: 20px 0 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 48%),
        linear-gradient(160deg, #0C1210, #060907);
    padding: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow);
}

.imagen {
    flex: 1;
    min-width: 260px;
    max-width: 520px;
}

.imagen img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-2);
    display: block;
    box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 0.95);
}

.info {
    flex: 1;
    min-width: 260px;
    max-width: 520px;
    text-align: center;
}

.info h2 {
    font-size: clamp(1.8rem, 5vw, 2.9rem);
    margin-bottom: 12px;
    color: var(--text);
}

.info p {
    color: var(--muted);
    font-size: clamp(0.95rem, 2.4vw, 1.06rem);
    line-height: 1.7;
}

.precio {
    margin: 20px 0;
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contador {
    font-size: clamp(0.95rem, 3.4vw, 1.35rem);
    color: var(--green-hi);
    background: linear-gradient(180deg, #0A140E, #050805);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    display: inline-block;
    border: 1px solid var(--border-2);
    letter-spacing: 0.14em;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 22px -12px rgba(63, 224, 160, 0.55);
}

/* ============================================================
   BARRA DE PROGRESO
   ============================================================ */
.progreso-rifa {
    width: 100%;
    margin: 0 0 38px;
}

.barra {
    position: relative;
    width: 100%;
    height: 24px;
    background: linear-gradient(180deg, #0A120D, #060906);
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 1px solid var(--hairline);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.relleno {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0E7A4C, #17B473 55%, var(--green-bright));
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #04150D;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    transition: width 1s var(--ease);
    min-width: 52px;
    box-shadow: 0 0 18px rgba(63, 224, 160, 0.35);
    overflow: hidden;
}

.relleno::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-100%) skewX(-20deg);
    animation: barra-shine 3s var(--ease) infinite;
}

@keyframes barra-shine {
    0%        { transform: translateX(-120%) skewX(-20deg); }
    55%, 100% { transform: translateX(320%)  skewX(-20deg); }
}

#texto-progreso {
    text-align: center;
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   TARJETA DE COMPRA
   ============================================================ */
.checkout-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, #0B100D, #060907);
    max-width: 640px;
    margin: 0 auto 52px;
    padding: 38px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow);
}

.checkout-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sub-label {
    font-size: 0.84rem;
    color: var(--muted-2);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--brand-line);
    opacity: 0.4;
    margin: 32px 0;
}

/* ---------- CONTROL DE BOLETOS ---------- */
.control-boletos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 14px;
}

#btn-restar,
#btn-sumar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(251, 239, 198, 0.35);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    background: var(--gold-grad);
    color: #120E02;
    font-weight: 700;
    font-family: var(--font-body);
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s, border-color 0.25s;
    flex-shrink: 0;
    touch-action: manipulation;
    box-shadow: 0 10px 24px -12px rgba(212, 160, 23, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Al presionar: de dorado a verde */
#btn-restar:hover,
#btn-sumar:hover,
#btn-restar:focus,
#btn-sumar:focus {
    background: var(--green-grad);
    color: #03150D;
    border-color: rgba(198, 255, 228, 0.45);
    transform: scale(1.08);
    box-shadow: 0 14px 30px -12px rgba(63, 224, 160, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#btn-restar:active,
#btn-sumar:active {
    background: var(--green-grad);
    color: #03150D;
    transform: scale(0.93);
    box-shadow: 0 6px 16px -8px rgba(63, 224, 160, 0.9), inset 0 2px 5px rgba(0, 0, 0, 0.28);
}

#cantidad {
    font-family: var(--font-mono);
    font-size: clamp(2.2rem, 6vw, 2.9rem);
    font-weight: 700;
    min-width: 62px;
    text-align: center;
    color: var(--text);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.label-cantidad {
    font-size: 0.68rem;
    text-align: center;
    margin-top: 10px;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.total-badge {
    display: block;
    width: fit-content;
    font-size: clamp(1.15rem, 3.6vw, 1.45rem);
    font-weight: 700;
    color: var(--green-bright);
    margin: 20px auto 0;
    text-align: center;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    background: rgba(63, 224, 160, 0.08);
    border: 1px solid rgba(63, 224, 160, 0.28);
    letter-spacing: -0.01em;
    box-shadow: 0 10px 26px -16px rgba(63, 224, 160, 0.75);
}

/* ---------- FORMULARIO ---------- */
.input-group {
    margin-bottom: 18px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.formulario input[type="text"],
.formulario input[type="tel"],
.formulario input[type="email"] {
    width: 100%;
    padding: 15px 18px;
    background: var(--bg-input);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    -webkit-appearance: none;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.formulario input::placeholder { color: #566159; }

.formulario input:focus {
    border-color: var(--accent);
    background: #0D110E;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.5), 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.formulario input.campo-error {
    border-color: var(--danger) !important;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.5), 0 0 0 3px rgba(255, 95, 95, 0.14) !important;
}

.phone-block {
    display: flex;
    gap: 10px;
}

/* ---------- MÉTODOS DE PAGO ---------- */
.metodos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.metodo-item {
    background: var(--bg-input);
    border: 1px solid var(--hairline);
    padding: 15px 6px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.84rem;
    color: var(--muted);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
    user-select: none;
    touch-action: manipulation;
}

.metodo-item:hover {
    border-color: var(--border-2);
    color: var(--text);
    transform: translateY(-2px);
}

.metodo-item.active {
    border-color: var(--accent);
    background: rgba(212, 160, 23, 0.11);
    color: var(--gold-hi);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.10), 0 10px 24px -16px rgba(212, 160, 23, 0.95);
}

/* ---------- CAJAS DE BANCO ---------- */
.detalles-banco-box {
    background: linear-gradient(180deg, #0A140E, #060A07);
    border: 1px solid var(--border);
    padding: 24px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.detalles-banco-box.oculto { display: none !important; }

.banco-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text);
}

.banco-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

/* Fila de cuenta con botón de copiar */
.cuenta-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 8px;
    max-width: 340px;
}

.banco-cuenta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(1.05rem, 3.4vw, 1.3rem);
    color: var(--green-bright);
    letter-spacing: 0.08em;
    font-weight: 700;
    background: rgba(63, 224, 160, 0.07);
    border: 1px solid rgba(63, 224, 160, 0.22);
    border-radius: var(--radius-xs);
    padding: 11px 14px;
    margin: 0;
}

.banco-cuenta small {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.btn-copiar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(63, 224, 160, 0.10);
    border: 1px solid rgba(63, 224, 160, 0.30);
    color: var(--green-bright);
    border-radius: var(--radius-xs);
    padding: 0 15px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.25s;
    touch-action: manipulation;
}

.btn-copiar:hover {
    background: rgba(63, 224, 160, 0.20);
    transform: translateY(-1px);
}

.btn-copiar:active { transform: translateY(0) scale(0.97); }

.btn-copiar.copiado {
    background: var(--green-grad);
    color: #03150D;
    border-color: rgba(198, 255, 228, 0.45);
}

.banco-titular {
    font-size: 0.82rem;
    color: var(--muted-2);
    margin-top: 8px;
}

.resumen-flotante {
    display: inline-block;
    background: rgba(212, 160, 23, 0.09);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    margin-top: 16px;
    font-weight: 600;
    border: 1px solid var(--border-gold);
}

/* ---------- COMPROBANTE ---------- */
.upload-zone {
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
    border-radius: var(--radius-sm);
    padding: 34px 22px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.upload-zone:hover {
    border-color: var(--accent);
    background: rgba(212, 160, 23, 0.06);
    transform: translateY(-2px);
}

.upload-zone.archivo-ok {
    border-color: var(--green-bright);
    border-style: solid;
    background: rgba(63, 224, 160, 0.10);
}

.upload-zone.archivo-ok .upload-label { color: var(--green-bright); }

.upload-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.upload-zone.archivo-ok .upload-icon {
    background: rgba(63, 224, 160, 0.12);
    border-color: var(--border-2);
    color: var(--green-bright);
}

.upload-icon .ico { width: 24px; height: 24px; }

/* ---------- TÉRMINOS ---------- */
.terminos-container {
    margin: 26px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    font-size: 0.9rem;
    color: var(--muted);
    flex-wrap: wrap;
    text-align: center;
}

.terminos-container input[type="checkbox"] {
    cursor: pointer;
    width: 19px;
    height: 19px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.terminos-container strong { color: var(--accent-light); }

/* ---------- BOTÓN CONFIRMAR ---------- */
.btn-confirmar {
    display: block;
    width: 100%;
    background: var(--gold-grad);
    color: #120E02;
    border: none;
    padding: 19px;
    border-radius: var(--radius-pill);
    font-size: clamp(0.88rem, 2.6vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
    touch-action: manipulation;
    box-shadow: 0 16px 38px -16px rgba(212, 160, 23, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-confirmar:hover:not(:disabled) {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 22px 46px -16px rgba(212, 160, 23, 1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-confirmar:active:not(:disabled) { transform: translateY(-1px); }

.btn-confirmar:disabled {
    background: #17211B;
    color: #566159;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-confirmar:disabled::after { display: none; }

/* ---------- MENSAJES ---------- */
.mensaje-form {
    margin-top: 18px;
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: pre-line;
    line-height: 1.65;
}

.mensaje-form.oculto { display: none !important; }

.mensaje-form.error {
    background: rgba(255, 95, 95, 0.10);
    border: 1px solid rgba(255, 95, 95, 0.4);
    color: #FF8A8A;
}

.mensaje-form.exito {
    background: rgba(63, 224, 160, 0.10);
    border: 1px solid rgba(63, 224, 160, 0.4);
    color: var(--green-bright);
}

/* ============================================================
   VERIFICADOR
   ============================================================ */
.verif-header {
    text-align: center;
    margin: 26px auto 34px;
    max-width: 620px;
}

.verif-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(63, 224, 160, 0.09);
    border: 1px solid var(--border-2);
    color: var(--green-bright);
    box-shadow: 0 0 0 6px rgba(63, 224, 160, 0.05), 0 14px 34px -18px rgba(63, 224, 160, 0.8);
}

.verif-header h1 {
    font-size: clamp(1.9rem, 5vw, 2.9rem);
    letter-spacing: -0.025em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.verif-header p {
    color: var(--muted);
    font-size: 1rem;
    margin: 14px auto 0;
    line-height: 1.7;
}

.verif-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 0 auto 26px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--hairline);
    padding: 6px;
    border-radius: var(--radius-pill);
    width: fit-content;
    max-width: 100%;
}

.verif-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted-2);
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.verif-tab:hover { color: var(--text); }

.verif-tab.active {
    background: var(--green-grad);
    color: #03150D;
    border-color: rgba(198, 255, 228, 0.3);
    box-shadow: 0 8px 20px -10px rgba(63, 224, 160, 0.9);
}

.verif-search.oculto { display: none !important; }

.verif-search {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto 38px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 50%),
        linear-gradient(180deg, #0B100D, #060907);
    padding: 26px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.verif-search input,
.verif-search select {
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--hairline);
    background: var(--bg-input);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
    outline: none;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    -webkit-appearance: none;
    appearance: none;
}

.verif-search select {
    background-image: linear-gradient(45deg, transparent 50%, var(--green-bright) 50%),
                      linear-gradient(135deg, var(--green-bright) 50%, transparent 50%);
    background-position: calc(100% - 22px) center, calc(100% - 16px) center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.verif-search input::placeholder { color: #566159; }

.verif-search input:focus,
.verif-search select:focus {
    border-color: var(--accent);
    box-shadow: inset 0 2px 6px rgba(0,0,0,.5), 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.verif-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--gold-grad);
    color: #120E02;
    border: none;
    padding: 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 4px;
    box-shadow: 0 14px 32px -16px rgba(212, 160, 23, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.verif-search button:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ---------- RESUMEN ---------- */
.verif-summary {
    max-width: 900px;
    margin: 0 auto 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent), #0A0F0C;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.verif-summary__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(63, 224, 160, 0.10);
    border: 1px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--green-bright);
    flex-shrink: 0;
}

.verif-summary__info { flex: 1; min-width: 180px; }

.verif-summary__nombre {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.verif-summary__tel {
    color: var(--muted-2);
    font-size: 0.85rem;
    margin-top: 2px;
    font-family: var(--font-mono);
}

.verif-summary__count {
    color: var(--green-bright);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-pill);
    background: rgba(63, 224, 160, 0.08);
}

/* ---------- TARJETAS DE BOLETO ---------- */
.verif-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.verif-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #0C1210, #070A08);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.verif-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
}

.verif-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-box);
}

.verif-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.verif-card__codigo {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(5, 14, 10, 0.80);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-2);
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}

.verif-card__fecha {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(5, 14, 10, 0.80);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--muted);
    font-size: 0.7rem;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
}

.verif-card__body { padding: 18px 20px 20px; }

.verif-card__estado {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hairline);
}

.verif-card__estado-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    display: inline-block;
}

.verif-card__estado-dot.en_revision {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.verif-card__estado-dot.available {
    background: var(--muted-2);
    box-shadow: none;
}

.verif-card__titulo {
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.verif-card__numeros-label {
    font-size: 0.66rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Boleto: formato rectangular tipo ticket, en verde */
.verif-card__chip {
    display: inline-block;
    min-width: 96px;
    text-align: center;
    background: linear-gradient(180deg, rgba(63, 224, 160, 0.16), rgba(63, 224, 160, 0.06));
    border: 1px solid rgba(63, 224, 160, 0.35);
    color: var(--green-hi);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.16em;
    padding: 7px 20px;
    border-radius: var(--radius-xs);
    margin: 0 8px 9px 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 6px 16px -10px rgba(63, 224, 160, 0.8);
}

.verif-card__propietario {
    font-size: 0.8rem;
    color: var(--muted-2);
    margin-top: 4px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    margin-top: 24px;
    padding: 44px 0 20px;
    border-top: 1px solid var(--hairline);
}

.faq-section__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    margin-bottom: 26px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: -0.02em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-toggle {
    background: var(--gold-grad);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -10px rgba(212, 160, 23, 0.9);
    transition: transform 0.25s var(--ease);
}

.faq-toggle:hover { transform: scale(1.08); }

.faq-toggle__icon {
    width: 9px;
    height: 9px;
    border-right: 2px solid #120E02;
    border-bottom: 2px solid #120E02;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.3s var(--ease), margin 0.3s var(--ease);
}

.faq-toggle.open .faq-toggle__icon {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.faq {
    max-width: 760px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
}

.faq.open { max-height: 900px; }

.faq-item {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent), #0A0F0C;
    padding: 20px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--hairline);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-grad);
}

.faq-item:hover {
    border-color: var(--border-gold);
    transform: translateX(3px);
}

.faq-item strong {
    display: block;
    color: var(--text);
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.faq-item p {
    color: var(--muted-2);
    font-size: 0.9rem;
    line-height: 1.68;
}

/* ============================================================
   PÁGINA 404
   ============================================================ */
.error-404 {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 24px;
}

.error-404__icono {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    margin-bottom: 10px;
}

.error-404__codigo {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-404 h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 14px;
}

.error-404 p {
    color: var(--muted);
    max-width: 46ch;
    margin-bottom: 34px;
    line-height: 1.7;
}

.error-404__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    position: relative;
    background: linear-gradient(180deg, #050805, #020402);
    text-align: center;
    padding: 46px 24px 38px;
    margin-top: 60px;
    border-top: 1px solid var(--hairline);
}

footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--brand-line);
    opacity: 0.6;
}

footer h3 { font-size: clamp(1.15rem, 3vw, 1.5rem); }

footer p {
    color: var(--muted-2);
    font-size: 0.82rem;
    margin-top: 10px;
    letter-spacing: 0.02em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
    .topnav__inner { position: relative; padding: 12px 16px; }

    .topnav__toggle { display: flex; }

    .topnav__links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 6px;
        background: rgba(4, 9, 6, 0.97);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        padding: 14px 18px 20px;
        border-bottom: 1px solid var(--border-2);
        box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.95);
    }

    .topnav__links.open { display: flex; animation: nav-drop 0.28s var(--ease); }

    @keyframes nav-drop {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .topnav__link { text-align: center; padding: 13px 18px; }

    .topnav__inner { gap: 8px; }
    .topnav__logo { font-size: clamp(0.8rem, 4vw, 0.98rem); gap: 8px; }
    .topnav__logo img { height: 40px !important; width: 40px !important; }
    .topnav__toggle { margin-left: auto; }

    .main-container { padding: 16px 16px 48px; }

    .home-hero { padding: 34px 0 26px; }

    .home-hero__actions { flex-direction: column; align-items: stretch; }

    .btn-solid, .btn-outline { justify-content: center; }

    .rifas-grid { grid-template-columns: 1fr; gap: 20px; }

    .checkout-card { padding: 26px 18px; }

    .hero { padding: 20px; gap: 22px; }

    .cuenta-row { flex-direction: column; max-width: none; }
    .btn-copiar { padding: 11px 15px; }

    .verif-search { padding: 20px 16px; }

    .verif-tabs { width: 100%; flex-direction: column; border-radius: var(--radius-sm); }

    .verif-tab { border-radius: var(--radius-sm); justify-content: center; }

    .faq-item { padding: 16px 18px; }
}

@media (max-width: 400px) {
    .main-container { padding: 12px 12px 40px; }

    .checkout-card { padding: 22px 14px; }

    .metodos-grid { gap: 7px; }

    .metodo-item { font-size: 0.74rem; padding: 12px 4px; }

    #btn-restar, #btn-sumar { width: 46px; height: 46px; font-size: 21px; }

    .control-boletos { gap: 20px; }
}

@media (min-width: 601px) and (max-width: 900px) {
    .main-container { padding: 24px 26px 56px; }

    .hero { flex-direction: row; align-items: center; gap: 26px; }

    .imagen { max-width: 340px; }

    .checkout-card { max-width: 560px; padding: 32px 26px; }
}

@media (min-width: 901px) and (max-width: 1400px) {
    .main-container { padding: 32px 36px 64px; }

    .hero { gap: 44px; padding: 40px; }

    .imagen { max-width: 500px; }

    .checkout-card { max-width: 620px; padding: 40px 34px; }
}

@media (min-width: 1401px) {
    .main-container { max-width: 1500px; padding: 44px 64px 80px; }

    .hero { gap: 62px; padding: 56px; }

    .imagen, .info { max-width: 600px; }

    .checkout-card { max-width: 700px; padding: 50px 44px; }

    .faq { max-width: 900px; }

    .faq-item strong { font-size: 1.12rem; }
    .faq-item p      { font-size: 0.98rem; }

    #btn-restar, #btn-sumar { width: 58px; height: 58px; font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
