/*
 * ganamos-ui.css — Sistema único de botones del portal y el chat de Ganamos Argentina.
 *
 * Se carga al FINAL de index.html (después de chat-widget.css) y solo aplica al mercado ARG.
 * Solo presentación: no toca IDs, onclick ni lógica.
 *
 * Reglas del sistema:
 *   Dorado   → acción principal de la pantalla (sobre fondo oscuro).
 *   Violeta  → acción principal dentro del chat (fondo claro).
 *   Verde    → WhatsApp y confirmaciones de dinero.
 *   Contorno → acciones secundarias.
 *   ×        → un solo botón de cierre: redondo, 36 px visibles, 44 px tocables.
 */

html[data-smartplay-market='arg'] {
    --gn-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --gn-radius: 14px;
    --gn-h: 48px;
    --gn-h-sm: 40px;
    --gn-gold: linear-gradient(180deg, #ffe58f 0%, #f7c948 52%, #e3a321 100%);
    --gn-gold-hover: linear-gradient(180deg, #fff0b3 0%, #f9d466 52%, #eab033 100%);
    --gn-on-gold: #2a1404;
    --gn-gold-shadow: 0 8px 22px rgba(245, 194, 66, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    --gn-violet: linear-gradient(135deg, #7c3aed 0%, #a21caf 100%);
    --gn-violet-shadow: 0 8px 20px rgba(124, 58, 237, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    --gn-green: linear-gradient(180deg, #3ee688 0%, #16a34a 100%);
    --gn-on-green: #04331a;
    --gn-green-shadow: 0 8px 20px rgba(22, 163, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    --gn-focus: 0 0 0 3px rgba(255, 214, 107, 0.6);
    --gn-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------
   Base común a todos los botones del sistema
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnOk, #pwaTutorialBtnInstall,
    #pwaTutorialBtnCopyUrl, #globalPopupCloseBtn, #ganamosSessionNoticeWa,
    #authBtn, #authRecoverySendBtn, #authRecoveryBackBtn, #chatNotificationOptInBtn,
    #chatWidget .chat-casino-creds__confirm-btn, #chatWidget .chat-deposit-panel__upload,
    #chatWidget .chat-deposit-first-welcome__cta
) {
    font-family: var(--gn-font) !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    min-height: var(--gn-h) !important;
    padding: 0 20px !important;
    border-radius: var(--gn-radius) !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1.2 !important;
    cursor: pointer;
    text-shadow: none !important;
    transition: transform 0.15s var(--gn-ease), box-shadow 0.25s var(--gn-ease), filter 0.2s ease, background 0.25s ease !important;
    -webkit-tap-highlight-color: transparent;
}
html[data-smartplay-market='arg'] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnOk, #pwaTutorialBtnInstall,
    #pwaTutorialBtnCopyUrl, #globalPopupCloseBtn, #ganamosSessionNoticeWa,
    #authBtn, #authRecoverySendBtn, #authRecoveryBackBtn, #chatNotificationOptInBtn,
    #chatWidget .chat-casino-creds__confirm-btn, #chatWidget .chat-deposit-panel__upload,
    #chatWidget .chat-deposit-first-welcome__cta
):active {
    transform: scale(0.97) !important;
}
html[data-smartplay-market='arg'] body :is(button, a, [role='button'], label[for]):focus-visible {
    outline: none !important;
    box-shadow: var(--gn-focus) !important;
}

/* ------------------------------------------------------------------
   Dorado: acción principal sobre fondo oscuro
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnInstall, #globalPopupCloseBtn
) {
    background: var(--gn-gold) !important;
    color: var(--gn-on-gold) !important;
    box-shadow: var(--gn-gold-shadow) !important;
    font-size: 16px !important;
}
html[data-smartplay-market='arg'] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnInstall, #globalPopupCloseBtn
):hover {
    background: var(--gn-gold-hover) !important;
    box-shadow: 0 12px 28px rgba(245, 194, 66, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}
html[data-smartplay-market='arg'] body #introBtnLogin { width: 100% !important; }
html[data-smartplay-market='arg'] body #introBtnLogin .casino-intro__btn-lines,
html[data-smartplay-market='arg'] body #introBtnLogin .casino-intro__btn-line-main {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: inherit !important;
}
html[data-smartplay-market='arg'] body #firstDepositBonusCta { width: 100% !important; }

/* El botón dorado compacto de las tarjetas «Instalá la app» sigue la misma familia */
html.smartplay-chat-ganamos .gn-install--top .gn-install__cta {
    font-family: var(--gn-font) !important;
    min-height: 40px !important;
    border-radius: 12px !important;
    background: var(--gn-gold) !important;
    color: var(--gn-on-gold) !important;
    box-shadow: var(--gn-gold-shadow) !important;
}

/* ------------------------------------------------------------------
   Contorno: secundaria sobre fondo oscuro
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body #pwaTutorialBtnCopyUrl {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f4efff !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22) !important;
    font-size: 15px !important;
}
html[data-smartplay-market='arg'] body #pwaTutorialBtnCopyUrl:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* ------------------------------------------------------------------
   Verde: WhatsApp y confirmaciones de dinero
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body :is(
    #ganamosSessionNoticeWa, #chatWidget .chat-casino-creds__confirm-btn, #chatWidget .chat-deposit-panel__upload
) {
    background: var(--gn-green) !important;
    color: var(--gn-on-green) !important;
    box-shadow: var(--gn-green-shadow) !important;
    font-size: 15px !important;
}
html[data-smartplay-market='arg'] body :is(
    #ganamosSessionNoticeWa, #chatWidget .chat-casino-creds__confirm-btn, #chatWidget .chat-deposit-panel__upload
):hover {
    filter: brightness(1.05);
}
html[data-smartplay-market='arg'] body #chatWidget .chat-casino-creds__confirm-btn { width: 100% !important; }

/* ------------------------------------------------------------------
   Violeta: acción principal dentro del chat
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body :is(#authBtn, #authRecoverySendBtn, #chatWidget .chat-deposit-first-welcome__cta) {
    background: var(--gn-violet) !important;
    color: #fff !important;
    box-shadow: var(--gn-violet-shadow) !important;
    font-size: 16px !important;
    width: 100% !important;
}
html[data-smartplay-market='arg'] body :is(#authBtn, #authRecoverySendBtn, #chatWidget .chat-deposit-first-welcome__cta):hover {
    filter: brightness(1.08);
}

/* Contorno claro: secundaria dentro del chat */
html[data-smartplay-market='arg'] body :is(#authRecoveryBackBtn, #chatNotificationOptInBtn) {
    background: #fff !important;
    color: #4c1d95 !important;
    box-shadow: inset 0 0 0 1.5px rgba(124, 58, 237, 0.32) !important;
    font-size: 15px !important;
    width: 100% !important;
}
html[data-smartplay-market='arg'] body :is(#authRecoveryBackBtn, #chatNotificationOptInBtn):hover {
    background: #f5f0ff !important;
}

/* Login dentro del chat: campos y enlaces coherentes */
html[data-smartplay-market='arg'] body #chatWidget .auth-container {
    gap: 12px !important;
    padding: 20px 18px !important;
    font-family: var(--gn-font) !important;
}
html[data-smartplay-market='arg'] body #chatWidget .auth-container input,
html[data-smartplay-market='arg'] body #chatWidget .auth-container select {
    font-family: var(--gn-font) !important;
    min-height: 50px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(124, 58, 237, 0.22) !important;
    background: #fff !important;
    color: #1d1530 !important;
    font-size: 16px !important;
}
html[data-smartplay-market='arg'] body #chatWidget .auth-container input:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16) !important;
    outline: none !important;
}
html[data-smartplay-market='arg'] body #chatWidget .auth-recovery-links__a,
html[data-smartplay-market='arg'] body #chatWidget .auth-toggle {
    font-family: var(--gn-font) !important;
    color: #6d28d9 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 8px 4px !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(109, 40, 217, 0.35);
}
html[data-smartplay-market='arg'] body #chatWidget #authTitle {
    font-family: var(--gn-font) !important;
    font-weight: 800 !important;
}

/* Campo «Subir foto o PDF» del comprobante: mismo lenguaje que los demás */
html[data-smartplay-market='arg'] body #chatWidget .chat-casino-creds__confirm-file {
    min-height: 52px !important;
    border-radius: 14px !important;
    border: 1.5px dashed rgba(124, 58, 237, 0.45) !important;
    background: #faf7ff !important;
    color: #4c1d95 !important;
    font-family: var(--gn-font) !important;
    font-weight: 800 !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}
html[data-smartplay-market='arg'] body #chatWidget .chat-casino-creds__confirm-file:hover {
    background: #f3ecff !important;
    border-color: #7c3aed !important;
}

/* Fuente única en los botones propios del chat */
html[data-smartplay-market='arg'] body #chatWidget :is(
    #sendBtn, .chat-deposit-tabs__btn, .chat-support-guide__chip, .chat-deposit-panel__copy,
    .chat-casino-creds__copy, .chat-casino-creds__reveal, .chat-casino-creds__toggle, .gn-wd__send,
    .gn-wd__chip, .gn-wd__change, #chatHeaderWhatsappBtn
) {
    font-family: var(--gn-font) !important;
    letter-spacing: 0 !important;
}

/* Pastilla «WhatsApp» del encabezado del chat: verde, legible */
html[data-smartplay-market='arg'] body #chatWidget:not(.minimized) #chatHeaderWhatsappBtn:not([hidden]),
html.smartplay-chat-ganamos body #chatWidget:not(.minimized) #chatHeaderWhatsappBtn:not([hidden]) {
    background: var(--gn-green, #16a34a) !important;
    color: var(--gn-on-green, #fff) !important;
    border: 0 !important;
    border-radius: 999px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
}

/* ------------------------------------------------------------------
   × único para cerrar
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body :is(
    #firstDepositBonusDismiss, #guidedOnboardingDismissBar, #guidedOnboardingDismissAll,
    #ganamosSessionNoticeClose, #chatNotificationOptInDismiss
) {
    position: relative;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-family: var(--gn-font) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s var(--gn-ease) !important;
}
html[data-smartplay-market='arg'] body :is(
    #firstDepositBonusDismiss, #guidedOnboardingDismissBar, #guidedOnboardingDismissAll,
    #ganamosSessionNoticeClose, #chatNotificationOptInDismiss
)::before {
    content: '';
    position: absolute;
    inset: -4px;
}
html[data-smartplay-market='arg'] body :is(
    #firstDepositBonusDismiss, #guidedOnboardingDismissBar, #guidedOnboardingDismissAll,
    #ganamosSessionNoticeClose, #chatNotificationOptInDismiss
):hover {
    background: rgba(255, 255, 255, 0.18) !important;
}
html[data-smartplay-market='arg'] body :is(
    #firstDepositBonusDismiss, #guidedOnboardingDismissBar, #guidedOnboardingDismissAll,
    #ganamosSessionNoticeClose, #chatNotificationOptInDismiss
):active {
    transform: scale(0.92);
}

/* ------------------------------------------------------------------
   Tarjetas de los popups: mismo radio, borde y sombra
   ------------------------------------------------------------------ */
html[data-smartplay-market='arg'] body :is(.first-deposit-bonus__card, .global-popup-box) {
    border-radius: 22px !important;
    border: 1px solid rgba(255, 214, 107, 0.28) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    font-family: var(--gn-font) !important;
}
html[data-smartplay-market='arg'] body .global-popup-box {
    background: linear-gradient(160deg, #22103f 0%, #160a2c 100%) !important;
    color: #f4efff !important;
    padding: 26px 22px 22px !important;
}
html[data-smartplay-market='arg'] body .global-popup-title {
    font-family: var(--gn-font) !important;
    color: #fff !important;
    font-weight: 800 !important;
}
html[data-smartplay-market='arg'] body .global-popup-message {
    color: rgba(244, 239, 255, 0.86) !important;
    line-height: 1.55 !important;
}
html[data-smartplay-market='arg'] body #globalPopupCloseBtn { width: 100% !important; margin-top: 16px !important; }

@media (prefers-reduced-motion: reduce) {
    html[data-smartplay-market='arg'] body * { transition-duration: 0.001ms !important; }
}

/* «Listo» solo cierra el tutorial: secundaria, no compite con «Instalar» */
html[data-smartplay-market='arg'] body #pwaTutorialBtnOk {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f4efff !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22) !important;
}
html[data-smartplay-market='arg'] body #pwaTutorialBtnOk:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* =====================================================================
   Pantalla de entrada del portal (ARG)
   ===================================================================== */
.gn-intro-tagline, .gn-intro-new, .gn-intro-legal { display: none; }

/* Fondo: violeta profundo con resplandores de marca y trama sutil */
html[data-smartplay-market="arg"] .casino-intro,
html[data-smartplay-market="arg"] .casino-intro__bg {
    background-color: #0b0516 !important;
}
html[data-smartplay-market="arg"] .casino-intro {
    justify-content: center !important;
    padding-top: max(1.25rem, env(safe-area-inset-top, 0px)) !important;
}
html[data-smartplay-market="arg"] .casino-intro__bg::before {
    background:
        radial-gradient(70% 45% at 50% -5%, rgba(124, 58, 237, 0.55), transparent 70%),
        radial-gradient(45% 38% at 100% 100%, rgba(217, 70, 239, 0.2), transparent 70%),
        radial-gradient(40% 35% at 0% 85%, rgba(242, 193, 78, 0.09), transparent 70%),
        linear-gradient(180deg, #160828 0%, #0b0516 100%) !important;
    animation: gnIntroGlow 14s ease-in-out infinite alternate;
}
html[data-smartplay-market="arg"] .casino-intro__bg::after {
    background: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px) 0 0 / 22px 22px !important;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 20%, transparent 75%);
    opacity: 0.8;
}
@keyframes gnIntroGlow {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.08) translateY(-12px); }
}

/* Caja */
html[data-smartplay-market="arg"] .casino-intro__content--classic {
    position: relative;
    max-width: 400px !important;
    margin: 0 auto !important;
    padding: 30px 26px 22px !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(38, 18, 68, 0.84) 0%, rgba(20, 10, 38, 0.9) 100%) !important;
    border: 1px solid rgba(201, 166, 255, 0.18) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(18px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
    animation: gnIntroCardIn 0.6s var(--gn-ease) both;
    font-family: var(--gn-font) !important;
}
html[data-smartplay-market="arg"] .casino-intro__content--classic::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 107, 0.85), transparent);
}
@keyframes gnIntroCardIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
html[data-smartplay-market="arg"] .casino-intro__arg { gap: 14px !important; }

/* Marca */
html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand {
    position: relative;
    gap: 6px !important;
    margin-bottom: 2px !important;
}
html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand::before {
    content: "";
    position: absolute;
    top: 6%;
    left: 50%;
    width: 190px;
    height: 190px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 63, 242, 0.45) 0%, rgba(139, 63, 242, 0) 68%);
    z-index: -1;
    animation: gnHalo 5s ease-in-out infinite;
}
@keyframes gnHalo {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__mascot {
    width: 150px !important;
    filter: drop-shadow(0 14px 26px rgba(76, 29, 149, 0.6)) !important;
    animation: gnMascotFloat 6s ease-in-out infinite;
}
@keyframes gnMascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__name {
    font-size: 34px !important;
    letter-spacing: 0.09em !important;
    background: linear-gradient(180deg, #fff6d2 0%, #f7c948 58%, #d99a1e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 3px 10px rgba(247, 201, 72, 0.25));
}
html[data-smartplay-market="arg"] .gn-intro-tagline {
    display: block;
    font-family: var(--gn-font);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(233, 221, 255, 0.62);
}

/* Texto */
html[data-smartplay-market="arg"] .casino-intro__arg-lead {
    max-width: 310px !important;
    font-family: var(--gn-font) !important;
    font-size: 15.5px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    color: rgba(240, 233, 255, 0.86) !important;
}
html[data-smartplay-market="arg"] .casino-intro__arg-lead b { color: #fff; font-weight: 800; }

/* Beneficios: tres tarjetitas en fila */
html[data-smartplay-market="arg"] .casino-intro__arg-pills {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px !important;
    margin: 2px 0 4px !important;
}
html[data-smartplay-market="arg"] .casino-intro__arg-pills li {
    flex-direction: column;
    gap: 8px !important;
    padding: 12px 6px 11px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--gn-font) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    color: rgba(240, 233, 255, 0.88) !important;
    animation: gnIntroCardIn 0.6s var(--gn-ease) both;
}
html[data-smartplay-market="arg"] .casino-intro__arg-pills li:nth-child(2) { animation-delay: 0.08s; }
html[data-smartplay-market="arg"] .casino-intro__arg-pills li:nth-child(3) { animation-delay: 0.16s; }
html[data-smartplay-market="arg"] .casino-intro__arg-pills i {
    width: 34px !important;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    color: #f7c948 !important;
    background: rgba(247, 201, 72, 0.12);
    box-shadow: inset 0 0 0 1px rgba(247, 201, 72, 0.28);
}

/* Acciones */
html[data-smartplay-market="arg"] .casino-intro__actions {
    gap: 12px !important;
    margin-top: 8px !important;
}
html[data-smartplay-market="arg"] .gn-intro-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}
html[data-smartplay-market="arg"] .gn-intro-new__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--gn-font);
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(233, 221, 255, 0.6);
}
html[data-smartplay-market="arg"] .gn-intro-new__label::before,
html[data-smartplay-market="arg"] .gn-intro-new__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
html[data-smartplay-market="arg"] .casino-intro__actions .casino-intro__arg-new {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: var(--gn-h);
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: var(--gn-radius);
    background: rgba(255, 214, 107, 0.06);
    box-shadow: inset 0 0 0 1.5px rgba(255, 214, 107, 0.45);
    color: #ffe08a !important;
    font-family: var(--gn-font) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s var(--gn-ease);
}
html[data-smartplay-market="arg"] .casino-intro__actions .casino-intro__arg-new:hover {
    background: rgba(255, 214, 107, 0.12);
    box-shadow: inset 0 0 0 1.5px rgba(255, 214, 107, 0.7);
}
html[data-smartplay-market="arg"] .casino-intro__actions .casino-intro__arg-new:active { transform: scale(0.97); }
html[data-smartplay-market="arg"] .gn-intro-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 0;
    font-family: var(--gn-font);
    font-size: 12px;
    color: rgba(233, 221, 255, 0.5);
}
html[data-smartplay-market="arg"] .gn-intro-legal b {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(233, 221, 255, 0.4);
    font-size: 9.5px;
    font-weight: 900;
}

/* Pantallas bajas */
@media (max-height: 700px) {
    html[data-smartplay-market="arg"] .casino-intro__content--classic { padding: 22px 20px 18px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__mascot { width: 112px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__name { font-size: 28px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg-pills li { padding: 9px 4px; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-smartplay-market="arg"] .casino-intro__bg::before,
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand::before,
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__mascot { animation: none !important; }
}

/* Entrada: centrada si hay lugar; si la caja es más alta que la pantalla, empieza con aire arriba (no se corta) */
html[data-smartplay-market="arg"] .casino-intro {
    justify-content: flex-start !important;
    padding-top: max(28px, calc(env(safe-area-inset-top, 0px) + 16px)) !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
}
html[data-smartplay-market="arg"] .casino-intro__stack {
    margin-top: auto !important;
    margin-bottom: auto !important;
}
@media (max-height: 700px) {
    html[data-smartplay-market="arg"] .casino-intro { padding-top: max(18px, calc(env(safe-area-inset-top, 0px) + 12px)) !important; }
}

/* Entrada: más compacta para que entre completa en pantallas de PC y notebooks */
@media (max-height: 1000px) {
    html[data-smartplay-market="arg"] .casino-intro__content--classic { padding: 24px 26px 18px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg { gap: 11px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__mascot { width: 112px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand::before { width: 150px; height: 150px; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__name { font-size: 29px !important; }
    html[data-smartplay-market="arg"] .gn-intro-tagline { font-size: 10.5px; }
    html[data-smartplay-market="arg"] .casino-intro__arg-lead { font-size: 14.5px !important; line-height: 1.5 !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg-pills li { padding: 9px 4px 8px; gap: 6px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg-pills i { width: 30px !important; height: 30px; font-size: 13px; }
    html[data-smartplay-market="arg"] .casino-intro__actions { gap: 10px !important; margin-top: 4px !important; }
    html[data-smartplay-market="arg"] .gn-intro-new { gap: 6px; margin-top: 0; }
    html[data-smartplay-market="arg"] .gn-intro-legal { margin-top: 2px; }
}
@media (max-height: 780px) {
    html[data-smartplay-market="arg"] .casino-intro__content--classic { padding: 18px 22px 14px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg { gap: 9px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__mascot { width: 84px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand::before { width: 116px; height: 116px; }
    html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__name { font-size: 25px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg-lead { font-size: 14px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg-pills li { padding: 7px 4px; font-size: 11.5px !important; }
    html[data-smartplay-market="arg"] .casino-intro__arg-pills i { width: 26px !important; height: 26px; font-size: 12px; }
    html[data-smartplay-market="arg"] .casino-intro__actions :is(#introBtnLogin, .casino-intro__arg-new) { min-height: 44px !important; }
}
/* Espacio de abajo: en PC no hace falta reservar tanto (el botón del chat va al costado) */
@media (min-width: 769px) {
    html[data-smartplay-market="arg"] .casino-intro {
        padding-top: max(24px, calc(env(safe-area-inset-top, 0px) + 16px)) !important;
        padding-bottom: 24px !important;
    }
}

/* Beneficios: íconos sin círculo, limpios y un poco más grandes */
html[data-smartplay-market="arg"] .casino-intro__arg-pills i,
html[data-smartplay-market="arg"] .casino-intro__arg-pills li i {
    width: auto !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #f7c948 !important;
    filter: drop-shadow(0 2px 6px rgba(247, 201, 72, 0.35));
}
@media (max-height: 780px) {
    html[data-smartplay-market="arg"] .casino-intro__arg-pills i,
    html[data-smartplay-market="arg"] .casino-intro__arg-pills li i { font-size: 17px !important; }
}

/* =====================================================================
   Tipografía premium + botón dorado refinado (portal y chat, ARG)
   ===================================================================== */
html[data-smartplay-market="arg"] {
    --gn-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gn-gold: linear-gradient(180deg, #ffeaa3 0%, #f8cf5f 46%, #e8ac34 100%);
    --gn-gold-hover: linear-gradient(180deg, #fff1bf 0%, #fad874 46%, #eeb743 100%);
    --gn-on-gold: #2b1605;
    --gn-gold-shadow: 0 10px 26px rgba(232, 172, 52, 0.3), 0 2px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(150, 90, 10, 0.25);
}

/* Una sola familia en el portal y el chat */
html[data-smartplay-market="arg"] body .casino-intro,
html[data-smartplay-market="arg"] body .casino-intro *,
html[data-smartplay-market="arg"] body #chatWidget,
html[data-smartplay-market="arg"] body #chatWidget *:not(i):not(.fa-solid):not(.fa-brands):not(svg):not(path),
html[data-smartplay-market="arg"] body .gn-install,
html[data-smartplay-market="arg"] body .gn-install *,
html[data-smartplay-market="arg"] body .first-deposit-bonus,
html[data-smartplay-market="arg"] body .first-deposit-bonus *,
html[data-smartplay-market="arg"] body #pwaTutorialOverlay,
html[data-smartplay-market="arg"] body #pwaTutorialOverlay * {
    font-family: var(--gn-font) !important;
}
/* Los íconos de Font Awesome conservan su fuente */
html[data-smartplay-market="arg"] body :is(.casino-intro, .first-deposit-bonus, #pwaTutorialOverlay, .gn-install) :is(.fa-solid, .fa-brands, .fa-regular) {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}
html[data-smartplay-market="arg"] body :is(.casino-intro, .first-deposit-bonus, #pwaTutorialOverlay, .gn-install) .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

/* Marca: GANAMOS con la misma familia, más fina y espaciada */
html[data-smartplay-market="arg"] .casino-intro__arg .gn-brand__name {
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
}

/* ---------- Botón dorado principal ---------- */
html[data-smartplay-market="arg"] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnInstall, #globalPopupCloseBtn
) {
    position: relative;
    overflow: hidden;
    min-height: 50px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.005em !important;
    background-image:
        linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%),
        var(--gn-gold) !important;
    background-size: 260% 100%, 100% 100% !important;
    background-position: 140% 0, 0 0 !important;
    background-repeat: no-repeat !important;
    color: var(--gn-on-gold) !important;
    box-shadow: var(--gn-gold-shadow) !important;
    transition: background-position 0.9s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, transform 0.15s ease !important;
}
html[data-smartplay-market="arg"] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnInstall, #globalPopupCloseBtn
):hover {
    background-image:
        linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%),
        var(--gn-gold-hover) !important;
    background-position: -40% 0, 0 0 !important;
    box-shadow: 0 14px 32px rgba(232, 172, 52, 0.42), 0 2px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -2px 0 rgba(150, 90, 10, 0.25) !important;
    transform: translateY(-1px);
}
html[data-smartplay-market="arg"] body :is(
    #introBtnLogin, #introBtnRegister, #firstDepositBonusCta, #pwaTutorialBtnInstall, #globalPopupCloseBtn
):active {
    transform: translateY(0) scale(0.98) !important;
}
html[data-smartplay-market="arg"] body #introBtnLogin .casino-intro__btn-line-main { font-weight: 700 !important; gap: 10px; }
html[data-smartplay-market="arg"] body #introBtnLogin i { font-size: 15px; opacity: 0.85; }

/* ---------- Secundario dorado: «Crear mi cuenta gratis» ---------- */
html[data-smartplay-market="arg"] .casino-intro__actions .casino-intro__arg-new {
    min-height: 50px !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    letter-spacing: 0.005em !important;
    color: #ffe39a !important;
    background: linear-gradient(180deg, rgba(255, 220, 120, 0.1), rgba(255, 220, 120, 0.04)) !important;
    box-shadow: inset 0 0 0 1.5px rgba(248, 207, 95, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease, color 0.2s ease !important;
}
html[data-smartplay-market="arg"] .casino-intro__actions .casino-intro__arg-new:hover {
    color: #fff1c4 !important;
    background: linear-gradient(180deg, rgba(255, 220, 120, 0.18), rgba(255, 220, 120, 0.08)) !important;
    box-shadow: inset 0 0 0 1.5px rgba(248, 207, 95, 0.85), 0 8px 22px rgba(232, 172, 52, 0.18) !important;
    transform: translateY(-1px);
}

/* Botón «Instalar» compacto de la barra superior: misma familia */
html.smartplay-chat-ganamos .gn-install--top .gn-install__cta {
    font-weight: 700 !important;
    letter-spacing: 0.005em !important;
    background: var(--gn-gold) !important;
    box-shadow: var(--gn-gold-shadow) !important;
}

/* Textos del bloque: pesos más finos con la fuente nueva */
html[data-smartplay-market="arg"] .casino-intro__arg-lead { font-weight: 500 !important; }
html[data-smartplay-market="arg"] .casino-intro__arg-pills li { font-weight: 600 !important; }

@media (prefers-reduced-motion: reduce) {
    html[data-smartplay-market="arg"] body :is(#introBtnLogin, #firstDepositBonusCta, #pwaTutorialBtnInstall, #globalPopupCloseBtn) {
        transition: none !important;
    }
}

/* Secundarios del tutorial («Copiar enlace» y «Listo»): mismo contorno, hover limpio sin resplandor exterior */
html[data-smartplay-market="arg"] body :is(#pwaTutorialBtnCopyUrl, #pwaTutorialBtnOk) {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f4efff !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2) !important;
    filter: none !important;
    font-weight: 700 !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}
html[data-smartplay-market="arg"] body :is(#pwaTutorialBtnCopyUrl, #pwaTutorialBtnOk):hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.34) !important;
    filter: none !important;
    transform: none !important;
}
html[data-smartplay-market="arg"] body :is(#pwaTutorialBtnCopyUrl, #pwaTutorialBtnOk):active {
    transform: scale(0.98) !important;
}
html[data-smartplay-market="arg"] body :is(#pwaTutorialBtnCopyUrl, #pwaTutorialBtnOk):focus-visible {
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.34), 0 0 0 3px rgba(255, 214, 107, 0.55) !important;
}
