/* ===================================
   Lotería Nacional del Paraguay / RIFA CDE
   Mobile-First CSS Styles — единый файл после слияния redesign.css
   =================================== */

/* ---------- Шрифт Poppins ---------- */
@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/poppins/Poppins-Black.ttf') format('truetype');
    font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- Дизайн-токены (редизайн RIFA CDE) ---------- */
:root {
    --rcde-blue: #1A3CE0;
    --rcde-blue-2: #1733C2;
    --rcde-navy: #061057;
    --rcde-navy-2: #050D38;
    --rcde-navy-3: #03082A;
    --rcde-header-bg: #040D47;
    --rcde-btn-blue: #063DB2;
    --rcde-btn-blue-hover: #0A4BD1;
    --rcde-yellow: #FFC900;
    --rcde-yellow-2: #FFD61A;
    --rcde-text: #FFFFFF;
    --rcde-text-soft: rgba(255,255,255,0.78);
    --rcde-text-muted: rgba(255,255,255,0.55);
    --rcde-red: #E63946;
    --rcde-block-black: #00000A;
    --rcde-card-dark: #050D38;
    --rcde-divider: rgba(255,255,255,0.10);
    --rcde-pill: 999px;
    --rcde-radius-sm: 10px;
    --rcde-radius: 14px;
    --rcde-radius-lg: 22px;
    --rcde-radius-xl: 28px;

    /* Совместимость со старыми правилами */
    --primary-color: var(--rcde-blue);
    --primary-dark: var(--rcde-navy);
    --secondary-color: var(--rcde-yellow);
    --text-color: #1e293b;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --border-color: #e2e8f0;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.2s ease;
}

/* Purchase result ticket badges */
.purchased-ticket-wrap {
    position: relative;
    display: inline-block;
}

.purchased-ticket-wrap .ticket-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    color: #fff;
    z-index: 1;
    white-space: nowrap;
    line-height: 1.3;
}

.purchased-ticket-wrap .ticket-tag.extra {
    background: #f59e0b;
}

.purchased-ticket-wrap .ticket-tag.promo {
    background: #0ea5e9;
}

/* Toast notification */
.web-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #22c55e;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.web-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.web-toast-error {
    background: #ef4444;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-color);
    background: var(--background);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Utility Classes */
.desktop-only {
    display: none !important;
}

.mobile-only {
    display: flex !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-white {
    background: white;
    color: var(--text-color);
}

.btn-white:hover {
    background: #f1f5f9;
}

.btn-block {
    width: 100%;
}

/* ===================================
   Header — общая разметка логотипа + nav.
   Визуальное оформление (.header, .header-container, .header-right,
   .lang-btn, .burger-btn) задано в секции "HEADER" редизайна ниже.
   =================================== */
.header-left {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

/* Styled Logo with badge */
.logo-styled {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-main {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-line1 {
    font-size: 1rem;
    font-weight: 800;
    color: #D52B1E;
    text-transform: capitalize;
    letter-spacing: -0.3px;
}

.logo-line2 {
    font-size: 1rem;
    font-weight: 800;
    color: #0038A8;
    text-transform: capitalize;
    letter-spacing: -0.3px;
}

.logo-badge {
    background: #0038A8;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 4px;
    text-transform: lowercase;
    letter-spacing: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.badge {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--secondary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
}

.lang-selector {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 150;
    overflow: hidden;
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    transition: background var(--transition);
}

.lang-code {
    font-size: 0.875rem;
}

.lang-name {
    font-size: 0.875rem;
}


/* ===================================
   Main Menu (Mobile fullscreen / Desktop dropdown)
   =================================== */
.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition);
}

.main-menu.active {
    visibility: visible;
    opacity: 1;
}

.menu-overlay {
    position: absolute;
    inset: 0;
}

/* Mobile: Fullscreen menu */
.menu-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 60px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.main-menu.active .menu-content {
    transform: translateY(0);
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 20px;
}

.close-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: color var(--transition);
}

.close-menu-btn:hover {
    color: var(--primary-color);
}

.menu-login-section {
    padding: 16px 20px 24px;
}

.menu-login-section .btn {
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 50px;
}

.menu-nav {
    flex: 1;
    padding: 0 0 24px;
}

.menu-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: background var(--transition);
}

.menu-nav-item .menu-icon {
    flex-shrink: 0;
}

.menu-nav-item span {
    flex: 1;
}

.menu-nav-item .chevron {
    color: var(--text-light);
    transition: transform var(--transition);
}

.menu-nav-item.has-submenu {
    width: 100%;
    text-align: left;
    border-radius: 0;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.menu-nav-item.has-submenu .chevron {
    margin-left: auto;
    transition: transform var(--transition);
}

.menu-nav-group.expanded .menu-nav-item.has-submenu .chevron {
    transform: rotate(180deg);
}

/* Submenu */
.menu-submenu {
    display: none;
}

.menu-nav-group.expanded .menu-submenu {
    display: block;
}

.menu-submenu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 16px 56px;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color var(--transition), background var(--transition);
}

.menu-submenu-item svg {
    flex-shrink: 0;
}

.menu-nav-divider {
    height: 8px;
}

/* Desktop: Dropdown panel */
@media (min-width: 1024px) {
    .menu-overlay {
        background: transparent;
    }

    .menu-content {
        position: absolute;
        top: 82px;
        right: 24px;
        left: auto;
        bottom: auto;
        width: 380px;
        max-height: calc(100vh - 110px);
        padding-top: 0;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-color);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        transform: translateY(-20px);
        opacity: 0;
        overflow: hidden;
    }

    .menu-nav {
        padding: 0;
        flex: 0 0 auto;
    }

    .menu-nav-item:first-child,
    .menu-nav-item:last-child {
        border-radius: 0;
    }

    .main-menu.active .menu-content {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-header {
        display: none;
    }

    .menu-login-section {
        display: none;
    }

    .menu-nav-item:first-child {
        border-top: none;
    }

    .menu-nav-item:last-child {
        border-bottom: none;
    }

    .menu-lang-dropdown,
    .menu-lang-divider {
        display: none;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    min-height: 400px;
    padding: 40px 60px;
    position: relative;
}

.hero-slide.active {
    display: block;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-content-bottom {
    position: absolute;
    bottom: 64px;
    left: 110px;
    right: 16px;
    margin: 0;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.countdown {
    margin-bottom: 24px;
}

.countdown-label {
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.9;
    display: block;
    margin-bottom: 12px;
}

.countdown-timer {
    display: flex;
    gap: 8px;
}

.countdown-item {
    background: white;
    color: var(--text-color);
    padding: 10px 0;
    border-radius: var(--radius-sm);
    text-align: center;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-units {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.countdown-unit {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    width: 56px;
    text-align: center;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 200px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
}

.hero-nav-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    pointer-events: auto;
    transition: all var(--transition);
}

.hero-nav-btn:hover {
    background: var(--background-alt);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--background);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all var(--transition);
}

.hero-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary-color);
}

/* Hero Additional Styles */
.btn-yellow {
    background: #f59e0b;
    color: #1a1a2e;
    font-weight: 700;
}

.btn-yellow:hover {
    background: #d97706;
}

/* Header balance container и split-кнопки (.wallet-split-*, .tickets-split-*)
   оформлены в редизайн-секции ниже. Здесь — только layout для меню. */

/* Mobile Menu Wallet (цвета/фон — в редизайн-секции) */
.menu-wallet-split {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 60px;
}

.menu-wallet-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 12px;
    transition: all var(--transition);
}

.menu-wallet-btn-main {
    flex: 1;
    margin-bottom: 0;
}

.menu-wallet-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    transition: background var(--transition);
}

.menu-wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-wallet-info svg {
    width: 32px;
    height: 32px;
    opacity: 0.9;
}

.menu-wallet-details {
    display: flex;
    flex-direction: column;
}

.menu-wallet-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.menu-wallet-balance {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.menu-wallet-arrow {
    opacity: 0.6;
}

.menu-logout-link {
    display: block;
    text-align: center;
    padding: 10px;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.menu-logout-link:hover {
    color: var(--error-color);
}

.menu-nav-logout {
    color: var(--error-color, #dc2626) !important;
}

.menu-nav-logout:hover {
    background: rgba(220, 38, 38, 0.1);
}

/* Language switcher in mobile menu */
.menu-lang-dropdown {
    padding: 8px 16px;
    position: relative;
}

.menu-lang-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition);
}

.menu-lang-btn svg {
    transition: transform 0.2s;
}

.menu-lang-dropdown.open .menu-lang-btn svg {
    transform: rotate(180deg);
}

.menu-lang-list {
    display: none;
    margin-top: 4px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.menu-lang-dropdown.open .menu-lang-list {
    display: block;
}

.menu-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background var(--transition);
}

.menu-lang-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.menu-lang-item.active {
    background: var(--primary);
    color: #fff;
}

.menu-lang-item .lang-code {
    font-weight: 600;
    min-width: 24px;
}

.menu-lang-item .lang-name {
    color: inherit;
    opacity: 0.8;
}

/* VIP Slide */
.hero-image-vip {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.vip-ball {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border: 2px solid #3a3a4e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.vip-ball:nth-child(1) {
    background: linear-gradient(145deg, #333, #1a1a1a);
}

.vip-ball:nth-child(2) {
    background: linear-gradient(145deg, #333, #1a1a1a);
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
}

.vip-ball:nth-child(3) {
    background: linear-gradient(145deg, #333, #1a1a1a);
}

/* Jackpot Amount */
.jackpot-amount {
    margin-bottom: 24px;
}

.jackpot-label {
    font-size: 0.875rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 4px;
}

.jackpot-value {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Lottery Sections
   =================================== */
.lottery-section {
    padding: 32px 16px;
}

.lottery-section-alt {
    background: var(--background-alt);
}

.lottery-section-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.lottery-section-highlight .section-header h2 {
    color: white;
}

.view-all-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: opacity var(--transition);
}

.view-all-link:hover {
    opacity: 0.8;
}

.lottery-section-highlight .view-all-link {
    color: white;
}

/* Lottery Grid */
.lottery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Lottery Card */
.lottery-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.lottery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--card-color);
}

.lottery-card-image {
    background: linear-gradient(160deg, var(--card-color, #f59e0b) 0%, color-mix(in srgb, var(--card-color, #f59e0b) 75%, black) 100%);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative circles */
.lottery-card-image::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.lottery-card-image::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -30px;
    left: -30px;
    pointer-events: none;
}

.lottery-card-image img {
    max-width: 130px;
    max-height: 110px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.lottery-card:hover .lottery-card-image img {
    transform: scale(1.08) rotate(-2deg);
}

.lottery-card-dark .lottery-card-image {
    background: linear-gradient(160deg, var(--card-color) 0%, color-mix(in srgb, var(--card-color) 60%, black) 100%);
}

/* Lightning pattern for quick and instant lottery cards */
.lottery-card-dark .lottery-card-image::before,
.lottery-card-dark .lottery-card-image::after {
    border-radius: 0;
    background: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
}

.lottery-card-dark .lottery-card-image::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='50' viewBox='0 0 40 50'%3E%3Cpath d='M20 5 L15 20 L19 20 L13 30 L25 17 L20 17 L26 5 Z' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
    background-size: 40px 50px;
    background-repeat: repeat;
    opacity: 1;
}

.lottery-card-dark .lottery-card-image::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='50' viewBox='0 0 40 50'%3E%3Cpath d='M20 5 L15 20 L19 20 L13 30 L25 17 L20 17 L26 5 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    background-size: 40px 50px;
    background-repeat: repeat;
    background-position: 20px 25px;
    opacity: 1;
}

.lottery-card-info {
    padding: 16px;
    background: white;
}

.lottery-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #555;
    margin-bottom: 10px;
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.lottery-timer svg {
    flex-shrink: 0;
    color: var(--card-color);
}

.lottery-prize-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.lottery-prize-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-top: 4px;
    line-height: 1.2;
}

.lottery-prize-amount .currency {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 2px;
}

.lottery-card-btn {
    display: block;
    padding: 14px 16px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: var(--card-color, var(--primary-color));
    transition: all 0.2s ease;
}

.lottery-card-btn:hover {
    filter: brightness(1.1);
}

/* Lottery Card Badges */
.lottery-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lottery-card-badge.hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    animation: pulse-badge 2s infinite;
}

.lottery-card-badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.lottery-card-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.lottery-card-badge.jackpot {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* ===================================
   Draws Section
   =================================== */
.draws-info {
    display: grid;
    gap: 16px;
}

.draw-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.draw-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--error-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.draw-date {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.draw-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.draw-card-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.draw-prize {
    background: var(--background-alt);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.draw-prize-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    display: block;
}

.draw-prize-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===================================
   Info Section
   =================================== */
.info-section {
    padding: 48px 16px;
    background: var(--background-alt);
}

.info-grid {
    display: grid;
    gap: 24px;
}

.info-card {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Footer — полностью перекрыт редизайн-секцией ниже. */


/* ===================================
   Home Banners (above footer)
   =================================== */
/* ── Bottom Banner (wide, above footer) ── */
.home-banner-section {
    width: 100%;
    max-width: 1400px;
    margin: 32px auto;
    padding: 0 16px;
}

.home-banner-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a2e;
}

.home-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.home-banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3 / 1;
    background: #1a1a2e;
}

.home-banner-slide {
    display: none;
    position: absolute;
    inset: 0;
}

.home-banner-slide.active {
    display: block;
}

.home-banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.home-banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.home-banner-dot.active {
    background: #fff;
}

@media (max-width: 480px) {
    .home-banner-section {
        padding: 0;
        margin: 16px auto;
    }
    .home-banner-frame,
    .home-banner-slider {
        border-radius: 0;
    }
}

/* ===================================
   Results Page
   =================================== */
.results-page {
    padding: 32px 16px;
    min-height: calc(100vh - 200px);
}

.results-header {
    margin-bottom: 32px;
}

.results-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.results-header p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.results-category {
    margin-bottom: 40px;
}

.results-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.result-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all var(--transition);
}

.result-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.result-card img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.result-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Promotions Page
   =================================== */
.promos-page {
    padding: 32px 16px;
    min-height: calc(100vh - 200px);
}

.promos-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.promos-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
}

.promos-filter {
    display: flex;
    background: var(--background-alt);
    border-radius: 8px;
    padding: 4px;
}

.filter-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    background: transparent;
    border-radius: 6px;
    transition: all var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--text-color);
}

.filter-btn.active {
    background: white;
    color: var(--text-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.promo-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.promo-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.promo-badge-active {
    background: #22c55e;
    color: white;
}

.promo-badge-finished {
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.promo-card-content {
    padding: 16px;
}

.promo-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.promo-countdown svg {
    flex-shrink: 0;
}

/* ===================================
   Verify Page
   =================================== */
.verify-page {
    padding: 32px 16px;
    min-height: calc(100vh - 200px);
}

.verify-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.verify-wrapper h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    color: var(--text-color);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

.form-input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Buttons */
.btn-large {
    padding: 18px 24px;
    font-size: 1.0625rem;
}

.btn-outline {
    background: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--background-alt);
    border-color: var(--text-light);
}

/* ===================================
   Login Page
   =================================== */
.login-page {
    min-height: calc(100vh - 60px);
    background: linear-gradient(180deg, #4a90d9 0%, #5b9fe0 30%, #6baee7 60%, #7bbdee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
}

/* Radial glow effect */
.login-page::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Decorative stars */
.login-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 { top: 10%; left: 5%; width: 16px; height: 16px; animation-delay: 0s; }
.star-2 { top: 15%; left: 90%; width: 24px; height: 24px; animation-delay: 0.5s; }
.star-3 { top: 25%; left: 15%; width: 12px; height: 12px; animation-delay: 1s; }
.star-4 { top: 60%; left: 8%; width: 18px; height: 18px; animation-delay: 1.5s; }
.star-5 { top: 75%; left: 85%; width: 14px; height: 14px; animation-delay: 2s; }
.star-6 { top: 85%; left: 20%; width: 20px; height: 20px; animation-delay: 0.3s; }
.star-7 { top: 40%; left: 92%; width: 16px; height: 16px; animation-delay: 0.8s; }
.star-8 { top: 90%; left: 70%; width: 12px; height: 12px; animation-delay: 1.3s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    text-align: center;
}

.login-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Phone Input */
.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.phone-input:focus-within {
    border-color: var(--primary-color);
}

.phone-prefix {
    padding: 14px 12px 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.phone-input input {
    flex: 1;
    padding: 14px 16px;
    font-size: 1rem;
    border: none;
    outline: none;
    background: transparent;
}

.phone-input input::placeholder {
    color: #9ca3af;
}

/* Login Form */
.login-form {
    margin-bottom: 24px;
}

.login-form .form-group {
    margin-bottom: 16px;
}

.login-form .btn {
    margin-top: 8px;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.login-divider span {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: var(--text-color);
    font-weight: 600;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Social Login */
.login-social {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.login-social p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-google {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.social-facebook {
    background: #1877f2;
    color: white;
}

.social-apple {
    background: #000;
    color: white;
}

/* Registration Form Additional Styles */
.form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 6px;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 16px;
    text-align: left;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--text-light);
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: var(--primary-color);
}

/* ===================================
   Auth Pages (Login/Register) - App-like
   =================================== */
.auth-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #4a90d9 0%, #5b9fe0 30%, #6baee7 60%, #7bbdee 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Radial glow effect */
.auth-body::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.auth-body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Decorative stars for auth */
.auth-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.auth-stars .star {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s ease-in-out infinite;
}

.auth-stars .star-1 { top: 8%; left: 5%; width: 18px; height: 18px; animation-delay: 0s; }
.auth-stars .star-2 { top: 12%; left: 88%; width: 26px; height: 26px; animation-delay: 0.5s; }
.auth-stars .star-3 { top: 20%; left: 12%; width: 14px; height: 14px; animation-delay: 1s; }
.auth-stars .star-4 { top: 55%; left: 6%; width: 20px; height: 20px; animation-delay: 1.5s; }
.auth-stars .star-5 { top: 70%; left: 90%; width: 16px; height: 16px; animation-delay: 2s; }
.auth-stars .star-6 { top: 82%; left: 15%; width: 22px; height: 22px; animation-delay: 0.3s; }
.auth-stars .star-7 { top: 35%; left: 94%; width: 18px; height: 18px; animation-delay: 0.8s; }
.auth-stars .star-8 { top: 88%; left: 75%; width: 14px; height: 14px; animation-delay: 1.3s; }
.auth-stars .star-9 { top: 45%; left: 3%; width: 12px; height: 12px; animation-delay: 1.8s; }
.auth-stars .star-10 { top: 25%; left: 92%; width: 16px; height: 16px; animation-delay: 0.6s; }
.auth-stars .star-11 { top: 65%; left: 8%; width: 10px; height: 10px; animation-delay: 2.2s; }
.auth-stars .star-12 { top: 92%; left: 50%; width: 18px; height: 18px; animation-delay: 1.1s; }

/* Top navigation bar */
.auth-top-nav {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.auth-back-btn {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-back-btn:hover {
    transform: translateX(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.auth-top-nav .auth-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.auth-top-nav .auth-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.auth-top-nav .logo-styled .logo-line1,
.auth-top-nav .logo-styled .logo-line2 {
    font-size: 0.875rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-top-nav .logo-styled .logo-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 0.5rem;
    padding: 3px 5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.auth-lang-selector {
    position: relative;
}

.auth-lang-btn {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-lang-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 20px 20px;
    gap: 16px;
}

.auth-logo {
    display: block;
    margin-bottom: 8px;
}

.auth-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.auth-card {
    width: 100%;
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-card h1 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
    text-align: center;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Compact inputs for auth forms */
.auth-card .phone-input {
    border-radius: 10px;
}

.auth-card .phone-prefix {
    padding: 12px 10px 12px 14px;
    font-size: 0.9375rem;
}

.auth-card .phone-input input {
    padding: 12px 14px;
    font-size: 0.9375rem;
}

.auth-card .form-input {
    padding: 12px 14px;
    font-size: 0.9375rem;
    border-radius: 10px;
}

.auth-card .btn {
    padding: 12px 20px;
    font-size: 0.9375rem;
}

.auth-card .form-hint {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

/* Cedula Input */
.cedula-input {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.cedula-input:focus-within {
    border-color: var(--primary-color);
}

.cedula-icon {
    margin-left: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.cedula-input input {
    flex: 1;
    padding: 14px 16px 14px 12px;
    font-size: 1rem;
    border: none;
    outline: none;
    background: transparent;
}

.cedula-input input::placeholder {
    color: #9ca3af;
}

.auth-card .cedula-input {
    border-radius: 10px;
}

.auth-card .cedula-input input {
    padding: 12px 14px 12px 10px;
    font-size: 0.9375rem;
}

.auth-card .cedula-icon {
    margin-left: 12px;
}

/* Password Input */
.password-input {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.password-input:focus-within {
    border-color: var(--primary-color);
}

.password-icon {
    margin-left: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.password-input input {
    flex: 1;
    padding: 14px 12px;
    font-size: 1rem;
    border: none;
    outline: none;
    background: transparent;
}

.password-input input::placeholder {
    color: #9ca3af;
}

.password-toggle {
    padding: 12px 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.auth-card .password-input {
    border-radius: 10px;
}

.auth-card .password-input input {
    padding: 12px 10px;
    font-size: 0.9375rem;
}

.auth-card .password-icon {
    margin-left: 12px;
}

.auth-card .password-toggle {
    padding: 10px 12px;
}

/* Forgot Link */
.forgot-link {
    display: block;
    text-align: right;
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 16px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-card .forgot-link {
    font-size: 0.8125rem;
    margin-bottom: 12px;
}

/* Auth Error */
.auth-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    font-size: 0.875rem;
    margin-bottom: 16px;
    animation: shake 0.5s ease-in-out;
}

.auth-error svg {
    flex-shrink: 0;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.auth-card .checkbox-text {
    font-size: 0.8125rem;
    line-height: 1.3;
}

.auth-card .checkbox-custom {
    width: 20px;
    height: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    font-size: 0.8125rem;
    color: var(--text-light);
    white-space: nowrap;
}

.auth-social {
    margin-top: 24px;
    text-align: center;
}

.auth-social p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.auth-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 16px;
}

.auth-footer .age-badge {
    margin: 0;
    padding: 0;
}

.auth-footer .age-badge-icon {
    width: 36px;
    height: 36px;
    font-size: 0.8125rem;
    background: #D52B1E;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-footer p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Dark Button */
.btn-dark {
    background: #1f2937;
    color: white;
    margin-top: 8px;
}

.btn-dark:hover {
    background: #374151;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.back-link svg {
    transition: transform 0.2s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* ===================================
   Tablet Styles (min-width: 640px)
   =================================== */
@media (min-width: 640px) {
    .lottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .results-header h1 {
        font-size: 2rem;
    }

    .promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promos-header h1 {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
    }

    .hero-text {
        flex: 1;
    }

    .hero-image {
        flex: 1;
    }

    .hero-image img {
        max-width: 280px;
    }
}

/* ===================================
   Desktop Styles (min-width: 1024px)
   =================================== */
@media (min-width: 1024px) {
    .desktop-only {
        display: flex !important;
    }

    .mobile-only {
        display: none !important;
    }

    .header-container {
        padding: 4px 32px;
    }

    .logo-img {
        height: 56px;
    }

    .lottery-section {
        padding: 48px 32px;
    }

    .lottery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .results-page {
        padding: 48px 32px;
    }

    .results-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    .result-card {
        min-height: 90px;
    }

    .promos-page {
        padding: 48px 32px;
    }

    .promos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .info-section {
        padding: 64px 32px;
    }

    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .footer-container {
        padding: 48px 32px;
    }

    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-slide {
        min-height: 480px;
        padding: 48px 80px;
    }

    .hero-nav {
        padding: 0 24px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-image img {
        max-width: 350px;
    }

    .draws-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Large Desktop (min-width: 1280px)
   =================================== */
@media (min-width: 1280px) {
    .lottery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===================================
   Mono Lottery Page Styles
   =================================== */

/* Hero Section */
.mono-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    overflow: hidden;
}

.mono-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mono-decor {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.mono-decor-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.mono-decor-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.mono-decor-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    background: rgba(255, 255, 255, 0.05);
}

.mono-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.mono-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dc2626;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.mono-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.mono-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    line-height: 1.2;
}

.mono-lottery-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.mono-lottery-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mono-jackpot {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.mono-jackpot-label {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.mono-jackpot-amount {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(180deg, #fffde0 0%, #fcd34d 35%, #f59e0b 65%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    font-variant-numeric: tabular-nums;
}

.mono-draw-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.mono-jackpot-amount small {
    font-size: 0.4em;
    font-weight: 600;
    vertical-align: middle;
}

.mono-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 24px;
}

.mono-cta {
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-prizes-link {
    display: block;
    margin-top: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    transition: color 0.25s, text-shadow 0.25s;
    letter-spacing: 0.3px;
}
.hero-prizes-link:hover {
    color: var(--accent, #fbbf24);
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

/* Prize Distribution Popup */
.prize-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeIn 0.2s;
}
.prize-popup {
    background: var(--bg-card, #1a1a2e);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideUp 0.25s ease-out;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes prizeRowIn {
    0% { transform: translateY(40px) scaleY(0.8); opacity: 0; }
    60% { transform: translateY(-2px) scaleY(1.02); opacity: 1; }
    100% { transform: translateY(0) scaleY(1); opacity: 1; }
}
.prize-popup-table tbody tr {
    opacity: 0;
    animation: prizeRowIn 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
}
.prize-popup-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.06);
}
.prize-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prize-popup-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text, #fff);
}
.prize-popup-close {
    background: none;
    border: none;
    color: var(--text-secondary, #aaa);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.prize-popup-close:hover { color: #fff; }
.prize-popup-pool {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(255,255,255,0.04);
}
.prize-popup-pool-label {
    font-size: 0.85rem;
    color: var(--text-secondary, #aaa);
}
.prize-popup-pool-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent, #fbbf24);
}
.prize-popup-scroll {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
}
.prize-popup-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 3px;
}
.prize-popup-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-card, #1a1a2e);
}
.prize-popup-table th {
    padding: 10px 14px 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #aaa);
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prize-popup-table td {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text, #fff);
    white-space: nowrap;
}
.prize-popup-table tbody td:first-child { font-weight: 600; border-radius: 6px 0 0 6px; }
.prize-popup-table tbody td:last-child { font-weight: 600; color: var(--accent, #fbbf24); border-radius: 0 6px 6px 0; }
.prize-each {
    color: var(--text-secondary, #aaa);
    font-weight: 400;
    font-size: 0.7rem;
    margin-left: 2px;
}
@media (max-width: 420px) {
    .prize-popup-table th, .prize-popup-table td { padding: 8px 10px; font-size: 0.78rem; }
    .prize-popup-pool { padding: 12px 14px; }
    .prize-popup-header { padding: 14px; }
    .prize-popup-pool-amount { font-size: 1.05rem; }
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Prize Section (contains slider with prize card + banners) */
.mono-prize-section {
    background: #f8fafc;
    padding: 0;
}

.mono-container {
    max-width: 500px;
    margin: 0 auto;
}

.mono-prize-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 500px;
}

.mono-prize-card-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
}

.mono-prize-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: #f59e0b;
}

.mono-prize-info {
    display: flex;
    flex-direction: column;
}

.mono-prize-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.mono-prize-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.mono-prize-amount small {
    font-size: 1rem;
    font-weight: 600;
}

.mono-prize-amount-sub {
    font-size: 1rem;
    font-weight: 700;
    color: #b45309;
}

/* How to Participate Section */
.mono-how-section {
    background: white;
    padding: 32px 16px;
}

.mono-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 24px;
}

.mono-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.mono-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mono-step-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45309;
}

.mono-step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.mono-step-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.mono-participate-btn {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
}

/* Purchase Section */
.mono-purchase-section {
    background: linear-gradient(180deg, #e8f4fc 0%, #d4e9f7 100%);
    padding: 32px 16px 48px;
}

.purchase-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.purchase-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 24px;
    text-align: center;
    color: white;
}

.purchase-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.purchase-header p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.purchase-content {
    padding: 24px;
}

/* Prize Box */
.purchase-prize-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
    border: 2px solid #f59e0b;
}

.purchase-prize-box .prize-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.purchase-prize-box .prize-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: #1e3a8a;
}

.purchase-prize-box .prize-amount small {
    font-size: 1rem;
    font-weight: 700;
}

.purchase-prize-box .prize-draw {
    display: block;
    font-size: 0.75rem;
    color: #78350f;
    margin-top: 4px;
}

/* Ticket Selector */
.ticket-selector {
    margin-bottom: 16px;
}

.ticket-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    text-align: center;
}

.ticket-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ticket-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.ticket-btn:active {
    transform: scale(0.95);
}

.ticket-input {
    width: 80px;
    height: 56px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #1e3a8a;
    background: #f9fafb;
}

.ticket-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
}

/* Quick Select */
.quick-select {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.quick-btn {
    width: 48px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.quick-btn.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

/* Purchase Summary */
.purchase-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 6px 0;
}

.summary-row.total {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e3a8a;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

/* Purchase Button */
.purchase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 1.125rem;
    font-weight: 700;
}

.purchase-btn svg {
    flex-shrink: 0;
}

/* Purchase Note */
.purchase-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 16px;
    text-align: center;
}

.purchase-note svg {
    flex-shrink: 0;
    opacity: 0.5;
}

/* Live Section */
.mono-live-section {
    background: #1e293b;
    padding: 32px 16px;
}

/* Video Player */
.mono-player-wrapper {
    margin-bottom: 24px;
    position: relative;
}

/* Ghost placeholder - keeps space when player is expanded */
.mono-player-ghost {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.mono-player-ghost.visible {
    display: block;
}

.mono-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.mono-player:hover:not(.expanded) .mono-player-placeholder {
    transform: scale(1.02);
}

.mono-player-placeholder {
    transition: transform 0.3s ease;
}

.mono-player.expanded {
    position: fixed;
    z-index: 1000;
    aspect-ratio: auto;
    border-radius: 16px;
}

.mono-player.expanded .mono-player-placeholder {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.mono-player.animating {
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark overlay */
.mono-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    pointer-events: none;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mono-player-overlay.active {
    background: rgba(0, 0, 0, 0.9);
    pointer-events: auto;
}

.mono-player-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated background waves */
.player-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.player-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    border-radius: 45%;
    animation: wave-rotate 8s linear infinite;
}

.player-wave.wave-1 {
    top: -50%;
    left: -50%;
    animation-duration: 12s;
}

.player-wave.wave-2 {
    top: -60%;
    left: -60%;
    animation-duration: 15s;
    animation-direction: reverse;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
}

.player-wave.wave-3 {
    top: -40%;
    left: -40%;
    animation-duration: 10s;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

@keyframes wave-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Player content overlay */
.player-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.player-logo-pulse {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    animation: logo-pulse 2s ease-in-out infinite;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.mono-player.expanded .player-logo-pulse {
    width: 100px;
    height: 100px;
}

.mono-player.expanded .player-logo-pulse svg {
    width: 60px;
    height: 60px;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }
}

.player-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mono-player.expanded .player-status {
    font-size: 0.875rem;
}

.player-time {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.mono-player.expanded .player-time {
    font-size: 1.5rem;
}

/* Loading dots animation */
.player-dots {
    display: flex;
    gap: 6px;
}

.player-dots .dot {
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.player-dots .dot:nth-child(1) { animation-delay: 0s; }
.player-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.player-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Expand hint */
.player-expand-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mono-player:hover .player-expand-hint {
    background: rgba(245, 158, 11, 0.8);
    color: white;
}

.mono-player.expanded .player-expand-hint {
    bottom: 16px;
    right: 16px;
}

/* Placeholder video controls (mute + expand) — always visible */
.placeholder-video-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 15;
    pointer-events: auto;
}

.pv-ctrl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.7);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.pv-ctrl-btn:hover {
    background: rgba(245, 158, 11, 0.85);
    border-color: rgba(245, 158, 11, 0.9);
    color: #fff;
    transform: scale(1.1);
}

.pv-ctrl-btn:active {
    transform: scale(0.95);
}

.mono-player.expanded .placeholder-video-controls {
    bottom: 20px;
    right: 20px;
}

@media (max-width: 480px) {
    .pv-ctrl-btn {
        width: 36px;
        height: 36px;
    }

    .pv-ctrl-btn svg {
        width: 18px;
        height: 18px;
    }

    .placeholder-video-controls {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }
}

.mono-live-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.mono-live-icon {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}

.live-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #dc2626;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.mono-live-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.mono-live-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.mono-social-info {
    text-align: center;
}

.mono-social-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.mono-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mono-social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.mono-social-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* Countdown Section */
.mono-countdown-section {
    background: #f8fafc;
    padding: 32px 16px 48px;
}

.mono-countdown-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mono-countdown-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mono-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.mono-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.mono-countdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.mono-countdown-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 4px;
}

.mono-countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: -16px;
}

.mono-countdown-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive adjustments for mono page */
@media (min-width: 768px) {
    .mono-hero {
        min-height: 550px;
        padding: 80px 40px 60px;
    }

    .mono-hero-content {
        max-width: 640px;
    }

    .mono-title {
        font-size: 2rem;
    }

    .mono-jackpot {
        margin-bottom: 12px;
    }

    .mono-jackpot-label {
        font-size: 1.125rem;
        letter-spacing: 4px;
        margin-bottom: 4px;
    }

    .mono-jackpot-amount {
        font-size: 6rem;
    }

    .mono-container {
        max-width: 600px;
    }

    .mono-prize-section {
        padding: 0;
    }

    .mono-steps {
        gap: 24px;
    }

    .mono-countdown-value {
        font-size: 3.5rem;
    }

    .mono-countdown-item {
        min-width: 80px;
    }
}

/* Mobile: edge-to-edge sections (no border-radius) */
@media (max-width: 480px) {
    .mono-live-section {
        padding: 20px 0;
    }

    .mono-how-section {
        padding: 24px 16px;
    }

    .mono-player,
    .mono-player-placeholder,
    .mono-prize-card,
    .mono-lottery-logo,
    .home-banner-frame,
    .mono-player-ghost {
        border-radius: 0;
    }

    .mono-player-wrapper {
        margin-bottom: 16px;
    }

    .mono-player {
        aspect-ratio: auto;
        min-height: 220px;
    }

    .mono-player-ghost {
        aspect-ratio: auto;
        min-height: 220px;
    }

    .player-content {
        gap: 6px;
        padding: 14px 12px 40px;
    }

    .player-logo-pulse {
        width: 48px;
        height: 48px;
    }

    .player-logo-pulse svg {
        width: 28px;
        height: 28px;
    }

    .player-text {
        gap: 2px;
    }

    .player-time {
        font-size: 0.85rem;
    }

    .player-status {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .player-expand-hint {
        bottom: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .mono-player.expanded .player-logo-pulse {
        width: 64px;
        height: 64px;
    }

    .mono-player.expanded .player-logo-pulse svg {
        width: 36px;
        height: 36px;
    }

    .mono-player.expanded .player-content {
        gap: 10px;
        padding: 16px 12px 36px;
    }

    .mono-player.expanded .player-time {
        font-size: 1rem;
    }

    .mono-player.expanded .player-expand-hint {
        bottom: 10px;
        right: 10px;
    }
}

/* Small screens: prevent jackpot text overflow */
@media (max-width: 375px) {
    .mono-hero {
        min-height: 440px;
        padding: 50px 16px 32px;
    }

    .mono-title {
        font-size: 1.3rem;
    }

    .mono-jackpot-amount {
        font-size: 2.4rem;
    }

    .mono-jackpot-label {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    .mono-description {
        font-size: 0.8rem;
    }
}

/* ===================================
   Purchase Page Styles
   =================================== */

.mono-purchase-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #e8f4fc 0%, #d4e9f7 100%);
    padding: 16px;
    padding-bottom: 40px;
}

.mono-purchase-page .mono-container {
    max-width: 720px;
    margin: 0 auto;
}

/* Back button */
.purchase-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3b82f6;
    margin-bottom: 24px;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.purchase-back-btn:hover {
    color: #1d4ed8;
}

/* Page Header */
.mono-purchase-page .purchase-header {
    text-align: center;
    margin-bottom: 24px;
    background: transparent;
    padding: 0;
    color: inherit;
}

.mono-purchase-page .purchase-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
}

.mono-purchase-page .purchase-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mono-purchase-page .purchase-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.mono-purchase-page .purchase-header p {
    font-size: 0.875rem;
    color: #64748b;
}

/* Prize Info Box */
.purchase-prize-info {
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.prize-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.prize-info-label {
    font-size: 0.875rem;
    color: #64748b;
}

.prize-info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e3a8a;
}

.prize-info-value.highlight {
    color: #059669;
    font-size: 0.875rem;
    font-weight: 600;
}

.prize-info-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

/* Purchase Card in page */
.mono-purchase-page .purchase-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.purchase-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-price-label {
    font-size: 0.875rem;
    color: #64748b;
}

.purchase-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
}

.mono-purchase-page .ticket-selector {
    margin-bottom: 16px;
}

.mono-purchase-page .ticket-selector label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-align: center;
}

.mono-purchase-page .ticket-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mono-purchase-page .ticket-btn {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mono-purchase-page .ticket-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.mono-purchase-page .ticket-btn:active {
    transform: scale(0.95);
}

.mono-purchase-page #ticketCount {
    width: 90px;
    height: 60px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    color: #1e3a8a;
    background: #f9fafb;
    -moz-appearance: textfield;
}

.mono-purchase-page #ticketCount::-webkit-outer-spin-button,
.mono-purchase-page #ticketCount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mono-purchase-page #ticketCount:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
}

.mono-purchase-page .quick-select {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.mono-purchase-page .quick-btn {
    width: 52px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: white;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mono-purchase-page .quick-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.mono-purchase-page .quick-btn.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.mono-purchase-page .purchase-summary {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.mono-purchase-page .summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: #64748b;
    padding: 6px 0;
}

.mono-purchase-page .summary-row.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.mono-purchase-page .purchase-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 14px;
}

.mono-purchase-page .purchase-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 16px;
    line-height: 1.5;
}

.mono-purchase-page .purchase-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

/* How it works section */
.purchase-how-it-works {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.purchase-how-it-works h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 20px;
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.how-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-step p {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
    padding-top: 4px;
}

/* Responsive for purchase page */
@media (min-width: 768px) {
    .mono-purchase-page {
        padding: 32px;
        padding-bottom: 60px;
    }

    .mono-purchase-page .purchase-logo {
        width: 120px;
        height: 120px;
    }

    .mono-purchase-page .purchase-header h1 {
        font-size: 2rem;
    }
}

/* ===================================
   Payment Modal Styles
   =================================== */

.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    z-index: 1001;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    visibility: hidden;
    pointer-events: none;
}

.payment-modal.active {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.payment-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.payment-modal-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.payment-step {
    padding: 24px;
    padding-top: 32px;
}

.payment-step.hidden {
    display: none;
}

/* Total Box */
.payment-total-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.payment-total-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
}

.payment-total-label {
    font-size: 0.9375rem;
    color: #64748b;
    font-weight: 500;
}

/* Order Info */
.payment-order-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.payment-order-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.payment-order-details {
    display: flex;
    flex-direction: column;
}

.payment-order-count {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e3a8a;
}

.payment-order-draw {
    font-size: 0.875rem;
    color: #64748b;
}

/* Popular Payment Methods */
.payment-methods-popular {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method-primary {
    background: #2563eb;
    color: white;
    border: none;
}

.payment-method-primary:hover {
    background: #1d4ed8;
}

.payment-method-outline {
    background: white;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.payment-method-outline:hover {
    background: #f8fafc;
}

/* All Methods Button */
.payment-all-methods-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 18px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-all-methods-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fafc;
}

/* WhatsApp payment method button (fallback) */
.btn-whatsapp-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: rgba(37, 211, 102, 0.08);
    color: #1a8d4a;
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-whatsapp-pay:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-pay svg {
    flex-shrink: 0;
}

/* VIP WhatsApp button */
body[data-vip="true"] .btn-whatsapp-pay {
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.35);
    color: #4ade80;
}

body[data-vip="true"] .btn-whatsapp-pay:hover {
    background: rgba(22, 163, 74, 0.25);
    border-color: rgba(22, 163, 74, 0.5);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

body[data-vip="true"] .btn-whatsapp-pay svg {
    fill: #4ade80;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 110px;
}

.payment-method-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.payment-method-card svg {
    color: #3b82f6;
}

.payment-method-card span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    line-height: 1.3;
}

/* Payment Icons */
.payment-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.payment-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Image-based payment buttons */
.payment-method-img-btn {
    width: 100%;
    height: 70px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    transition: all 0.2s ease;
}

.payment-method-img-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.payment-method-img-btn.with-label {
    height: auto;
    padding: 12px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background-size: auto 40px;
    background-position: center 12px;
    padding-top: 60px;
}

.payment-method-img-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.2;
}

/* Image-based payment cards in grid */
.payment-method-card-img {
    min-height: 90px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    transition: all 0.2s ease;
}

.payment-method-card-img:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.payment-method-card-icon {
    width: 100%;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Back Button */
.payment-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.payment-back-btn:hover {
    color: #334155;
}

/* Desktop styles for payment modal */
@media (min-width: 768px) {
    .payment-modal {
        bottom: auto;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
        max-width: 440px;
        width: 90%;
        border-radius: 24px;
        max-height: 85vh;
    }

    .payment-modal.active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================
   Wallet (Billetera) Page
   =================================== */

.wallet-page {
    padding: 20px 16px 40px;
    background: var(--background-alt);
    min-height: calc(100vh - 60px);
}

.wallet-container {
    max-width: 480px;
    margin: 0 auto;
}

/* Balance Card */
.wallet-balance-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.wallet-balance-header {
    margin-bottom: 16px;
}

.wallet-cedula {
    font-size: 0.875rem;
    opacity: 0.8;
}

.wallet-balance-main {
    margin-bottom: 12px;
}

.wallet-balance-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.wallet-balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
}

.wallet-bonus-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.wallet-bonus-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

.wallet-bonus-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a78bfa;
}

.wallet-balance-hint {
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-bottom: 16px;
    line-height: 1.4;
}

.fd-bonus-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.fd-bonus-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.fd-bonus-text {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #f5f5f5;
    font-weight: 500;
}

.wallet-recharge-btn {
    width: 100%;
}

/* Wallet Sections */
.wallet-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.wallet-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wallet-section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.wallet-section-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Cards List */
.wallet-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background-alt);
    border-radius: var(--radius);
}

.wallet-card-brand {
    flex-shrink: 0;
}

.wallet-card-number {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-color);
}

.wallet-card-remove {
    padding: 6px;
    color: var(--text-light);
    transition: color var(--transition);
}

.wallet-card-remove:hover {
    color: var(--error-color);
}

.wallet-add-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
}

.wallet-add-card-btn:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

/* Bonuses */
.wallet-bonus-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22c55e;
}

/* Withdrawal */
.wallet-withdrawal-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.wallet-withdraw-btn,
.wallet-transfer-btn {
    margin-top: 16px;
}

.wallet-withdraw-btn {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.wallet-withdraw-btn:not(:disabled):hover {
    background: #1a2a4a;
    border-color: #1a2a4a;
}

.wallet-withdraw-btn:disabled {
    background: transparent;
    color: var(--text-light);
    border-color: #e5e7eb;
    opacity: 0.5;
    cursor: not-allowed;
}

.wallet-transfer-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Referral code & link */
.referral-code-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 14px;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.referral-code-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.referral-code-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 1px;
}

.referral-alias-box {
    margin-top: 8px;
}

.referral-alias-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 4px;
    display: block;
}

.referral-alias-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.referral-alias-input {
    flex: 1;
    padding: 8px 12px;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-color);
    min-width: 0;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.5px;
}

.referral-alias-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.referral-alias-save {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    cursor: pointer;
    transition: opacity var(--transition);
}

.referral-alias-save:hover {
    opacity: 0.85;
}

.referral-alias-hint {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 4px;
    display: block;
}

.referral-link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.referral-link-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-light);
    min-width: 0;
}

.referral-copy-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.referral-copy-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.referral-copy-btn.copied {
    border-color: #22c55e;
    color: #22c55e;
}

.referral-transfer-success {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    color: #15803d;
    font-weight: 500;
    margin-top: 16px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Rules Links */
.wallet-rules {
    margin-bottom: 20px;
}

.wallet-rule-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--primary-color);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-color);
    transition: opacity var(--transition);
}

.wallet-rule-link:hover {
    opacity: 0.8;
}

.wallet-rule-link:last-child {
    border-bottom: none;
}

/* Transaction History */
.wallet-history h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.wallet-transactions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.wallet-transaction {
    padding: 16px;
    background: var(--background-alt);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
}

.wallet-transaction.error {
    border-left-color: var(--error-color);
}

.wallet-transaction-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.wallet-transaction-details {
    margin-bottom: 8px;
}

.wallet-transaction-label {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.wallet-transaction-via {
    display: block;
    font-size: 0.875rem;
    color: var(--text-color);
}

.wallet-transaction-via.error {
    color: var(--error-color);
}

.wallet-transaction-amount,
.wallet-transaction-status {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.wallet-transaction-amount strong,
.wallet-transaction-status strong {
    color: var(--text-color);
}

.wallet-transaction-amount.bonus strong {
    color: #22c55e;
}

.wallet-transaction-status.success strong {
    color: #22c55e;
}

.wallet-transaction-error {
    display: block;
    font-size: 0.75rem;
    color: var(--error-color);
    margin-top: 4px;
    line-height: 1.4;
}

.wallet-transaction-balance {
    font-size: 0.75rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 2px;
}

.wallet-transaction-balance strong {
    color: var(--text-primary, #e2e8f0);
}

/* Saldo flow: before → amount → after */
.saldo-flow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.saldo-val {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
}

.saldo-tx {
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.saldo-tx-plus {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.saldo-tx-minus {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* Withdrawal transaction styles */
.wallet-transaction-wd {
    border-left: 3px solid #ef4444;
}

.wallet-transaction-label-wd {
    color: #ef4444;
}

.wallet-transaction-amount-wd strong {
    color: #ef4444;
}

.wallet-transaction-bonus {
    border-left: 3px solid #a78bfa;
}

.wallet-transaction-label-bonus {
    color: #a78bfa;
}

.wallet-transaction-amount-bonus strong {
    color: #a78bfa;
}

/* Purchase transaction styles */
.wallet-transaction-purchase {
    border-left: 3px solid #f97316;
}

.wallet-transaction-label-purchase {
    color: #f97316;
}

.wallet-transaction-amount-purchase strong {
    color: #ef4444;
}

/* Prize transaction styles */
.wallet-transaction-prize {
    border-left: 3px solid #FFD700;
}

.wallet-transaction-label-prize {
    color: #FFD700;
}

.wallet-transaction-amount-prize strong {
    color: #FFD700;
}

/* Promo purchase (free ticket) */
.wallet-transaction-promo {
    border-left: 3px solid #60a5fa;
}

.wallet-transaction-label-promo {
    color: #60a5fa;
}

.wallet-transaction-amount-promo strong {
    color: #60a5fa;
}

/* Extra sale purchase */
.wallet-transaction-extra {
    border-left: 3px solid #f472b6;
}

.wallet-transaction-label-extra {
    color: #f472b6;
}

.wallet-transaction-amount-extra strong {
    color: #f472b6;
}

/* Transaction badges (PROMO, EXTRA, COMBO) */
.tx-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.tx-badge-promo {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.tx-badge-extra {
    background: rgba(244, 114, 182, 0.2);
    color: #f472b6;
}

.tx-badge-combo {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.wallet-load-more {
    width: 100%;
}

.wallet-no-transactions {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 24px 0;
}

.tx-status-pending {
    color: #f59e0b;
}

.tx-status-receipt {
    color: #3b82f6;
}

/* ===================================
   Transaction Detail Modal
   =================================== */

.tx-detail-modal .payment-modal-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
}

.tx-detail-modal .payment-step {
    padding: 24px;
    padding-top: 16px;
}

.tx-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-right: 56px;
    margin-bottom: 16px;
}

.tx-timer {
    background: rgba(30, 58, 95, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

.tx-header-badge {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tx-header-badge-completed {
    background: #16a34a;
    color: white;
}

.tx-header-badge-expired {
    background: #78716c;
    color: white;
}

.tx-header-badge-cancelled {
    background: #78716c;
    color: white;
}

.tx-header-badge-rejected {
    background: #dc2626;
    color: white;
}

.tx-number {
    background: rgba(30, 58, 95, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.tx-method-title {
    font-size: 1.375rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 16px;
}

.tx-instruction {
    font-size: 0.9375rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tx-instruction strong {
    color: var(--text-color);
    font-weight: 700;
}

.tx-details-card {
    background: rgba(30, 58, 95, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4px 0;
    margin-bottom: 20px;
}

.tx-detail-row {
    padding: 12px 20px;
    text-align: center;
    position: relative;
}

.tx-detail-row + .tx-detail-row {
    border-top: 1px solid var(--border-color);
}

.tx-detail-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.tx-detail-value-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    word-break: break-all;
    text-align: center;
}

.tx-copy-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tx-copy-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tx-copy-btn.copied {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.tx-warning {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 24px;
}

.tx-warning-label {
    color: #ef4444;
}

.tx-warning strong:not(.tx-warning-label) {
    color: var(--text-color);
}

.tx-actions {
    text-align: center;
}

.tx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 320px;
}

.tx-btn-confirm {
    background: #22c55e;
    color: white;
}

.tx-btn-confirm:hover {
    background: #16a34a;
}

.tx-btn-upload {
    background: #4f46e5;
    color: white;
}

.tx-btn-upload:hover {
    background: #4338ca;
}

.tx-receipt-hint {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.tx-receipt-status {
    font-size: 0.8125rem;
    color: #22c55e;
    margin-top: 12px;
    font-weight: 500;
}

/* FsPay PIX QR code */
.tx-pix-qr {
    display: flex;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.tx-qr-image {
    max-width: 200px;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
}

.tx-pix-code-inline {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tx-pix-brl-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(34, 197, 94, 0.05);
}

.tx-pix-brl-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.tx-pix-brl-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
}

.tx-fspay-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #22c55e;
    font-weight: 500;
    justify-content: center;
    margin: 8px 0;
}

.tx-rate-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tx-final-status {
    text-align: center;
    padding: 16px 0;
}

.tx-status-badge {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
}

.tx-status-completed {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.tx-status-expired {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.tx-status-cancelled {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

.tx-status-rejected {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.tx-status-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.4;
}

.tx-receipt-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.tx-receipt-view-link:hover {
    background: rgba(79, 70, 229, 0.1);
}

body[data-vip="true"] .tx-receipt-view-link {
    color: var(--gold);
    border-color: var(--gold);
}

body[data-vip="true"] .tx-receipt-view-link:hover {
    background: rgba(255, 215, 0, 0.1);
}

.wallet-no-transactions {
    text-align: center;
    color: var(--text-light);
    padding: 24px 0;
    font-size: 0.9375rem;
}

strong.tx-status-pending {
    color: #f59e0b;
}

strong.tx-status-receipt {
    color: #3b82f6;
}

/* Desktop Wallet Styles */
@media (min-width: 768px) {
    .wallet-page {
        padding: 40px 24px 60px;
    }

    .wallet-container {
        max-width: 560px;
    }

    .wallet-balance-card {
        padding: 32px;
    }

    .wallet-balance-amount {
        font-size: 2.5rem;
    }
}

/* Recharge Modal Additions */
.recharge-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 24px;
}

.recharge-amount-selector {
    margin-bottom: 16px;
}

.recharge-amount-selector label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.recharge-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.recharge-input-wrapper input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    outline: none;
}

.recharge-input-wrapper input::-webkit-outer-spin-button,
.recharge-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.recharge-input-wrapper input[type=number] {
    -moz-appearance: textfield;
}

.recharge-currency {
    padding: 14px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.03);
    border-left: 1px solid var(--border-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.recharge-quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.quick-amount-btn {
    padding: 10px 8px;
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all var(--transition);
}

.quick-amount-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quick-amount-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.quick-amount-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===================================
   Withdrawal Modal Styles
   =================================== */

.wd-available-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 8px;
}

.wd-available-hint strong {
    color: var(--primary-color);
}

.wd-methods-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    margin-top: 8px;
}

.wd-field-group {
    margin-bottom: 16px;
}

.wd-field-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}

.wd-field-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9375rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--background-alt);
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.wd-field-input:focus {
    border-color: var(--primary-color);
}

.wd-error-msg {
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius);
    color: #ef4444;
    font-size: 0.8125rem;
    margin-bottom: 16px;
    text-align: center;
}

.wd-result-error {
    text-align: center;
    padding: 24px;
    color: #ef4444;
    font-size: 0.9375rem;
}

/* Verification required block (deposit/withdrawal) */
.tx-verify-block {
    text-align: center;
    padding: 40px 24px;
}

.tx-verify-icon {
    margin-bottom: 16px;
    color: #f59e0b;
}

.tx-verify-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.tx-verify-desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.5;
}

.tx-verify-btn {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
}

.tx-verify-btn:hover {
    background: #d97706;
}

/* VIP / dark theme */
body[data-vip="true"] .tx-verify-title {
    color: #f1f5f9;
}

body[data-vip="true"] .tx-verify-desc {
    color: #94a3b8;
}

body[data-vip="true"] .tx-verify-btn {
    background: #f59e0b;
    color: #0f0f1a;
}

body[data-vip="true"] .tx-verify-btn:hover {
    background: #fbbf24;
}

/* ===================================
   Mis Tickets Page
   =================================== */

/* Header Tickets Button */
.btn-tickets {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-tickets:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-tickets svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* Split tickets button — оформление в редизайн-секции ниже */

/* Tickets Page */
.tickets-page {
    min-height: 100vh;
    background: var(--background-alt);
    padding: 24px 16px;
}

.tickets-container {
    max-width: 800px;
    margin: 0 auto;
}

.tickets-header {
    text-align: center;
    margin-bottom: 32px;
}

.tickets-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.tickets-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Ticket Order Card */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-order-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.ticket-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ticket-order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-order-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
}

.ticket-order-rifa {
    font-size: 0.875rem;
    color: var(--text-light);
}

.ticket-order-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-order-status.paid {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.ticket-order-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.ticket-number-badge .ticket-tag {
    position: absolute;
    top: -8px;
    left: -8px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.ticket-number-badge .ticket-tag.promo {
    background: #3b82f6;
    color: white;
}
.ticket-number-badge .ticket-tag.extra {
    background: #f59e0b;
    color: white;
}
.ticket-number-badge .ticket-tag.promo + .ticket-tag.extra {
    left: 48px;
}

.ticket-order-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.ticket-order-date,
.ticket-order-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.ticket-order-date svg,
.ticket-order-count svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Ticket Numbers Collapsed View */
.ticket-numbers-collapsed {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--background-alt);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.ticket-numbers-collapsed:hover {
    background: #f1f5f9;
}

.ticket-numbers-collapsed.expanded {
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
}

.ticket-range-separator {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.ticket-expand-icon {
    margin-left: auto;
    color: var(--text-light);
    transition: transform var(--transition);
}

.tickets-has-winner {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 3px 8px;
    background: #22c55e;
    color: white;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: auto;
}

.ticket-numbers-collapsed .tickets-has-winner + .ticket-expand-icon {
    margin-left: 12px;
}

/* Ticket Numbers Expanded View */
.ticket-numbers-expanded {
    padding: 16px;
    background: var(--background-alt);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 1px dashed var(--border-color);
}

/* Ticket Numbers Grid */
.ticket-numbers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ticket-number-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

.ticket-number-badge .ticket-num {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #92400e;
    letter-spacing: 1px;
}

.ticket-number-badge.winner {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #22c55e;
}

.ticket-number-badge.winner .ticket-num {
    color: #166534;
}

.ticket-number-badge .winner-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 2px 6px;
    background: #22c55e;
    color: white;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.crown-icon {
    flex-shrink: 0;
}

/* Ticket Order Result/Pending */
.ticket-order-result,
.ticket-order-pending {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8125rem;
}

.ticket-order-result .result-label,
.ticket-order-pending .pending-label {
    color: var(--text-light);
}

.ticket-order-result .result-date {
    font-weight: 600;
    color: var(--text-color);
}

.ticket-order-pending .pending-date {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Empty State */
.tickets-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.tickets-empty svg {
    margin: 0 auto 20px;
    color: var(--text-light);
    opacity: 0.5;
}

.tickets-empty h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.tickets-empty p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Mobile Menu Tickets Button (цвета/фон в редизайн-секции) */
.menu-tickets-split {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 60px;
}

.menu-tickets-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.menu-tickets-btn-main {
    flex: 1;
    margin-bottom: 0;
}

.menu-tickets-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    transition: background var(--transition);
}

.menu-tickets-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-tickets-info svg {
    width: 24px;
    height: 24px;
}

.menu-tickets-label {
    font-size: 1rem;
    font-weight: 600;
}

.menu-tickets-arrow {
    opacity: 0.7;
}

/* Small screens: tighten menu split buttons */
@media (max-width: 375px) {
    .menu-wallet-btn,
    .menu-tickets-btn {
        padding: 12px;
    }

    .menu-wallet-add-btn,
    .menu-tickets-buy-btn {
        padding: 0 14px;
    }

    .menu-wallet-info,
    .menu-tickets-info {
        gap: 8px;
    }

    .menu-wallet-info svg {
        width: 24px;
        height: 24px;
    }

    .menu-wallet-balance {
        font-size: 1rem;
    }

    .menu-wallet-label {
        font-size: 0.7rem;
    }

    .menu-tickets-label {
        font-size: 0.9rem;
    }
}

/* Desktop Adjustments */
@media (min-width: 1024px) {
    .tickets-page {
        padding: 40px 24px;
    }

    .tickets-header h1 {
        font-size: 2rem;
    }

    .ticket-order-card {
        padding: 24px;
    }

    .ticket-numbers-grid {
        gap: 10px;
    }

    .ticket-number-badge {
        padding: 10px 18px;
    }

    .ticket-number-badge .ticket-num {
        font-size: 1rem;
    }
}


/* VIP Dark Theme Override — легаси секция удалена; все стили покрыты редизайн-секцией ниже. */


/* VIP badge в шапке — оформление в редизайн-секции ниже. */

.vip-menu-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 12px;
}

.vip-menu-badge span {
    color: #FFD700;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===================================
   Verification Page
   =================================== */

.verify-page {
    min-height: 100vh;
    padding: 0 16px 40px;
}

.verify-container {
    max-width: 540px;
    margin: 0 auto;
    padding-top: 12px;
}

.verify-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 16px 0 6px;
}

.verify-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.verify-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.verify-banner svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.verify-banner-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.verify-banner-pending {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #ca8a04;
}

.verify-banner-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.verify-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.verify-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.verify-field-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.verify-field-group select,
.verify-field-group input {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--background);
    color: var(--text-color);
    transition: border-color var(--transition);
}

.verify-field-group select:focus,
.verify-field-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.verify-uploads {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verify-upload-card {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-upload-card:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.03);
}

.verify-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
}

.verify-upload-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.verify-upload-hint {
    font-size: 0.8rem;
    color: var(--text-light);
}

.verify-upload-preview {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: calc(var(--radius) - 2px);
    display: none;
}

.verify-upload-preview.has-image {
    display: block;
}

/* Camera viewfinder */
.verify-camera-viewfinder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #000;
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
    z-index: 2;
}

.verify-camera-viewfinder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.verify-camera-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 3;
}

.verify-camera-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.verify-camera-card {
    min-height: 180px;
}

.verify-submit-btn {
    margin-top: 8px;
}

/* Social media section */
.verify-social-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.verify-social-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.verify-social-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.verify-social-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verify-social-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.verify-social-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.verify-social-field input {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--background);
    color: var(--text-color);
    transition: border-color var(--transition);
}

.verify-social-field input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.verify-social-btn {
    margin-top: 4px;
}

/* Wallet verify link */
.wallet-verify-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: var(--radius-sm);
    color: #ca8a04;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition);
}

.wallet-verify-link:hover {
    background: rgba(234, 179, 8, 0.18);
}

.wallet-verify-link svg {
    flex-shrink: 0;
}


/* ====================================================================
   RIFA CDE REDESIGN OVERRIDES — перенесено из redesign.css
   Порядок сохранён — эти правила перекрывают всё, что выше.
   Постепенно будут дедуплицированы секция за секцией.
   ==================================================================== */

/* ===================================
   RIFA CDE — Редизайн (остаток, в процессе слияния в styles.css).
   Шрифты и :root уже перенесены в styles.css.
   =================================== */

/* ---------- Базовая типографика ---------- */
html { font-size: 16px; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--rcde-header-bg);
    color: var(--rcde-text);
}
body[data-vip="true"] { background: #00000A; }

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Декоративные круги фона по типу BACKGROUND_LIGHT/VIP — рисуем CSS,
   фоны нужны только для секций hero и live (синие). */
main { position: relative; z-index: 1; }

/* ---------- HEADER ---------- */
.header {
    background: var(--rcde-header-bg) !important;
    border-bottom: 0;
    position: sticky; top: 0; z-index: 200;
}
body[data-vip="true"] .header { background: #00000A !important; }
.header-container {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 22px; gap: 16px;
    flex-wrap: nowrap;
}
.header-right { flex-wrap: nowrap !important; }
.header .logo-img { height: 56px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 16px; }

/* Кнопка Iniciar Sesión */
.header .btn,
.header .btn-yellow,
.header .btn-primary,
header .btn,
header .btn-yellow {
    background: var(--rcde-btn-blue) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border: 0 !important;
    border-radius: 10px !important;
    padding: 12px 26px !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.28);
    transition: background .15s, filter .15s;
}
.header .btn:hover,
header .btn:hover {
    background: var(--rcde-btn-blue-hover) !important;
}
/* VIP-тема: кнопка Iniciar Sesión остаётся жёлтой */
body[data-vip="true"] .header .btn,
body[data-vip="true"] .header .btn-yellow,
body[data-vip="true"] .header .btn-primary,
body[data-vip="true"] header .btn,
body[data-vip="true"] header .btn-yellow {
    background: var(--rcde-yellow) !important;
    color: var(--rcde-navy-2) !important;
}
body[data-vip="true"] .header .btn:hover,
body[data-vip="true"] header .btn:hover {
    background: var(--rcde-yellow) !important;
    filter: brightness(1.05);
}

/* Селектор языка ES⌄ — белый текст, Poppins */
.lang-selector .lang-btn {
    background: transparent !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    border: 0 !important;
    padding: 6px 8px !important;
    display: inline-flex !important; align-items: center; gap: 6px;
    font-size: 1rem !important;
}
.lang-selector .lang-btn svg { color: var(--rcde-btn-blue); }
body[data-vip="true"] .lang-selector .lang-btn svg { color: var(--rcde-yellow); }
.lang-dropdown {
    background: var(--rcde-navy-2) !important;
    border: 1px solid var(--rcde-divider) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important;
    padding: 6px !important;
    font-family: 'Poppins', sans-serif !important;
}
.lang-option {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}
.lang-option .lang-code,
.lang-option .lang-name { color: #fff !important; }
.lang-option:hover { background: rgba(255,201,0,0.10) !important; color: var(--rcde-yellow) !important; }
.lang-option.active { background: rgba(255,201,0,0.14) !important; color: var(--rcde-yellow) !important; }
.lang-option.active .lang-code,
.lang-option.active .lang-name { color: var(--rcde-yellow) !important; }

/* Убираем focus-outline у ES-кнопки (колхозный синий обвод) */
.lang-selector .lang-btn:focus,
.lang-selector .lang-btn:focus-visible,
.lang-selector .lang-btn:active {
    outline: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Бургер: 3 жёлтые черты */
.burger-btn, header .burger-btn, .header-right .burger-btn {
    background: transparent !important;
    border: 0 !important;
    padding: 8px !important;
    display: inline-flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important;
    width: 40px !important; height: 40px !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    visibility: visible !important;
    opacity: 1 !important;
}
.burger-btn span, header .burger-btn span {
    display: block !important;
    width: 24px !important; height: 3px !important;
    background-color: #2F6BFF !important;
    background-image: none !important;
    border-radius: 2px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.2s, opacity 0.2s;
    transform-origin: center center;
}
/* VIP-тема: бургер жёлтый (на чёрном фоне) */
body[data-vip="true"] .burger-btn span,
body[data-vip="true"] header .burger-btn span {
    background-color: var(--rcde-yellow) !important;
}
.burger-btn.active span:nth-child(1),
header .burger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}
.burger-btn.active span:nth-child(2),
header .burger-btn.active span:nth-child(2) {
    opacity: 0 !important;
}
.burger-btn.active span:nth-child(3),
header .burger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

/* VIP-бейдж (PNG VIP+корона из набора) */
.vip-header-badge {
    display: inline-flex !important;
    align-items: center !important; justify-content: center !important;
    align-self: center !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 40px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    color: inherit;
    flex-shrink: 0;
    vertical-align: middle;
}
.vip-header-badge .vip-header-img {
    height: 26px !important;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
    object-fit: contain;
    position: relative;
    top: 3px;
}

/* Контейнер баланса/тикетов в шапке */
.header-balance-container {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px;
    height: 40px;
}

/* Mis Tickets split-кнопка — редизайн (тёмно-синяя плашка + жёлтая иконка) */
.tickets-split-btn {
    display: inline-flex !important;
    align-items: stretch; overflow: hidden;
    background: #0A2BA5 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 12px !important;
    height: 40px;
}
body[data-vip="true"] .tickets-split-btn {
    background: var(--rcde-navy) !important;
    border-color: var(--rcde-divider) !important;
}
.tickets-split-main {
    display: inline-flex !important; align-items: center; gap: 8px;
    padding: 0 14px !important;
    color: #fff !important;
    background: transparent !important;
    font-weight: 600 !important; font-size: 0.88rem !important;
    border-radius: 0;
}
.tickets-split-main svg { color: var(--rcde-yellow); width: 18px; height: 18px; }
.tickets-split-main:hover { background: rgba(255,255,255,0.05) !important; }
.tickets-split-buy {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--rcde-yellow) !important;
    color: var(--rcde-navy-2) !important;
    border-left: 1px solid var(--rcde-yellow);
    border-radius: 0 12px 12px 0;
}
.tickets-split-buy svg { width: 18px; height: 18px; }
.tickets-split-buy:hover { filter: brightness(1.05); }

/* Wallet split-кнопка */
.wallet-split-btn {
    display: inline-flex !important;
    align-items: stretch; overflow: hidden;
    background: #0A2BA5 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 12px !important;
    height: 40px;
}
body[data-vip="true"] .wallet-split-btn {
    background: var(--rcde-navy) !important;
    border-color: var(--rcde-divider) !important;
}
.wallet-split-main {
    display: inline-flex !important; align-items: center; gap: 8px;
    padding: 0 14px !important;
    color: #fff !important;
    background: transparent !important;
    font-weight: 700 !important; font-size: 0.88rem !important;
    border-radius: 0;
}
.wallet-split-main svg { color: var(--rcde-yellow); width: 18px; height: 18px; }
.wallet-split-main .header-balance { color: var(--rcde-yellow); font-weight: 700; }
.wallet-split-main:hover { background: rgba(255,255,255,0.05) !important; }
.wallet-split-add {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: #2F6BFF !important;
    color: #fff !important;
    border-left: 1px solid #2F6BFF;
    border-radius: 0 12px 12px 0;
}
.wallet-split-add svg { width: 18px; height: 18px; }
.wallet-split-add:hover { filter: brightness(1.05); }

/* Бургер всегда виден */
.burger-btn { display: inline-flex !important; }
.lang-selector { display: inline-flex !important; }
.lang-selector.desktop-only { display: inline-flex !important; }

/* Скрываем длинные плашки на мобильном чтобы не ломать вёрстку */
@media (max-width: 720px) {
    .tickets-split-main span,
    .wallet-split-main .header-balance { display: none; }
    .tickets-split-main { padding: 0 12px !important; }
    .wallet-split-main { padding: 0 12px !important; }
    .vip-header-badge .vip-header-img { height: 22px !important; }
}
@media (max-width: 480px) {
    /* На очень узких — оставляем только бургер, ES, VIP, Iniciar Sesión */
    .tickets-split-btn { display: none !important; }
    .wallet-split-btn { display: none !important; }
    .header-right { gap: 10px; }
}

/* Меню (выезжающее) */
.main-menu .menu-content {
    background: var(--rcde-navy-2);
    border: 1px solid rgba(255,255,255,0.06) !important;
    color: var(--rcde-text);
}
.menu-overlay { background: rgba(0,0,0,0.55); }
.menu-nav-item, .menu-submenu-item { color: var(--rcde-text) !important; }

/* Тонкие тёмные разделители между пунктами (были белые #e2e8f0 из styles.css) */
.main-menu .menu-nav-item,
.main-menu .menu-submenu-item {
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
/* Подменю: тёмный фон вместо белого */
.main-menu .menu-submenu {
    background: rgba(0,0,0,0.18) !important;
}
/* Группа раскрыта — активный пункт не должен "сиять" синим текстом или рамкой */
.menu-nav-group.expanded .menu-nav-item.has-submenu {
    color: var(--rcde-text) !important;
    background: transparent !important;
}
.menu-nav-group.expanded .menu-nav-item.has-submenu .chevron {
    color: var(--rcde-text-soft) !important;
}

/* Убираем browser focus-ring (светло-синяя обводка вокруг <button> Participantes) */
.main-menu .menu-nav-item,
.main-menu .menu-submenu-item,
.main-menu button.menu-nav-item {
    outline: 0 !important;
}
.main-menu .menu-nav-item:focus,
.main-menu .menu-nav-item:focus-visible,
.main-menu .menu-submenu-item:focus,
.main-menu .menu-submenu-item:focus-visible,
.main-menu button.menu-nav-item:focus,
.main-menu button.menu-nav-item:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.menu-nav-item.active,
.menu-nav-item:hover,
.menu-submenu-item:hover,
.menu-submenu-item.active {
    background: rgba(255,201,0,0.10) !important;
    color: var(--rcde-yellow) !important;
}
.menu-nav-divider {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.06) !important;
}

/* Иконки пунктов меню — светло-синие в тон split-кнопки "+" */
.menu-nav-item svg,
.menu-nav-item .menu-icon,
.menu-submenu-item svg {
    color: #2F6BFF;
}
.menu-nav-item.active svg,
.menu-nav-item:hover svg,
.menu-nav-item.active .menu-icon,
.menu-nav-item:hover .menu-icon,
.menu-submenu-item:hover svg,
.menu-submenu-item.active svg {
    color: var(--rcde-yellow);
}

/* VIP / тёмная тема — иконки меню в тон бургера (жёлтые) */
body[data-vip="true"] .menu-nav-item svg,
body[data-vip="true"] .menu-nav-item .menu-icon,
body[data-vip="true"] .menu-submenu-item svg {
    color: var(--rcde-yellow);
}

/* Desktop hover-эффекты для пунктов меню — чуть живее */
@media (hover: hover) and (pointer: fine) {
    .main-menu .menu-nav-item,
    .main-menu .menu-submenu-item {
        transition: background 0.2s ease, color 0.2s ease;
    }
    .main-menu .menu-nav-item:hover,
    .main-menu .menu-submenu-item:hover {
        background: rgba(255,201,0,0.14) !important;
    }
    .main-menu .menu-nav-item svg,
    .main-menu .menu-nav-item .menu-icon,
    .main-menu .menu-submenu-item svg {
        transition: color 0.2s ease, transform 0.2s ease;
    }
    .main-menu .menu-nav-item:hover svg,
    .main-menu .menu-nav-item:hover .menu-icon,
    .main-menu .menu-submenu-item:hover svg {
        transform: scale(1.15);
    }
}

/* ---------- HERO (главная) ----------
   CLARO (BACKGROUND_1): центр #003BB0, mid #022CA6, края #041698
   OSCURA/VIP (BACKGROUND_2): центр #070C4D, mid #05093B, края #010422
   Круги — светлее основы примерно в 1.5 раза по светлоте.
*/
.mono-hero {
    background:
        /* декоративные светлые круги */
        radial-gradient(circle at 5% 8%,    rgba(66,108,240,0.55) 0 70px, transparent 130px),
        radial-gradient(circle at 92% 10%,  rgba(66,108,240,0.55) 0 85px, transparent 150px),
        radial-gradient(circle at 34% 34%,  rgba(66,108,240,0.30) 0 15px, transparent 30px),
        radial-gradient(circle at 96% 58%,  rgba(66,108,240,0.60) 0 95px, transparent 160px),
        radial-gradient(circle at 6% 92%,   rgba(66,108,240,0.55) 0 100px, transparent 170px),
        radial-gradient(circle at 82% 94%,  rgba(66,108,240,0.45) 0 65px, transparent 120px),
        /* базовый радиальный градиент: центр светлее, края темнее */
        radial-gradient(ellipse 80% 70% at 50% 50%, #003BB0 0%, #022CA6 55%, #041698 100%);
    color: #fff;
    padding: 56px 22px 60px;
    overflow: hidden;
    text-align: center;
    position: relative;
}
body[data-vip="true"] .mono-hero {
    background:
        radial-gradient(circle at 5% 8%,    rgba(18,34,110,0.55) 0 70px, transparent 130px),
        radial-gradient(circle at 92% 10%,  rgba(18,34,110,0.55) 0 85px, transparent 150px),
        radial-gradient(circle at 34% 34%,  rgba(18,34,110,0.30) 0 15px, transparent 30px),
        radial-gradient(circle at 96% 58%,  rgba(18,34,110,0.55) 0 95px, transparent 160px),
        radial-gradient(circle at 6% 92%,   rgba(18,34,110,0.55) 0 100px, transparent 170px),
        radial-gradient(circle at 82% 94%,  rgba(18,34,110,0.45) 0 65px, transparent 120px),
        radial-gradient(ellipse 80% 70% at 50% 50%, #070C4D 0%, #05093B 55%, #010422 100%);
}
.mono-hero-bg, .mono-decor { display: none !important; }

.mono-hero-content {
    position: relative; z-index: 2;
    max-width: 760px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.mono-lottery-logo img { max-height: 96px; width: auto; }

/* POZO ACUMULATIVO */
.mono-jackpot {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    margin: 0; width: 100%;
}
.mono-jackpot-label { display: none !important; }
.mono-jackpot-label-arc {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: block;
}
.mono-jackpot-label-arc svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}
.mono-jackpot-label-arc text {
    fill: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: 12px;
    text-transform: uppercase;
}
@media (max-width: 520px) {
    .mono-jackpot-label-arc text { font-size: 28px; letter-spacing: 8px; }
}

/* Jackpot — радиальный градиент белый→жёлтый (только на основных цифрах) */
.mono-jackpot-amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(2.6rem, 11vw, 5.2rem) !important;
    line-height: 1;
    letter-spacing: -0.01em;
    display: inline-block;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-height: 1em;
    min-width: 11ch;
    text-align: center;
    background: radial-gradient(ellipse at 50% 35%, #FFF6C7 0%, #FFDE4A 35%, #FFC700 65%, #E4A700 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.35)) drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}
.mono-jackpot-amount small {
    font-size: 0.5em !important;
    font-weight: 500;
    margin-left: 12px;
    vertical-align: middle;
    position: relative;
    top: -0.12em;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    filter: none !important;
}

/* ---------- Таймер ---------- */
.hero-countdown {
    display: flex; flex-direction: column; align-items: center;
    gap: 14px;
    margin: 4px 0 6px;
}
.hero-countdown-label {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
}
.hero-countdown-label::before, .hero-countdown-label::after { display: none !important; }

.hero-countdown-blocks {
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
}
.hero-cd-item, .hero-cd-light, .hero-cd-warning, .hero-cd-danger {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #040730 !important;
    border: 0 !important;
    border-radius: 10px;
    width: 80px; height: 82px;
    padding: 8px 10px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.30);
}
body[data-vip="true"] .hero-cd-item,
body[data-vip="true"] .hero-cd-light,
body[data-vip="true"] .hero-cd-warning,
body[data-vip="true"] .hero-cd-danger {
    background: var(--rcde-block-black) !important;
}
.hero-cd-item span,
.hero-cd-light span,
.hero-cd-warning span,
.hero-cd-danger span {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.4rem !important;
    line-height: 1;
    color: #fff !important;
}
.hero-cd-item small,
.hero-cd-light small,
.hero-cd-warning small,
.hero-cd-danger small {
    margin-top: 2px !important;
    font-size: 0.65rem !important; font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff !important;
}
.hero-cd-warning span { color: #fff !important; }
.hero-cd-warning small { color: var(--rcde-yellow) !important; }
.hero-cd-danger span { color: var(--rcde-red) !important; }
.hero-cd-danger small { color: var(--rcde-red) !important; }
.hero-cd-sep { display: none !important; }

@media (max-width: 520px) {
    .hero-cd-item, .hero-cd-light, .hero-cd-warning, .hero-cd-danger {
        width: 68px; height: 76px; border-radius: 10px;
    }
    .hero-cd-item span, .hero-cd-light span, .hero-cd-warning span, .hero-cd-danger span {
        font-size: 1.7rem !important;
    }
    .hero-cd-item small, .hero-cd-light small, .hero-cd-warning small, .hero-cd-danger small {
        font-size: 0.6rem !important;
    }
    .hero-countdown-blocks { gap: 8px; }
    .hero-countdown-label { font-size: 0.75rem !important; letter-spacing: 0.28em !important; }
}

/* ---------- PRÓXIMA RIFA pill ---------- */
.mono-draw-date {
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #040730 !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 0 !important;
    margin: 10px auto 0 !important;
    border: 1.5px solid var(--rcde-yellow) !important;
    max-width: 92vw;
    width: fit-content;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    min-height: 40px;
    box-sizing: border-box;
}
body[data-vip="true"] .mono-draw-date { background: #00000A !important; }
.mono-draw-date-badge {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%);
    color: #111;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    padding: 0 22px;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 0 8px 8px 0;
    line-height: 1;
}
.mono-draw-date-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    white-space: nowrap;
}
@media (max-width: 520px) {
    .mono-draw-date { font-size: 0.82rem !important; }
    .mono-draw-date-badge { padding: 0 12px; font-size: 0.82rem; }
    .mono-draw-date-text { padding: 0 14px; }
}

/* Participantes pill — under the jackpot, before countdown */
.hero-participants {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: -4px auto 0;
    padding: 4px 0 0;
    background: transparent;
    border: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    line-height: 1;
    box-shadow: none;
}
.hero-participants-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 999px;
    background: var(--rcde-yellow);
    color: #111;
}
.hero-participants-count {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--rcde-yellow);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}
.hero-participants-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    text-transform: lowercase;
}
body[data-vip="true"] .hero-participants {
    background: transparent;
}
@media (max-width: 520px) {
    .hero-participants { gap: 10px; padding: 8px 16px; }
    .hero-participants-icon { width: 28px; height: 28px; }
    .hero-participants-icon svg { width: 18px; height: 18px; }
    .hero-participants-count { font-size: 1.2rem; }
    .hero-participants-label { font-size: 0.85rem; }
}

/* Описание */
.mono-description {
    color: #fff !important;
    font-size: 1rem !important; line-height: 1.55 !important;
    max-width: 460px;
    margin: 4px auto 4px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* CTA — PARTICIPAR */
.mono-cta, .btn.btn-dark.mono-cta {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    border-radius: var(--rcde-pill) !important;
    padding: 18px 40px !important;
    font-size: 2rem !important;
    border: 0 !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.28), 0 14px 30px rgba(0,0,0,0.22);
    transition: transform .12s ease, filter .12s ease;
    margin-top: 4px;
    display: inline-flex; align-items: center; gap: 8px;
    text-shadow: none;
}
.mono-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta-live-tag { color: var(--rcde-red); font-weight: 700; letter-spacing: 0.18em; }

/* "Ver distribución de premios" — outline pill с треугольниками */
.hero-prizes-link {
    display: inline-flex !important; align-items: center; justify-content: center;
    gap: 18px;
    background: #020C7F !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important; font-size: 1.05rem !important;
    margin-top: 4px;
    text-shadow: none !important;
    letter-spacing: 0 !important;
    text-decoration: none;
}
.hero-prizes-link::before {
    content: ''; width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
}
.hero-prizes-link::after {
    content: ''; width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #fff;
}
.hero-prizes-link:hover { filter: brightness(1.15); }
body[data-vip="true"] .hero-prizes-link { background: #00000A !important; }

/* ---------- Тёмная секция «Con cada compra…» + Cómo participar ---------- */
.mono-prize-section {
    background: #040D47;
    padding: 40px 18px 8px;
    position: relative;
}
body[data-vip="true"] .mono-prize-section { background: #00000A; }

/* Карточка-баннер: жёлтая звезда + текст */
.mono-prize-card {
    max-width: 720px; width: 100%; margin: 0 auto;
    background: radial-gradient(ellipse at 50% 50%, #0C1A7A 0%, #040D47 100%) !important;
    border: 0 !important;
    border-radius: 18px;
    padding: 18px 28px !important;
    display: flex !important; align-items: center; gap: 22px;
    color: #fff !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.30);
}
body[data-vip="true"] .mono-prize-card { background: radial-gradient(ellipse at 50% 50%, #050A45 0%, #000321 100%) !important; }
.mono-prize-card-highlight { background: var(--rcde-blue) !important; }

.mono-prize-icon {
    width: 56px; height: 56px;
    background: transparent !important;
    color: var(--rcde-yellow) !important;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border: 0 !important;
}
.mono-prize-icon svg {
    width: 56px; height: 56px;
}
.mono-prize-info { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; }
.mono-prize-label {
    font-weight: 600 !important; color: #fff !important;
    font-size: 1.05rem !important; letter-spacing: 0;
}
.mono-prize-amount-sub {
    font-weight: 800 !important; color: var(--rcde-yellow) !important;
    font-size: 1.15rem !important;
}

/* ---------- Cómo participar ---------- */
.mono-how-section {
    background: #040D47;
    padding: 8px 18px 56px;
}
body[data-vip="true"] .mono-how-section { background: #00000A; }

/* ---------- Home bottom banner section — фон как у "Cómo participar" ---------- */
.home-banner-section {
    background: #00000A;
    max-width: none !important;
    margin: 0 !important;
    padding: 32px 16px !important;
}
body[data-vip="true"] .home-banner-section { background: #00000A; }
.mono-section-title {
    text-align: center;
    color: #fff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 1.7rem !important;
    letter-spacing: 0.04em;
    margin: 32px 0 28px !important;
}
/* двоеточие уже есть в локали */

.mono-steps {
    max-width: 540px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 26px;
}
.mono-step {
    display: grid !important;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 18px;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Цифра 1/2/3 — большая жёлтая с тенью + треугольник */
.mono-step-icon {
    width: 80px; height: 80px;
    background: transparent !important;
    border: 0 !important;
    display: flex !important; align-items: center; justify-content: flex-start;
    font-family: 'Poppins', sans-serif;
    font-weight: 900 !important;
    font-size: 3.6rem;
    line-height: 1;
    position: relative;
    text-shadow: none !important;
    padding: 0;
}
.mono-step-plate {
    position: absolute;
    left: 14px;
    top: 4px;
    width: 40px;
    height: 72px;
    background: radial-gradient(ellipse at 50% 50%, #1A3CE0 0%, #0A2BA5 100%);
    border-radius: 6px;
    z-index: 0;
}
body[data-vip="true"] .mono-step-plate { background: radial-gradient(ellipse at 50% 50%, #050A45 0%, #000321 100%); }
.mono-step-icon::before {
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.mono-step:nth-child(1) .mono-step-icon::before { content: '1'; }
.mono-step:nth-child(2) .mono-step-icon::before { content: '2'; }
.mono-step:nth-child(3) .mono-step-icon::before { content: '3'; }
.mono-step-icon svg { display: none; }
.mono-step-icon::after {
    content: '';
    width: 14px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'><path d='M2 2.5 Q2 1 3.2 1.7 L12.3 7.7 Q13.3 8.4 13.3 9.5 Q13.3 10.6 12.3 11.3 L3.2 17.3 Q2 18 2 16.5 Z' fill='%23fff'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 6px;
    align-self: center;
    margin-top: 4px;
    position: relative;
    z-index: 1;
    text-shadow: none;
    filter: none;
}

.mono-step-content h3 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important; font-size: 1.15rem !important;
    margin: 0 0 4px !important;
}
.mono-step-content p {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    font-size: 1rem !important; line-height: 1.45 !important;
    margin: 0 !important;
}

/* COMPRAR BILLETE — большая жёлтая pill */
.mono-participate-btn {
    display: block !important;
    margin: 36px auto 0 !important;
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important; font-size: 2rem !important;
    text-transform: uppercase !important; letter-spacing: 0 !important;
    border-radius: var(--rcde-pill) !important;
    padding: 18px 40px !important;
    border: 0 !important;
    width: 100% !important;
    max-width: 460px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25), 0 14px 30px rgba(0,0,0,0.20);
    text-align: center;
}
.mono-participate-btn:hover { filter: brightness(1.05); }

/* ---------- Превью трансляции ---------- */
.mono-live-section {
    background: var(--rcde-blue);
    padding: 48px 18px 56px;
    position: relative;
    overflow: hidden;
}
body[data-vip="true"] .mono-live-section { background: var(--rcde-navy); }

/* Декоративные круги в этой секции */
.mono-live-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 6% 50%, rgba(255,255,255,0.10) 0 110px, transparent 112px),
        radial-gradient(circle at 96% 80%, rgba(255,255,255,0.10) 0 90px, transparent 92px),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,0.08) 0 60px, transparent 62px);
    pointer-events: none; z-index: 0;
}
body[data-vip="true"] .mono-live-section::before {
    background:
        radial-gradient(circle at 6% 50%, rgba(255,255,255,0.05) 0 110px, transparent 112px),
        radial-gradient(circle at 96% 80%, rgba(255,255,255,0.05) 0 90px, transparent 92px),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,0.04) 0 60px, transparent 62px);
}
.mono-live-section .mono-container {
    max-width: 720px; margin: 0 auto;
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 26px;
}

.mono-player-wrapper { padding: 0; width: 100%; }
.mono-player {
    background: #00000A !important;
    border: 2px solid var(--rcde-yellow) !important;
    border-radius: var(--rcde-radius-lg);
    box-shadow: 0 14px 38px rgba(0,0,0,0.30);
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    overflow: hidden;
}
.mono-player-ghost { aspect-ratio: 16 / 9 !important; min-height: 0 !important; }
body[data-vip="true"] .mono-player { background: #00000A !important; }
.mono-player-placeholder { background: transparent !important; }

.player-content { gap: 20px !important; }
.player-logo-pulse {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    animation: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.player-logo-pulse::before,
.player-logo-pulse::after { display: none !important; }
.player-logo-img {
    width: 260px;
    max-width: 60%;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55));
    animation: none !important;
}
.player-status {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important; letter-spacing: 0.02em; text-transform: uppercase;
}
.player-time {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important; font-size: 0.8rem !important;
    background: #040730 !important;
    border: 2px solid var(--rcde-yellow) !important;
    border-radius: 10px !important;
    padding: 4px 22px !important;
    display: inline-block;
}

/* Mini-таймер на превью трансляции — те же чёрные квадраты */
.player-countdown-compact {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
}
.countdown-label-inline {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important; font-size: 0.72rem !important;
    text-transform: uppercase;
}
.countdown-blocks {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}
.countdown-block,
.countdown-block-light,
.countdown-block-warning,
.countdown-block-danger {
    background: #040730 !important;
    border: 0 !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    width: 70px; height: 72px;
    min-width: 0;
    box-shadow: 0 4px 0 rgba(0,0,0,0.30);
    backdrop-filter: none !important;
}
.countdown-block span,
.countdown-block-light span,
.countdown-block-warning span,
.countdown-block-danger span {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    line-height: 1;
    color: #fff !important;
}
.countdown-block small,
.countdown-block-light small,
.countdown-block-warning small,
.countdown-block-danger small {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.65rem !important;
    margin-left: 0 !important; margin-top: 2px !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.countdown-block-warning small { color: var(--rcde-yellow) !important; }
.countdown-block-danger small { color: var(--rcde-red) !important; }
.countdown-block-warning span { color: #fff !important; }
.countdown-block-danger span { color: var(--rcde-red) !important; }
.countdown-block-danger small { color: var(--rcde-red) !important; }
.countdown-sep { display: none !important; }

/* SEGUÍNOS EN LAS REDES — жёлтая pill + тёмная часть с иконками в одной обёртке */
.mono-social-info {
    margin: -10px auto 0 !important;
    background: #00000A !important;
    border: 2px solid var(--rcde-yellow) !important;
    border-radius: 999px !important;
    padding: 0 !important;
    display: inline-flex !important; align-items: center; gap: 0;
    width: auto !important; max-width: 92vw;
    flex-wrap: nowrap;
    overflow: visible;
    min-height: 44px;
    position: relative;
    box-shadow: none !important;
}
body[data-vip="true"] .mono-social-info { background: #00000A !important; }
.mono-social-info p {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%);
    color: #111 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: 0.95rem !important;
    letter-spacing: 0.01em !important;
    margin: -2px 0 -2px -2px !important;
    white-space: nowrap;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    align-self: stretch;
    box-shadow: none !important;
}
.mono-social-links {
    display: inline-flex !important;
    gap: 22px;
    align-items: center;
    padding: 0 24px 0 22px;
}
.mono-social-btn {
    width: 44px !important; height: 44px !important;
    border-radius: 12px !important;
    background: transparent !important;
    border: 0 !important; padding: 0 !important;
    display: flex !important; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    margin-top: -8px;
    margin-bottom: -8px;
    filter: none !important;
    box-shadow: none !important;
}
.mono-social-btn img {
    width: 48px; height: 48px;
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
    filter: none !important;
    box-shadow: none !important;
}
.mono-social-btn svg { display: none; }
.mono-social-btn {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.mono-social-btn:nth-child(1) { transform: rotate(-6deg); }
.mono-social-btn:nth-child(2) { transform: rotate(4deg); }
.mono-social-btn:nth-child(3) { transform: rotate(-4deg); }
.mono-social-btn:nth-child(4) { transform: rotate(6deg); }

@media (hover: hover) and (pointer: fine) {
    .mono-social-btn:hover {
        transform: rotate(0deg) scale(1.18) !important;
        z-index: 2;
    }
}

@media (max-width: 520px) {
    .mono-social-info { min-height: 36px; }
    .mono-social-info p { font-size: 0.7rem !important; padding: 0 14px; }
    .mono-social-links { padding: 0 16px 0 14px; gap: 14px; }
    .mono-social-btn { width: 30px !important; height: 30px !important; margin-top: -6px; margin-bottom: -6px; }
    .mono-social-btn img { width: 34px; height: 34px; }
}

/* ---------- FOOTER ---------- */
.footer {
    background: #040D47 !important;
    color: #fff;
    border-top: 0;
    padding: 56px 0 40px;
    font-family: 'Poppins', sans-serif;
}
body[data-vip="true"] .footer { background: #000 !important; }
.footer-container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.footer-top {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 32px;
    flex-wrap: wrap;
}
.footer-brand { flex-shrink: 0; }
.footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
}
.footer-about {
    flex: 1;
    min-width: 280px;
}
.footer-about p {
    color: #fff !important;
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 600;
    margin: 0;
}
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 28px 0 36px;
}
.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 1.5rem;
    margin: 0 0 22px;
    text-transform: none;
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-column ul a {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-column ul a:hover { color: var(--rcde-yellow); }

.footer .social-links {
    display: grid;
    grid-template-columns: repeat(2, 44px);
    gap: 10px;
}
.footer .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent !important;
    border: 0 !important;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.15s;
}
.footer .social-links a:hover {
    background: transparent !important;
    border: 0 !important;
}
.footer .social-links a:hover { transform: scale(1.05); }
.footer .social-links a img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.footer .social-links a svg { display: none; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--rcde-yellow) !important;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 28px;
    text-align: center;
}
.footer-bottom p {
    color: var(--rcde-yellow) !important;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.footer-bottom p * { color: var(--rcde-yellow) !important; }
.footer-legal {
    display: inline-flex;
    gap: 36px;
    margin-top: 4px;
}
.footer-legal a,
.footer .footer-legal a {
    color: var(--rcde-yellow) !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}
.footer-legal a:hover { text-decoration: underline; }

/* +18 бейдж */
.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 24px;
}
.age-badge-img {
    width: 40px;
    height: 40px;
    display: block;
}
.age-badge-icon { display: none; }

@media (max-width: 900px) {
    .footer-container { padding: 0 22px; }
    .footer-logo { max-height: 40px; }
    .footer-about p { font-size: 0.95rem; }
    .footer-column h4 { font-size: 1.2rem; margin-bottom: 14px; }
    .footer-links { gap: 24px; }
}
@media (max-width: 720px) {
    .footer { padding: 36px 0 28px; }
    .footer-top { flex-direction: column; align-items: center; gap: 18px; text-align: center; }
    .footer-about { text-align: center; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 22px; }
    .footer-column ul { gap: 12px; }
    .footer-bottom p, .footer-legal a { font-size: 0.9rem; }
}
@media (max-width: 480px) {
    .footer-links { grid-template-columns: 1fr; gap: 22px; }
    .footer .social-links { grid-template-columns: repeat(4, 40px); }
    .footer .social-links a { width: 40px; height: 40px; }
}

/* ---------- Общие переопределения ---------- */
.btn { font-family: 'Poppins', sans-serif; }
.btn-yellow,
.btn.btn-yellow {
    background: var(--rcde-yellow);
    color: var(--rcde-navy-2);
    border-radius: var(--rcde-pill);
    font-weight: 800;
    padding: 14px 26px;
    border: 0;
    box-shadow: 0 5px 0 rgba(0,0,0,0.22);
}
.btn-yellow:hover { filter: brightness(1.05); }
.btn-outline {
    border: 2px solid #fff; color: #fff; background: transparent;
    border-radius: var(--rcde-pill);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* Карточки общего вида */
.card, .box, .panel, .tile {
    background: var(--rcde-card-dark);
    color: #fff;
    border-radius: var(--rcde-radius-lg);
    border: 1px solid var(--rcde-divider);
}

/* Inputs */
input[type="text"], input[type="email"], input[type="number"],
input[type="password"], input[type="tel"], input[type="search"],
select, textarea {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid var(--rcde-divider);
    border-radius: var(--rcde-radius);
    padding: 12px 14px;
    font-family: 'Poppins', sans-serif;
}
input::placeholder, textarea::placeholder { color: var(--rcde-text-muted); }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--rcde-yellow);
    box-shadow: 0 0 0 3px rgba(255,201,0,0.18);
}

/* Заголовки */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: #fff; }

/* Стрелки в shortlinks (декор) */
.mono-jackpot-amount::before, .mono-jackpot-amount::after { display: none !important; }

/* ---------- Адаптив главной ---------- */
@media (max-width: 640px) {
    .header-container { padding: 4px 16px; }
    .header .logo-img { height: 46px; }
    .mono-hero { padding: 44px 18px 50px; }
    .mono-section-title { font-size: 1.35rem !important; }
    .mono-cta, .btn.btn-dark.mono-cta { padding: 14px 40px !important; font-size: 1.5rem !important; }
    .mono-step { grid-template-columns: 60px 1fr; gap: 14px; }
    .mono-step-icon { width: 60px; height: 60px; font-size: 2.6rem; text-shadow: none !important; }
    .mono-step-plate { left: 10px; top: 2px; width: 32px; height: 54px; }
    .mono-step-icon::after { width: 11px; height: 14px; margin-left: 4px; filter: none !important; }
    .mono-prize-card { padding: 14px 16px !important; gap: 14px; }
    .mono-prize-icon, .mono-prize-icon svg { width: 44px !important; height: 44px !important; }
    .mono-prize-label { font-size: 0.95rem !important; }
    .mono-prize-amount-sub { font-size: 1rem !important; }
}

/* ---------- Очистка устаревших декоров ---------- */
.player-bg-animation, .player-wave { display: none !important; }
.player-expand-hint { color: rgba(255,255,255,0.6) !important; }

/* ---------- Mobile / Dropdown Menu ---------- */
.menu-content { font-family: 'Poppins', sans-serif; }

/* VIP-бейдж в меню */
.vip-menu-badge {
    background: radial-gradient(ellipse at 50% 0%, rgba(255,201,0,0.12) 0%, transparent 70%) !important;
    border: 1px solid rgba(255,201,0,0.35) !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    margin-bottom: 14px !important;
    gap: 8px !important;
}
.vip-menu-badge svg { fill: var(--rcde-yellow) !important; }
.vip-menu-badge span {
    color: var(--rcde-yellow) !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
}

/* Split-кнопки в мобильном меню: темно-синий фон + жёлтый/голубой акцент */
.menu-tickets-split,
.menu-wallet-split {
    background: var(--rcde-navy) !important;
    border: 1px solid var(--rcde-divider) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    min-height: 56px !important;
    margin-bottom: 12px !important;
}
.menu-tickets-btn,
.menu-tickets-btn-main,
.menu-wallet-btn,
.menu-wallet-btn-main {
    background: transparent !important;
    color: #fff !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 12px 16px !important;
}
.menu-tickets-btn:hover,
.menu-wallet-btn:hover {
    background: rgba(255,255,255,0.05) !important;
}
.menu-tickets-info svg,
.menu-wallet-info svg { color: var(--rcde-yellow) !important; }
.menu-wallet-label { color: rgba(255,255,255,0.55) !important; }
.menu-wallet-balance { color: var(--rcde-yellow) !important; font-weight: 800 !important; }
.menu-tickets-label { color: #fff !important; font-weight: 700 !important; }

/* Правый "+" button: Mis Tickets — жёлтый, Wallet — голубой */
.menu-tickets-buy-btn {
    background: var(--rcde-yellow) !important;
    color: var(--rcde-navy-2) !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(0,0,0,0.15) !important;
}
.menu-tickets-buy-btn:hover { filter: brightness(1.05); background: var(--rcde-yellow) !important; }
.menu-wallet-add-btn {
    background: #2F6BFF !important;
    color: #fff !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
    border-left: 1px solid rgba(0,0,0,0.15) !important;
}
.menu-wallet-add-btn:hover { filter: brightness(1.05); background: #2F6BFF !important; }

/* VIP-тема: всё тот же стиль, но сохраняем золотые акценты */
body[data-vip="true"] .menu-tickets-split,
body[data-vip="true"] .menu-wallet-split {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,201,0,0.18) !important;
}

/* ---------- Prize Distribution Popup ---------- */
.prize-popup-overlay {
    background: rgba(3, 8, 42, 0.75) !important;
}
.prize-popup {
    background: radial-gradient(ellipse at 50% 0%, var(--rcde-navy) 0%, var(--rcde-navy-2) 70%, var(--rcde-navy-3) 100%) !important;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,60,224,0.2) inset !important;
}
body[data-vip="true"] .prize-popup {
    background: radial-gradient(ellipse at 50% 0%, #0a0a14 0%, #050510 60%, #00000A 100%) !important;
    border: 1px solid rgba(255,201,0,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,201,0,0.12) inset !important;
}
.prize-popup-header {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.prize-popup-header h3 {
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}
.prize-popup-close { color: rgba(255,255,255,0.7) !important; }
.prize-popup-close:hover { color: var(--rcde-yellow) !important; }

.prize-popup-pool {
    background: rgba(26,60,224,0.12) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
body[data-vip="true"] .prize-popup-pool {
    background: rgba(255,201,0,0.06) !important;
}
.prize-popup-pool-label {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
}
.prize-popup-pool-amount {
    color: var(--rcde-yellow) !important;
    font-weight: 800;
}

.prize-popup-table thead {
    background: transparent !important;
}
.prize-popup-table th {
    color: rgba(255,255,255,0.55) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.prize-popup-table td {
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
}
.prize-popup-table tbody tr {
    background: rgba(26,60,224,0.08) !important;
}
.prize-popup-table tbody tr:nth-child(even) {
    background: rgba(26,60,224,0.15) !important;
}
body[data-vip="true"] .prize-popup-table tbody tr {
    background: rgba(255,255,255,0.03) !important;
}
body[data-vip="true"] .prize-popup-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.06) !important;
}
.prize-popup-table tbody td:last-child {
    color: var(--rcde-yellow) !important;
    font-weight: 800;
}
.prize-each {
    color: rgba(255,255,255,0.5);
}

/* =================================================================
   ГЛОБАЛЬНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ — привести все страницы к RCDE палитре
   redesign.css грузится после styles.css => каскад работает без !important
   ================================================================= */

/* ---------- Payment Modal (bottom-sheet, используется в comprar/billetera) ---------- */
.payment-modal-overlay {
    background: rgba(3, 8, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.payment-modal {
    background: radial-gradient(ellipse at 50% 0%, var(--rcde-navy) 0%, var(--rcde-navy-2) 70%, var(--rcde-navy-3) 100%);
    color: #fff;
    border-top: 1px solid rgba(255,201,0,0.18);
    box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
}
body[data-vip="true"] .payment-modal {
    background: radial-gradient(ellipse at 50% 0%, #0a0a14 0%, #050510 60%, #00000A 100%);
    border-top: 1px solid rgba(255,201,0,0.22);
}
.payment-modal-close {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
}
.payment-modal-close:hover {
    background: var(--rcde-yellow);
    color: var(--rcde-navy-2);
}
.payment-modal h1, .payment-modal h2, .payment-modal h3, .payment-modal h4,
.payment-modal-title, .payment-step h2, .payment-step h3, .payment-step h4 { color: #fff; }

.payment-total-box {
    background: rgba(26,60,224,0.12);
    border: 1px solid rgba(26,60,224,0.35);
    border-radius: 14px;
    color: #fff;
}
body[data-vip="true"] .payment-total-box {
    background: rgba(255,201,0,0.06);
    border-color: rgba(255,201,0,0.22);
}
.payment-total-amount { color: var(--rcde-yellow); }

/* ---------- TX Detail modal ---------- */
.tx-detail-modal {
    background: radial-gradient(ellipse at 50% 0%, var(--rcde-navy) 0%, var(--rcde-navy-2) 70%, var(--rcde-navy-3) 100%);
    color: #fff;
}
body[data-vip="true"] .tx-detail-modal {
    background: radial-gradient(ellipse at 50% 0%, #0a0a14 0%, #050510 60%, #00000A 100%);
}
.tx-details-card, .tx-detail-block {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #fff;
    border-radius: 16px !important;
    overflow: hidden;
}
.tx-detail-row {
    background: transparent !important;
    border: 0 !important;
    color: #fff;
}
.tx-details-card .tx-detail-row + .tx-detail-row {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.tx-detail-label { color: rgba(255,255,255,0.65) !important; }
.tx-detail-value { color: #fff !important; }
.tx-detail-row strong, .tx-detail-row b { color: var(--rcde-yellow); }

/* ---------- Статусы и бейджи ---------- */
.tx-status-pending,
.tx-header-badge-pending,
.ticket-order-status.pending {
    background: rgba(255,201,0,0.15);
    color: var(--rcde-yellow);
    border: 1px solid rgba(255,201,0,0.35);
}
.tx-status-completed,
.tx-header-badge-completed,
.ticket-order-status.paid,
.ticket-status-paid,
.status-paid {
    background: rgba(26,60,224,0.18);
    color: #6EA0FF;
    border: 1px solid rgba(26,60,224,0.45);
}
body[data-vip="true"] .tx-status-completed,
body[data-vip="true"] .tx-header-badge-completed,
body[data-vip="true"] .ticket-order-status.paid {
    background: rgba(255,201,0,0.12);
    color: var(--rcde-yellow);
    border-color: rgba(255,201,0,0.35);
}
.tx-status-rejected,
.tx-header-badge-rejected,
.ticket-order-status.cancelled,
.status-rejected {
    background: rgba(239,68,68,0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239,68,68,0.4);
}
.winner-badge,
.ticket-number-badge.winner,
.ticket-winner-badge {
    background: var(--rcde-yellow);
    color: var(--rcde-navy-2);
    border: 0;
}

/* ---------- Verify banners ---------- */
.verify-banner-success,
.verify-status-success,
body[data-vip="true"] .verify-banner-success,
body[data-vip="true"] .verify-status-success {
    background: linear-gradient(135deg, rgba(34,197,94,0.22), rgba(22,163,74,0.12)) !important;
    border: 1px solid rgba(34,197,94,0.55) !important;
    color: #bff7cc !important;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12), 0 4px 16px rgba(22,163,74,0.18) !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif !important;
}
.verify-banner-success span,
.verify-status-success span,
body[data-vip="true"] .verify-banner-success span,
body[data-vip="true"] .verify-status-success span { color: #bff7cc !important; }
.verify-banner-success svg,
.verify-status-success svg,
body[data-vip="true"] .verify-banner-success svg,
body[data-vip="true"] .verify-status-success svg {
    color: #5ee27e !important;
    stroke: #5ee27e !important;
    width: 26px !important;
    height: 26px !important;
    filter: drop-shadow(0 0 6px rgba(94,226,126,0.5));
}
.verify-banner-pending,
.verify-status-pending {
    background: rgba(255,201,0,0.1);
    border: 1px solid rgba(255,201,0,0.38);
    color: #fff;
}
.verify-banner-error,
.verify-status-error,
.verify-status-rejected {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.42);
    color: #fff;
}

/* ---------- Combo cards (comprar.html) ---------- */
.combo-card {
    background: var(--rcde-navy);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.combo-card.selected,
.combo-card:hover {
    border-color: var(--rcde-yellow);
    box-shadow: 0 0 0 2px rgba(255,201,0,0.25);
}
.combo-card-title { color: var(--rcde-yellow); }
.combo-card-price, .combo-card-qty { color: #fff; }

/* ---------- Referral / Afiliados ---------- */
.ref-hero * { font-family: 'Poppins', sans-serif !important; }
.ref-hero h1 { color: var(--rcde-yellow) !important; font-weight: 800 !important; text-shadow: 2px 2px 0 rgba(0,0,0,0.3); }
.ref-hero p { color: #fff !important; }
.ref-hero-icon {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.3) !important;
    color: var(--rcde-yellow) !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25);
}

.ref-level-card,
.ref-stat-card,
.ref-invite-card,
.ref-stat-box {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    color: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25) !important;
    font-family: 'Poppins', sans-serif !important;
}
.ref-level-card * ,
.ref-stat-box * { font-family: 'Poppins', sans-serif !important; }

.ref-level-card.active {
    border-color: var(--rcde-yellow) !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25), 0 0 0 2px rgba(255,201,0,0.35) !important;
}
.ref-level-current {
    background: var(--rcde-yellow) !important;
    color: var(--rcde-navy-2) !important;
    font-weight: 800 !important;
}
.ref-level-badge { color: #fff !important; }
.ref-level-progress-text { color: rgba(255,255,255,0.7) !important; }
.ref-level-bar { background: rgba(255,255,255,0.12) !important; }
.ref-level-bar-fill {
    background: linear-gradient(90deg, var(--rcde-blue) 0%, var(--rcde-yellow) 100%) !important;
}
.ref-level-stat-label { color: rgba(255,255,255,0.7) !important; }
.ref-level-stat-value { color: var(--rcde-yellow) !important; }

/* Stats row */
.ref-stat-label { color: rgba(255,255,255,0.7) !important; }
.ref-stat-value { color: #fff !important; font-weight: 900 !important; }
.ref-stat-primary { color: var(--rcde-yellow) !important; }
.ref-stat-green { color: #5ee27e !important; }

/* Section titles */
.ref-section-title {
    color: var(--rcde-yellow) !important;
    font-weight: 800 !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Steps */
.ref-step-icon {
    background: url("/static/images/redesign/icons/cuadro.png") center/contain no-repeat !important;
    border: 0 !important;
    color: var(--rcde-yellow) !important;
    box-shadow: none !important;
}
.ref-step-content strong { color: var(--rcde-yellow) !important; font-family: 'Poppins', sans-serif !important; }
.ref-step-content p { color: #fff !important; font-family: 'Poppins', sans-serif !important; }
.ref-step-line { background: rgba(255,201,0,0.25) !important; }

/* Rules */
.ref-rule-block h4 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
}
.ref-rule-block p,
.ref-rule-block li {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}
.ref-rule-block strong { color: var(--rcde-yellow) !important; }
.ref-rule-disclaimer {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 12px !important;
}
.ref-rule-disclaimer p { color: rgba(255,255,255,0.8) !important; }

/* Referred users list */
.ref-user-row { border-bottom-color: rgba(255,255,255,0.1) !important; }
.ref-user-cedula {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
}
.ref-user-name { color: #fff !important; font-family: 'Poppins', sans-serif !important; }
.ref-user-date { color: rgba(255,255,255,0.7) !important; font-family: 'Poppins', sans-serif !important; }

/* Info / tooltip button */
.ref-info-btn { color: rgba(255,255,255,0.6) !important; }
.ref-info-btn:hover { color: var(--rcde-yellow) !important; }
.ref-tier2-tooltip {
    background: var(--rcde-navy-2) !important;
    color: #fff !important;
    border: 1px solid rgba(255,201,0,0.3) !important;
    font-family: 'Poppins', sans-serif !important;
}
.ref-tier2-tooltip::after { border-top-color: var(--rcde-navy-2) !important; }

/* Load-more кнопка */
.wallet-load-more {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.4) !important;
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    border-radius: var(--rcde-pill) !important;
}
.wallet-load-more:hover {
    background: rgba(255,201,0,0.12) !important;
    border-color: var(--rcde-yellow) !important;
}

.ref-progress-bar,
.referral-progress-bar { background: rgba(255,255,255,0.08); }
.ref-progress-bar-fill,
.referral-progress-bar-fill {
    background: linear-gradient(90deg, var(--rcde-blue) 0%, var(--rcde-yellow) 100%);
}

/* ---------- Единый фон страниц (эталон — VIP) ---------- */
.vip-page,
.tickets-page,
.wallet-page,
.mono-purchase-page,
.results-page,
.promos-page,
.live-page,
.legal-page,
.verify-page,
.reglas-page {
    background:
        radial-gradient(circle at 5% 8%,    rgba(66,108,240,0.55) 0 70px, transparent 130px),
        radial-gradient(circle at 92% 10%,  rgba(66,108,240,0.55) 0 85px, transparent 150px),
        radial-gradient(circle at 34% 34%,  rgba(66,108,240,0.30) 0 15px, transparent 30px),
        radial-gradient(circle at 96% 58%,  rgba(66,108,240,0.60) 0 95px, transparent 160px),
        radial-gradient(circle at 6% 92%,   rgba(66,108,240,0.55) 0 100px, transparent 170px),
        radial-gradient(circle at 82% 94%,  rgba(66,108,240,0.45) 0 65px, transparent 120px),
        radial-gradient(ellipse 80% 70% at 50% 50%, #003BB0 0%, #022CA6 55%, #041698 100%);
    background-attachment: fixed;
    color: #fff;
    padding: 32px 20px 60px;
    max-width: none;
    width: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}
/* VIP-тема — оставляем глубокий радиальный градиент как было */
body[data-vip="true"] .vip-page,
body[data-vip="true"] .tickets-page,
body[data-vip="true"] .wallet-page,
body[data-vip="true"] .mono-purchase-page,
body[data-vip="true"] .results-page,
body[data-vip="true"] .promos-page,
body[data-vip="true"] .live-page,
body[data-vip="true"] .legal-page,
body[data-vip="true"] .verify-page,
body[data-vip="true"] .reglas-page {
    background:
        radial-gradient(circle at 5% 8%,    rgba(18,34,110,0.55) 0 70px, transparent 130px),
        radial-gradient(circle at 92% 10%,  rgba(18,34,110,0.55) 0 85px, transparent 150px),
        radial-gradient(circle at 34% 34%,  rgba(18,34,110,0.30) 0 15px, transparent 30px),
        radial-gradient(circle at 96% 58%,  rgba(18,34,110,0.55) 0 95px, transparent 160px),
        radial-gradient(circle at 6% 92%,   rgba(18,34,110,0.55) 0 100px, transparent 170px),
        radial-gradient(circle at 82% 94%,  rgba(18,34,110,0.45) 0 65px, transparent 120px),
        radial-gradient(ellipse 55% 45% at 50% 50%, #070C4D 0%, #05093B 30%, #010422 75%);
    background-attachment: fixed;
}
.vip-container,
.reglas-container { width: 100%; max-width: 900px; margin: 0 auto; }
.tickets-container, .wallet-container,
.results-page .section-container, .promos-page .section-container { width: 100%; margin: 0 auto; }
.mono-container, .live-page .section-container { width: 100%; max-width: 1100px; margin: 0 auto; }
@media (min-width: 768px) {
    .wallet-container { max-width: 560px; }
    .tickets-container,
    .results-page .section-container,
    .promos-page .section-container { max-width: 800px; }
}

/* Заголовки h1 на всех редизайн-страницах — жёлтые, Poppins, bold */
.tickets-page h1,
.wallet-page h1,
.mono-purchase-page h1,
.results-page h1,
.promos-page h1,
.live-page h1,
.legal-page h1,
.verify-page h1 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}
.tickets-page h2, .wallet-page h2, .mono-purchase-page h2,
.results-page h2, .promos-page h2, .live-page h2,
.legal-page h2, .verify-page h2 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
}
.tickets-page p, .wallet-page p, .mono-purchase-page p,
.results-page p, .promos-page p, .live-page p,
.legal-page p, .verify-page p,
.tickets-subtitle { color: #fff !important; }

.vip-back-link,
.purchase-back-btn,
.results-back-btn,
.reglas-back-link,
.legal-page .back-btn,
.back-link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    border: 0 !important;
    border-radius: var(--rcde-pill) !important;
    padding: 10px 22px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.28), 0 10px 22px rgba(0,0,0,0.2) !important;
    margin-bottom: 28px;
    font-size: 0.95rem !important;
    width: auto !important;
}
.vip-back-link:hover,
.purchase-back-btn:hover,
.results-back-btn:hover,
.reglas-back-link:hover,
.legal-page .back-btn:hover,
.back-link:hover { filter: brightness(1.05); color: #111 !important; }

/* Универсальный чёрный треугольник слева у back-кнопок — скруглённые края. */
.purchase-back-btn svg,
.results-back-btn svg,
.reglas-back-link svg,
.legal-page .back-btn svg,
.back-link svg { display: none !important; }
.vip-back-link::before,
.purchase-back-btn::before,
.results-back-btn::before,
.reglas-back-link::before,
.legal-page .back-btn::before,
.back-link::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #111;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M15 3.5 L15 16.5 Q15 18 13.7 17.2 L4.5 11.3 Q3.2 10.5 4.5 9.7 L13.7 2.8 Q15 2 15 3.5 Z' fill='black' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M15 3.5 L15 16.5 Q15 18 13.7 17.2 L4.5 11.3 Q3.2 10.5 4.5 9.7 L13.7 2.8 Q15 2 15 3.5 Z' fill='black' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") center/contain no-repeat;
    flex-shrink: 0;
}
.vip-back-arrow { display: none !important; }

/* HERO: синяя плашка с белым CLUB VIP лого */
.vip-hero {
    background: #061057;
    border-radius: 20px;
    padding: 56px 32px;
    text-align: center;
    box-shadow: none;
    border: 0;
    margin-bottom: 40px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
body[data-vip="true"] .vip-hero {
    background: #0626A9;
    box-shadow: none;
}
.vip-hero-logo {
    max-width: 340px;
    width: 80%;
    height: auto;
    display: block;
    filter: none;
    box-shadow: none;
    text-shadow: none;
}
/* Скрываем старые элементы */
.vip-hero-crown, .vip-hero-title, .vip-hero-subtitle { display: none !important; }

/* Секции */
.vip-section {
    background: transparent;
    padding: 0;
    margin-bottom: 36px;
    border: 0;
}
.vip-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 800 !important;
    font-size: 1.4rem;
    margin: 0 0 16px;
    padding: 0;
    border: 0 !important;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}
body[data-vip="true"] .vip-section h2 {
    color: var(--rcde-yellow) !important;
    border: 0 !important;
}
/* Синие квадратные иконки с жёлтым значком — фон из CUADRO.png */
.vip-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: url("/static/images/redesign/icons/cuadro.png") center/contain no-repeat;
    border-radius: 0;
    color: var(--rcde-yellow);
    flex-shrink: 0;
    box-shadow: none;
}
.vip-section-icon svg { display: block; }
.vip-section-icon.vip-section-icon-img {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    object-fit: contain;
}

.vip-section-text,
.vip-section > p {
    color: #fff !important;
    line-height: 1.55;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}
body[data-vip="true"] .vip-section-text,
body[data-vip="true"] .vip-section > p { color: #fff !important; }

/* Шаги: синяя плашка-плейт + золотая цифра + белая play-стрелка (как на главной) */
.vip-steps {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 20px;
    max-width: 540px;
}
.vip-step {
    display: grid !important;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 18px;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
}
body[data-vip="true"] .vip-step {
    background: transparent !important;
    border: 0 !important;
}
.vip-step-num {
    width: 80px; height: 80px;
    background: transparent !important;
    border: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Poppins', sans-serif;
    font-weight: 900 !important;
    font-size: 3.6rem !important;
    line-height: 1;
    position: relative;
    text-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
}
.vip-step-plate {
    position: absolute;
    left: 14px;
    top: 4px;
    width: 40px;
    height: 72px;
    background: radial-gradient(ellipse at 50% 50%, #1A3CE0 0%, #0A2BA5 100%);
    border-radius: 6px;
    z-index: 0;
}
body[data-vip="true"] .vip-step-plate {
    background: radial-gradient(ellipse at 50% 50%, #050A45 0%, #000321 100%);
}
.vip-step-num::before {
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.vip-step:nth-child(1) .vip-step-num::before { content: '1'; }
.vip-step:nth-child(2) .vip-step-num::before { content: '2'; }
.vip-step:nth-child(3) .vip-step-num::before { content: '3'; }
.vip-step-num::after {
    content: '';
    width: 14px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'><path d='M2 2.5 Q2 1 3.2 1.7 L12.3 7.7 Q13.3 8.4 13.3 9.5 Q13.3 10.6 12.3 11.3 L3.2 17.3 Q2 18 2 16.5 Z' fill='%23fff'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 6px;
    align-self: center;
    margin-top: 4px;
    position: relative;
    z-index: 1;
    text-shadow: none;
    filter: none;
}
.vip-step-content {
    padding-top: 8px;
}
.vip-step-content h4 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 800 !important;
    margin: 0 0 4px !important;
    font-size: 1.15rem !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}
.vip-step-content p {
    color: #fff !important;
    margin: 0 !important;
    font-weight: 500;
    font-size: 0.98rem;
    line-height: 1.45;
}
body[data-vip="true"] .vip-step-content h4 { color: var(--rcde-yellow) !important; }
body[data-vip="true"] .vip-step-content p { color: #fff !important; }

/* Benefits grid — карточки тёмно-синие */
.vip-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.vip-benefit-card {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 14px !important;
    padding: 22px 18px !important;
    text-align: center;
}
body[data-vip="true"] .vip-benefit-card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,201,0,0.22) !important;
}
.vip-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: url("/static/images/redesign/icons/cuadro.png") center/contain no-repeat;
    border-radius: 0;
    margin-bottom: 12px;
    color: var(--rcde-yellow);
    box-shadow: none;
}
.vip-benefit-card h4 {
    color: var(--rcde-yellow) !important;
    font-weight: 800 !important;
    font-size: 1rem;
    margin: 0 0 6px !important;
}
.vip-benefit-card p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.88rem;
    margin: 0 !important;
    line-height: 1.45;
}
body[data-vip="true"] .vip-benefit-card h4 { color: var(--rcde-yellow) !important; }
body[data-vip="true"] .vip-benefit-card p { color: rgba(255,255,255,0.85) !important; }

/* Rules */
.vip-rules {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vip-rule {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px !important;
    background: rgba(26,60,224,0.12) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 0.95rem;
    line-height: 1.5;
}
.vip-rule::before {
    content: "";
    flex-shrink: 0;
    width: 20px; height: 20px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC900' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 11-5.93-9.14'/><path d='M22 4L12 14.01l-3-3'/></svg>") center/contain no-repeat;
    margin-top: 1px;
}
body[data-vip="true"] .vip-rule {
    background: rgba(255,201,0,0.06) !important;
    border-color: rgba(255,201,0,0.25) !important;
    color: #fff !important;
}

/* Progress card */
.vip-progress-card {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 14px !important;
    padding: 22px !important;
    margin-bottom: 16px;
}
body[data-vip="true"] .vip-progress-card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,201,0,0.22) !important;
}
.vip-progress-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}
.vip-progress-label {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.82rem;
}
.vip-progress-value {
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
}
.vip-progress-target {
    color: var(--rcde-yellow) !important;
    text-align: right;
}
.vip-progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vip-progress-bar {
    flex: 1;
    height: 12px;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.vip-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rcde-blue), var(--rcde-yellow)) !important;
    border-radius: 999px;
    transition: width 0.4s ease;
}
.vip-progress-fill.vip-progress-complete {
    background: linear-gradient(90deg, var(--rcde-yellow), #FFD700) !important;
}
.vip-progress-percent {
    color: var(--rcde-yellow) !important;
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 44px;
    text-align: right;
}
.vip-progress-message { margin-top: 6px !important; }
.vip-progress-ok { color: var(--rcde-yellow) !important; font-weight: 700; }
.vip-progress-pending { color: #fff !important; }
body[data-vip="true"] .vip-progress-label { color: rgba(255,255,255,0.7) !important; }
body[data-vip="true"] .vip-progress-value { color: #fff !important; }
body[data-vip="true"] .vip-progress-bar { background: rgba(255,255,255,0.12) !important; }

.vip-current-status {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.25) !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    margin-top: 16px;
}
body[data-vip="true"] .vip-current-status {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,201,0,0.28) !important;
}
.vip-current-status-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.vip-current-status span {
    color: var(--rcde-yellow) !important;
    font-weight: 700;
    font-size: 1rem;
}

/* CTA — радиальный жёлтый как mono-cta на главной */
.vip-cta { text-align: center; padding-top: 12px; margin-top: 16px; }
.vip-cta-btn {
    display: inline-block;
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: var(--rcde-pill);
    padding: 18px 42px;
    font-size: 1.25rem;
    text-decoration: none;
    border: 0;
    box-shadow: 0 6px 0 rgba(0,0,0,0.28), 0 14px 30px rgba(0,0,0,0.22);
    text-shadow: none;
    transition: transform .12s ease, filter .12s ease;
}
.vip-cta-btn:hover { filter: brightness(1.05); transform: translateY(-1px); color: #111 !important; }

@media (max-width: 600px) {
    .vip-page { padding: 20px 16px 40px; }
    .vip-hero { padding: 40px 20px; min-height: 180px; }
    .vip-hero-logo { max-width: 240px; }
    .vip-section h2 { font-size: 1.15rem; gap: 10px; }
    .vip-section-icon { width: 36px; height: 36px; }
    .vip-step { grid-template-columns: 60px 1fr; gap: 14px; }
    .vip-step-num { width: 60px; height: 60px; font-size: 2.6rem !important; text-shadow: none !important; }
    .vip-step-plate { left: 10px; top: 2px; width: 32px; height: 54px; }
    .vip-step-num::after { width: 11px; height: 14px; margin-left: 4px; filter: none !important; }
    .vip-benefits-grid { grid-template-columns: 1fr; }
}

/* ---------- Auth страницы (login / registro) ---------- */
.auth-card, .registro-form {
    background: var(--rcde-navy);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: #fff;
}
.auth-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #fff;
}
.auth-form label, .auth-card label { color: rgba(255,255,255,0.85); }
.auth-form h1, .auth-form h2 { color: #fff; }

/* ---------- Billetera ---------- */
.wallet-balance-card, .balance-card, .wallet-card {
    background: var(--rcde-navy);
    border: 1px solid rgba(255,201,0,0.15);
    color: #fff;
}
.wallet-balance-card .balance-amount,
.balance-card .balance-amount { color: var(--rcde-yellow); }
.fd-bonus-banner, .first-deposit-bonus-banner {
    background: linear-gradient(135deg, rgba(26,60,224,0.25), rgba(255,201,0,0.12));
    border: 1px solid rgba(255,201,0,0.35);
    color: #fff;
}

/* ---------- Mis Tickets / Resultados карточки ---------- */
.ticket-order-card, .result-card, .mis-tickets-card {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    color: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25) !important;
    padding: 20px !important;
    font-family: 'Poppins', sans-serif !important;
}
.ticket-order-card *,
.result-card *,
.mis-tickets-card * { font-family: 'Poppins', sans-serif !important; }
.ticket-order-card .ticket-num,
.ticket-order-card .ticket-number-badge .ticket-num {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.5px !important;
}
.ticket-order-card h3, .result-card h3 { color: var(--rcde-yellow) !important; }

/* Шапка заказа */
.ticket-order-card .ticket-order-number { color: var(--rcde-yellow) !important; font-weight: 800 !important; }
.ticket-order-card .ticket-order-rifa { color: rgba(255,255,255,0.85) !important; }

/* Статус — спокойный бейдж */
.ticket-order-card .ticket-order-status.paid {
    background: rgba(255,201,0,0.12) !important;
    color: var(--rcde-yellow) !important;
    border: 1px solid rgba(255,201,0,0.35) !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    box-shadow: none !important;
    letter-spacing: 0.5px;
}
.ticket-order-card .ticket-order-status.pending {
    background: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
}

/* Meta (дата/кол-во) */
.ticket-order-card .ticket-order-meta {
    border-bottom-color: rgba(255,255,255,0.12) !important;
}
.ticket-order-card .ticket-order-date,
.ticket-order-card .ticket-order-count {
    color: rgba(255,255,255,0.8) !important;
}

/* Collapsed/expanded зоны — тёмная подложка */
.ticket-order-card .ticket-numbers-collapsed,
.ticket-order-card .ticket-numbers-expanded {
    background: rgba(0,0,0,0.25) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}
.ticket-order-card .ticket-numbers-collapsed:hover {
    background: rgba(0,0,0,0.35) !important;
}
.ticket-order-card .ticket-range-separator { color: rgba(255,255,255,0.6) !important; }
.ticket-order-card .ticket-expand-icon { color: var(--rcde-yellow) !important; }

/* Бейдж с номером билета — тёмная плашка с жёлтой рамкой */
.ticket-order-card .ticket-number-badge,
.purchase-detail-tickets .ticket-number-badge {
    background: rgba(255,201,0,0.08) !important;
    border: 1px solid rgba(255,201,0,0.45) !important;
    border-radius: 8px !important;
    color: var(--rcde-yellow) !important;
    box-shadow: none !important;
}
.ticket-order-card .ticket-number-badge .ticket-num,
.purchase-detail-tickets .ticket-number-badge .ticket-num { color: var(--rcde-yellow) !important; }
.ticket-order-card .ticket-number-badge.winner,
.purchase-detail-tickets .ticket-number-badge.winner,
body[data-vip="true"] .ticket-order-card .ticket-number-badge.winner,
body[data-vip="true"] .purchase-detail-tickets .ticket-number-badge.winner {
    background: rgba(34,197,94,0.12) !important;
    border: 1px solid rgba(74,222,128,0.55) !important;
}
.ticket-order-card .ticket-number-badge.winner .ticket-num,
.purchase-detail-tickets .ticket-number-badge.winner .ticket-num,
body[data-vip="true"] .ticket-order-card .ticket-number-badge.winner .ticket-num,
body[data-vip="true"] .purchase-detail-tickets .ticket-number-badge.winner .ticket-num { color: #4ade80 !important; }

/* VIP-тема — тот же стиль */
body[data-vip="true"] .ticket-order-card .ticket-number-badge,
body[data-vip="true"] .purchase-detail-tickets .ticket-number-badge {
    background: rgba(255,201,0,0.08) !important;
    border: 1px solid rgba(255,201,0,0.45) !important;
}
body[data-vip="true"] .ticket-order-card .ticket-number-badge .ticket-num,
body[data-vip="true"] .purchase-detail-tickets .ticket-number-badge .ticket-num {
    color: var(--rcde-yellow) !important;
}

/* ===== Recharge modal (billetera) ===== */
.payment-total-box,
body[data-vip="true"] .payment-total-box {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.35) !important;
    border-radius: 16px !important;
    color: #fff !important;
}
.payment-total-amount,
body[data-vip="true"] .payment-total-amount {
    color: var(--rcde-yellow) !important;
    font-weight: 900 !important;
    font-family: 'Poppins', sans-serif !important;
}
.payment-total-label,
body[data-vip="true"] .payment-total-label {
    color: rgba(255,255,255,0.75) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Поле ввода суммы */
.recharge-input-wrapper,
body[data-vip="true"] .recharge-input-wrapper {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 12px !important;
}
.recharge-input-wrapper input,
body[data-vip="true"] .recharge-input-wrapper input {
    background: transparent !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}
.recharge-currency,
body[data-vip="true"] .recharge-currency {
    background: rgba(255,255,255,0.06) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    border-left: 1px solid rgba(255,255,255,0.1) !important;
}
.recharge-amount-selector label,
body[data-vip="true"] .recharge-amount-selector label {
    color: rgba(255,255,255,0.8) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Preset-кнопки (10.000 / 50.000 / …) */
.quick-amount-btn {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}
.quick-amount-btn:hover {
    border-color: var(--rcde-yellow) !important;
    color: var(--rcde-yellow) !important;
}
.quick-amount-btn.active,
body[data-vip="true"] .quick-amount-btn.active {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    border: 0 !important;
    color: #111 !important;
    font-weight: 900 !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.quick-amount-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Заголовок модалки */
.recharge-title,
.payment-step h2,
body[data-vip="true"] .recharge-title,
body[data-vip="true"] .payment-step h2 {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
}

/* Кнопка закрытия — тёмный непрозрачный круг */
.payment-modal-close,
body[data-vip="true"] .payment-modal-close {
    background: rgba(10,12,30,0.88) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.payment-modal-close:hover,
body[data-vip="true"] .payment-modal-close:hover {
    background: rgba(20,22,45,0.95) !important;
    color: var(--rcde-yellow) !important;
}

/* --- Payment methods grid wrapper: убрать старую тёмную подложку --- */
.payment-methods-grid,
.payment-methods-list,
.payment-methods-popular,
body[data-vip="true"] .payment-methods-grid,
body[data-vip="true"] .payment-methods-list,
body[data-vip="true"] .payment-methods-popular {
    background: transparent !important;
}

/* --- Payment method buttons (popular + grid) --- */
.payment-method-img-btn,
body[data-vip="true"] .payment-method-img-btn {
    background-color: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 14px !important;
    color: #fff !important;
}
.payment-method-img-btn:hover,
body[data-vip="true"] .payment-method-img-btn:hover {
    border-color: var(--rcde-yellow) !important;
    box-shadow: 0 4px 12px rgba(255,201,0,0.15) !important;
}
.payment-method-img-label {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}

.payment-method-card,
body[data-vip="true"] .payment-method-card {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 14px !important;
    color: #fff !important;
}
.payment-method-card:hover,
body[data-vip="true"] .payment-method-card:hover {
    background: rgba(0,0,0,0.38) !important;
    border-color: var(--rcde-yellow) !important;
}
.payment-method-card span,
body[data-vip="true"] .payment-method-card span {
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}
.payment-method-card svg {
    color: var(--rcde-yellow) !important;
}

.payment-method-card-img,
body[data-vip="true"] .payment-method-card-img {
    background-color: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 14px !important;
}
.payment-method-card-img:hover,
body[data-vip="true"] .payment-method-card-img:hover {
    background-color: rgba(0,0,0,0.38) !important;
    border-color: var(--rcde-yellow) !important;
}

/* "Todos los métodos" / back */
.payment-all-methods-btn,
body[data-vip="true"] .payment-all-methods-btn {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}
.payment-all-methods-btn:hover,
body[data-vip="true"] .payment-all-methods-btn:hover {
    border-color: var(--rcde-yellow) !important;
    color: var(--rcde-yellow) !important;
}

.payment-back-btn,
body[data-vip="true"] .payment-back-btn {
    background: transparent !important;
    border: 0 !important;
    color: rgba(255,255,255,0.75) !important;
    font-family: 'Poppins', sans-serif !important;
}
.payment-back-btn:hover { color: var(--rcde-yellow) !important; }

/* Глобальные зоны с номерами билетов (mis-tickets + purchase_detail modal) */
.ticket-numbers-collapsed,
.ticket-numbers-expanded,
body[data-vip="true"] .ticket-numbers-collapsed,
body[data-vip="true"] .ticket-numbers-expanded {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
}
.ticket-numbers-collapsed:hover,
body[data-vip="true"] .ticket-numbers-collapsed:hover {
    background: rgba(0,0,0,0.35) !important;
}
.ticket-numbers-collapsed.expanded {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 0 !important;
}
.ticket-numbers-collapsed.expanded + .ticket-numbers-expanded {
    border-top: 1px dashed rgba(255,255,255,0.15) !important;
    border-radius: 0 0 12px 12px !important;
}
.ticket-range-separator,
body[data-vip="true"] .ticket-range-separator { color: rgba(255,255,255,0.7) !important; }
.ticket-expand-icon,
body[data-vip="true"] .ticket-expand-icon { color: var(--rcde-yellow) !important; }

/* Глобальное оформление .ticket-number-badge (mis-tickets + purchase_detail modal) */
.ticket-number-badge,
body[data-vip="true"] .ticket-number-badge {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #111 !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3) !important;
    font-family: 'Poppins', sans-serif !important;
}
.ticket-number-badge .ticket-num,
body[data-vip="true"] .ticket-number-badge .ticket-num {
    color: #111 !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.5px !important;
}
.ticket-number-badge.winner,
body[data-vip="true"] .ticket-number-badge.winner {
    background: radial-gradient(ellipse at 50% 30%, #bff7cc 0%, #5ee27e 60%, #16a34a 100%) !important;
}
.ticket-number-badge.winner .ticket-num,
body[data-vip="true"] .ticket-number-badge.winner .ticket-num {
    color: #0a2e17 !important;
}

/* Winner badge / has-winner */
.ticket-order-card .winner-badge,
.ticket-order-card .tickets-has-winner {
    background: #16a34a !important;
    color: #fff !important;
}

/* Footer: sorteo result / pending */
.ticket-order-card .ticket-order-result,
.ticket-order-card .ticket-order-pending {
    border-top-color: rgba(255,255,255,0.12) !important;
}
.ticket-order-card .result-label,
.ticket-order-card .pending-label { color: rgba(255,255,255,0.7) !important; }
.ticket-order-card .result-date { color: #fff !important; }
.ticket-order-card .pending-date { color: var(--rcde-yellow) !important; }

/* Empty state */
.tickets-empty {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    color: #fff !important;
    border-radius: 16px !important;
}
.tickets-empty h3 { color: var(--rcde-yellow) !important; }
.tickets-empty p { color: rgba(255,255,255,0.85) !important; }
.tickets-empty svg { color: var(--rcde-yellow) !important; opacity: 0.85 !important; }

/* Кнопка "Cargar más" */
.btn-load-more {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.3) !important;
    color: #fff !important;
    border-radius: var(--rcde-pill) !important;
}
.btn-load-more:hover {
    background: #0B31C6 !important;
    border-color: var(--rcde-yellow) !important;
}

/* ---------- Promociones ---------- */
.promo-card {
    background: var(--rcde-navy);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}
.promo-card h3, .promo-card h4 { color: var(--rcde-yellow); }
.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: var(--rcde-pill);
}
.filter-btn.active {
    background: var(--rcde-yellow);
    color: var(--rcde-navy-2);
    border-color: var(--rcde-yellow);
    font-weight: 800;
}

/* ---------- Селекторы (manual/method) ---------- */
.manual-selector, .method-selector, .selector-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.manual-selector.active, .method-selector.active {
    background: rgba(26,60,224,0.2);
    border-color: var(--rcde-yellow);
}

/* ---------- Payment method cards ---------- */
.payment-method-wallet, .payment-method-card {
    background: var(--rcde-navy);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.payment-method-card.selected, .payment-method-wallet.selected {
    border-color: var(--rcde-yellow);
    box-shadow: 0 0 0 2px rgba(255,201,0,0.25);
}

/* ============================================================
   УНИВЕРСАЛЬНЫЕ ПРАВИЛА ДЛЯ ВСЕХ ВТОРИЧНЫХ СТРАНИЦ
   (баблгам-стиль, --rcde-navy карточки, Poppins, жёлтые заголовки)
   ============================================================ */

/* Все основные карточки на редизайн-страницах */
.tickets-page .purchase-card,
.wallet-page .purchase-card,
.wallet-page .wallet-section,
.wallet-page .wallet-balance-card,
.wallet-page .balance-card,
.mono-purchase-page .purchase-card,
.mono-purchase-page .mono-countdown-card,
.mono-purchase-page .purchase-prize-info,
.mono-purchase-page .purchase-how-it-works,
.mono-purchase-page .lottery-card,
.results-page .draw-card,
.results-page .result-card,
.results-page .lottery-card,
.promos-page .promo-card,
.live-page .countdown-item,
.legal-page .login-card,
.verify-page .login-card,
.verify-page .purchase-card {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    color: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25) !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Текст внутри карточек — белый, заголовки жёлтые */
.tickets-page .purchase-card *,
.wallet-page .wallet-section *,
.wallet-page .balance-card *,
.mono-purchase-page .purchase-card *,
.mono-purchase-page .purchase-prize-info *,
.mono-purchase-page .purchase-how-it-works *,
.results-page .draw-card *,
.results-page .result-card *,
.promos-page .promo-card *,
.live-page .countdown-item *,
.legal-page *,
.verify-page * { font-family: 'Poppins', sans-serif !important; }

/* Заголовки h3/h4 внутри карточек — жёлтые */
.tickets-page .purchase-card h3,
.tickets-page .purchase-card h4,
.wallet-page .wallet-section h3,
.wallet-page .wallet-section h4,
.mono-purchase-page .purchase-card h3,
.mono-purchase-page .purchase-card h4,
.results-page .draw-card h3,
.results-page .draw-card h4,
.results-page .result-card h3,
.results-page .result-card h4,
.promos-page .promo-card h3,
.promos-page .promo-card h4,
.legal-page h3,
.legal-page h4,
.verify-page h3,
.verify-page h4 { color: var(--rcde-yellow) !important; }

/* Параграфы и обычный текст внутри — белые (полностью непрозрачные) */
.tickets-page .purchase-card p,
.wallet-page .wallet-section p,
.mono-purchase-page .purchase-card p,
.results-page .draw-card p,
.results-page .result-card p,
.promos-page .promo-card p,
.legal-page p,
.legal-page li,
.verify-page p { color: #fff !important; }

/* ===== Реферальный блок в билетере (wallet-bonuses) ===== */
.wallet-bonuses .wallet-section-hint,
.wallet-bonuses .referral-alias-label,
.wallet-bonuses .referral-alias-hint,
.wallet-bonuses .referral-code-label { color: #fff !important; }
.wallet-bonuses .wallet-bonus-amount { color: #5ee27e !important; font-weight: 900 !important; }
.wallet-bonuses .wallet-section-header h3 { color: var(--rcde-yellow) !important; font-weight: 800 !important; }

.wallet-bonuses .referral-code-box {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 10px !important;
}
.wallet-bonuses .referral-link-box {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.wallet-bonuses .referral-code-value { color: var(--rcde-yellow) !important; }
.wallet-bonuses .referral-alias-input,
.wallet-bonuses .referral-link-input {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 10px !important;
}
.wallet-bonuses .referral-alias-input:focus,
.wallet-bonuses .referral-link-input:focus {
    border-color: var(--rcde-yellow) !important;
    outline: none !important;
}
.wallet-bonuses .referral-copy-btn {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 10px !important;
    width: 44px !important;
    height: 44px !important;
    align-self: stretch;
}
.wallet-bonuses .referral-copy-btn:hover {
    border-color: var(--rcde-yellow) !important;
    color: var(--rcde-yellow) !important;
}
.wallet-bonuses .referral-alias-save {
    background: var(--rcde-yellow) !important;
    color: #111 !important;
    border-radius: 10px !important;
    width: 44px !important;
    height: 44px !important;
    align-self: stretch;
}
.wallet-bonuses .referral-alias-row { align-items: stretch !important; }
.wallet-bonuses .referral-link-box { align-items: stretch !important; }
.wallet-bonuses .referral-alias-input,
.wallet-bonuses .referral-link-input {
    height: 44px !important;
    padding: 0 14px !important;
}

/* Те же правила для afiliados (wallet-section без wallet-bonuses) */
.wallet-section .referral-alias-row,
.wallet-section .referral-link-box { align-items: stretch !important; }
.wallet-section .referral-alias-input,
.wallet-section .referral-link-input {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 10px !important;
    height: 44px !important;
    padding: 0 14px !important;
}
.wallet-section .referral-alias-input:focus,
.wallet-section .referral-link-input:focus {
    border-color: var(--rcde-yellow) !important;
    outline: none !important;
}
.wallet-section .referral-code-box {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 10px !important;
}
.wallet-section .referral-link-box {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.wallet-section .referral-code-label { color: #fff !important; }
.wallet-section .referral-code-value { color: var(--rcde-yellow) !important; }
.wallet-section .referral-alias-label,
.wallet-section .referral-alias-hint,
.wallet-section .wallet-section-hint { color: #fff !important; }

.wallet-section .referral-copy-btn {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 10px !important;
    width: 44px !important;
    height: 44px !important;
    align-self: stretch;
}
.wallet-section .referral-copy-btn:hover {
    border-color: var(--rcde-yellow) !important;
    color: var(--rcde-yellow) !important;
}
.wallet-section .referral-alias-save {
    background: var(--rcde-yellow) !important;
    color: #111 !important;
    border-radius: 10px !important;
    width: 44px !important;
    height: 44px !important;
    align-self: stretch;
}

/* ---------- Wallet: правила/ссылки и список транзакций ---------- */
.wallet-page .wallet-rule-link {
    color: var(--rcde-yellow) !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    font-family: 'Poppins', sans-serif !important;
}
.wallet-page .wallet-rule-link:hover { opacity: 0.85; }
.wallet-page .wallet-rule-link svg { color: var(--rcde-yellow) !important; stroke: var(--rcde-yellow) !important; }

.wallet-page .wallet-history h3 {
    color: var(--rcde-yellow) !important;
    font-weight: 800 !important;
}
.wallet-page .wallet-no-transactions {
    color: rgba(255,255,255,0.7) !important;
    text-align: center;
    padding: 16px 0;
}

.wallet-page .wallet-transaction {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-left: 3px solid var(--rcde-yellow) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}
.wallet-page .wallet-transaction.error { border-left-color: #ef4444 !important; }
.wallet-page .wallet-transaction-wd { border-left-color: #ef4444 !important; }
.wallet-page .wallet-transaction-bonus { border-left-color: #a78bfa !important; }
.wallet-page .wallet-transaction-purchase { border-left-color: #f97316 !important; }
.wallet-page .wallet-transaction-prize { border-left-color: var(--rcde-yellow) !important; }
.wallet-page .wallet-transaction-promo { border-left-color: #60a5fa !important; }
.wallet-page .wallet-transaction-extra { border-left-color: #f472b6 !important; }

.wallet-page .wallet-transaction-date { color: #fff !important; }
.wallet-page .wallet-transaction-label { color: rgba(255,255,255,0.65) !important; }
.wallet-page .wallet-transaction-via { color: #fff !important; }
.wallet-page .wallet-transaction-amount,
.wallet-page .wallet-transaction-status { color: rgba(255,255,255,0.65) !important; }
.wallet-page .wallet-transaction-amount strong,
.wallet-page .wallet-transaction-status strong { color: #fff !important; }
.wallet-page .wallet-transaction-status.success strong { color: #5ee27e !important; }
.wallet-page .wallet-transaction-error { color: #fca5a5 !important; }

/* Цветовые акценты лейблов/сумм */
.wallet-page .wallet-transaction-label-wd { color: #ef4444 !important; }
.wallet-page .wallet-transaction-amount-wd strong { color: #ef4444 !important; }
.wallet-page .wallet-transaction-label-bonus { color: #c4b5fd !important; }
.wallet-page .wallet-transaction-amount-bonus strong { color: #c4b5fd !important; }
.wallet-page .wallet-transaction-label-purchase { color: #fb923c !important; }
.wallet-page .wallet-transaction-amount-purchase strong { color: #fca5a5 !important; }
.wallet-page .wallet-transaction-label-prize { color: var(--rcde-yellow) !important; }
.wallet-page .wallet-transaction-amount-prize strong { color: var(--rcde-yellow) !important; }
.wallet-page .wallet-transaction-label-promo { color: #93c5fd !important; }
.wallet-page .wallet-transaction-amount-promo strong { color: #93c5fd !important; }
.wallet-page .wallet-transaction-label-extra { color: #f9a8d4 !important; }
.wallet-page .wallet-transaction-amount-extra strong { color: #f9a8d4 !important; }

/* Статусы pending/receipt/credited внутри транзакций */
.wallet-page .tx-status-pending,
.wallet-page .tx-status-receipt { color: var(--rcde-yellow) !important; background: transparent !important; border: 0 !important; padding: 0 !important; }

/* Saldo flow */
.wallet-page .saldo-val { color: rgba(255,255,255,0.45) !important; }
.wallet-page .saldo-tx-plus { background: rgba(34,197,94,0.18) !important; color: #5ee27e !important; }
.wallet-page .saldo-tx-minus { background: rgba(239,68,68,0.18) !important; color: #fca5a5 !important; }

/* Кнопка «Cargar más» */
.wallet-page .wallet-load-more {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.4) !important;
    color: var(--rcde-yellow) !important;
    border-radius: var(--rcde-pill) !important;
    font-weight: 700 !important;
}
.wallet-page .wallet-load-more:hover {
    background: rgba(255,201,0,0.12) !important;
    border-color: var(--rcde-yellow) !important;
}

/* tx-badge (PROMO/EXTRA/COMBO) внутри via */
.wallet-page .tx-badge {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}
.wallet-page .tx-badge-promo { background: rgba(96,165,250,0.2) !important; color: #93c5fd !important; border-color: rgba(96,165,250,0.4) !important; }
.wallet-page .tx-badge-extra { background: rgba(244,114,182,0.2) !important; color: #f9a8d4 !important; border-color: rgba(244,114,182,0.4) !important; }
.wallet-page .tx-badge-combo { background: rgba(34,197,94,0.2) !important; color: #5ee27e !important; border-color: rgba(34,197,94,0.4) !important; }

/* Кнопка "Transferir a saldo principal" — outline в новой палитре */
.wallet-transfer-btn, .wallet-withdraw-btn {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.4) !important;
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    border-radius: var(--rcde-pill) !important;
}
.wallet-transfer-btn:not(:disabled):hover,
.wallet-withdraw-btn:not(:disabled):hover {
    background: rgba(255,201,0,0.12) !important;
    border-color: var(--rcde-yellow) !important;
}
.wallet-transfer-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Формы (input/select/textarea) на всех страницах --- */
.tickets-page input, .tickets-page select, .tickets-page textarea,
.wallet-page input, .wallet-page select, .wallet-page textarea,
.mono-purchase-page input, .mono-purchase-page select, .mono-purchase-page textarea,
.promos-page input, .promos-page select, .promos-page textarea,
.legal-page input, .legal-page select, .legal-page textarea,
.verify-page input, .verify-page select, .verify-page textarea {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 10px !important;
}
.tickets-page input::placeholder, .wallet-page input::placeholder,
.mono-purchase-page input::placeholder, .promos-page input::placeholder,
.legal-page input::placeholder, .verify-page input::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

/* Fallback-форма верификации (когда внешний KYC выключен): тёмные тексты
   лейблов/иконок не читаются на синем фоне rcde-темы. Перекрасить. */
.verify-page .verify-field-group label {
    color: #fff !important;
}
.verify-page .verify-upload-card {
    background: rgba(0,0,0,0.25) !important;
    border: 2px dashed rgba(255,255,255,0.35) !important;
}
.verify-page .verify-upload-card:hover {
    border-color: var(--rcde-yellow) !important;
    background: rgba(0,0,0,0.32) !important;
}
.verify-page .verify-upload-placeholder {
    color: rgba(255,255,255,0.85) !important;
}
.verify-page .verify-upload-placeholder svg {
    color: rgba(255,255,255,0.85) !important;
    stroke: currentColor !important;
}
.verify-page .verify-upload-label {
    color: #fff !important;
}
.verify-page .verify-upload-hint {
    color: rgba(255,255,255,0.6) !important;
}

/* Verificar billete: единая плашка префикс + поле, согласованные скругления/цвета */
.verify-page .verify-input-group {
    background: rgba(0,0,0,0.30) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.verify-page .verify-input-group:focus-within {
    border-color: var(--rcde-yellow) !important;
}
.verify-page .verify-prefix {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border-right: 1px solid rgba(255,255,255,0.10) !important;
    font-family: 'Poppins', sans-serif !important;
}
.verify-page .verify-input {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}
.verify-page .verify-input:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.verify-page .verify-input::placeholder {
    color: rgba(255,255,255,0.35) !important;
}

/* Кнопка "Verificar billete" — не капсула, прямоугольная со скруглением как плашка */
.verify-page .btn.btn-yellow,
.verify-page .btn.btn-primary,
.verify-page #verifyBtn {
    border-radius: 14px !important;
}

/* Карточка результата "no encontrado" — тёмная в палитре с красной рамкой и акцентом */
.verify-page .verify-result-card {
    background: transparent !important;
    border: 0 !important;
}
.verify-page .verify-result-notfound {
    background: rgba(230,57,70,0.10) !important;
    border: 1px solid rgba(230,57,70,0.55) !important;
    border-radius: 14px !important;
    overflow: hidden;
}
.verify-page .verify-result-notfound .result-header {
    background: transparent !important;
    color: #fff !important;
    padding: 16px 18px !important;
}
.verify-page .verify-result-notfound .result-header h3 {
    color: var(--rcde-red) !important;
}
.verify-page .verify-result-notfound .result-header p {
    color: rgba(255,255,255,0.85) !important;
    opacity: 1 !important;
}
.verify-page .verify-result-notfound .result-header svg {
    color: var(--rcde-red) !important;
}

.verify-page .verify-result-winner {
    background: rgba(22,163,74,0.10) !important;
    border: 1px solid rgba(22,163,74,0.55) !important;
    border-radius: 14px !important;
    overflow: hidden;
}
.verify-page .verify-result-winner .result-header {
    background: transparent !important;
    color: #fff !important;
}
.verify-page .verify-result-found {
    background: rgba(47,107,255,0.10) !important;
    border: 1px solid rgba(47,107,255,0.55) !important;
    border-radius: 14px !important;
    overflow: hidden;
}
.verify-page .verify-result-found .result-header {
    background: transparent !important;
    color: #fff !important;
}

/* Разделители строк и тексты внутри карточки результата */
.verify-page .result-body { color: #fff; }
.verify-page .result-row {
    border-bottom-color: rgba(255,255,255,0.08) !important;
}
.verify-page .result-label { color: rgba(255,255,255,0.6) !important; }
.verify-page .result-value { color: #fff !important; }
.verify-page .result-value.prize { color: var(--rcde-yellow) !important; }

/* Кнопка "Verificar otro billete" — контурная в палитре, не белая */
.verify-page .verify-again-btn {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    color: #fff !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
}
.verify-page .verify-again-btn:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--rcde-yellow) !important;
    color: var(--rcde-yellow) !important;
}

/* Таблица результатов на resultados/verify: hover в палитре, читаемый текст */
.results-page .results-table thead th,
.verify-page .results-table thead th,
.legal-page .results-table thead th {
    color: rgba(255,255,255,0.55) !important;
    border-bottom-color: rgba(255,255,255,0.12) !important;
}
.results-page .results-row,
.verify-page .results-row,
.legal-page .results-row {
    background: transparent !important;
}
.results-page .results-row:hover,
.verify-page .results-row:hover,
.legal-page .results-row:hover {
    background: rgba(255,255,255,0.06) !important;
}
.results-page .results-row td,
.verify-page .results-row td,
.legal-page .results-row td {
    border-bottom-color: rgba(255,255,255,0.08) !important;
    color: #fff;
}
body:not([data-vip="true"]) .results-page .results-row td,
body:not([data-vip="true"]) .verify-page .results-row td,
body:not([data-vip="true"]) .legal-page .results-row td {
    background: rgba(3, 16, 70, 0.55) !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
body:not([data-vip="true"]) .results-page .results-row:hover td,
body:not([data-vip="true"]) .verify-page .results-row:hover td,
body:not([data-vip="true"]) .legal-page .results-row:hover td {
    background: rgba(3, 16, 70, 0.75) !important;
}
.results-page .results-name-text,
.verify-page .results-name-text,
.legal-page .results-name-text {
    color: #fff !important;
}
.results-page .results-date,
.verify-page .results-date,
.legal-page .results-date {
    color: rgba(255,255,255,0.85) !important;
}
.results-page .results-date small,
.verify-page .results-date small,
.legal-page .results-date small {
    color: rgba(255,255,255,0.55) !important;
}
.results-page .results-prize,
.verify-page .results-prize,
.legal-page .results-prize {
    color: var(--rcde-yellow) !important;
    font-weight: 700;
}
.results-page .no-winners,
.verify-page .no-winners,
.legal-page .no-winners {
    color: rgba(255,255,255,0.45) !important;
}

/* Модалка списка победителей (openWinnersModal) — в палитру светлой темы */
.results-modal-content {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
}
.results-modal-header {
    border-bottom-color: rgba(255,255,255,0.10) !important;
}
.results-modal-header h3 {
    color: #fff !important;
}
.results-modal-close {
    color: rgba(255,255,255,0.7) !important;
}
.results-modal-close:hover {
    color: #fff !important;
}
.results-modal-loading,
.no-winners-modal {
    color: rgba(255,255,255,0.65) !important;
}
.winner-item {
    border-bottom-color: rgba(255,255,255,0.08) !important;
}
.winner-nombre { color: rgba(255,255,255,0.65) !important; }
.winner-billete { color: #fff !important; }
.winner-premio { color: var(--rcde-yellow) !important; }
.winner-lugar-other {
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.7) !important;
}

/* VIP — вернём оригинал (тёмный через иные переменные) */
body[data-vip="true"] .results-modal-content {
    background: #0f0f1a !important;
    border-color: rgba(255,215,0,0.15) !important;
}
.tickets-page input:focus, .wallet-page input:focus,
.mono-purchase-page input:focus, .promos-page input:focus,
.legal-page input:focus, .verify-page input:focus,
.tickets-page select:focus, .wallet-page select:focus,
.mono-purchase-page select:focus, .promos-page select:focus,
.legal-page select:focus, .verify-page select:focus,
.tickets-page textarea:focus, .wallet-page textarea:focus,
.mono-purchase-page textarea:focus, .promos-page textarea:focus,
.legal-page textarea:focus, .verify-page textarea:focus {
    border-color: var(--rcde-yellow) !important;
    outline: none !important;
}

/* --- Универсальный стиль жёлтой кнопки .btn-yellow / .btn-primary --- */
.tickets-page .btn-yellow, .tickets-page .btn-primary,
.wallet-page .btn-yellow, .wallet-page .btn-primary,
.mono-purchase-page .btn-yellow, .mono-purchase-page .btn-primary,
.results-page .btn-yellow, .results-page .btn-primary,
.promos-page .btn-yellow, .promos-page .btn-primary,
.live-page .btn-yellow, .live-page .btn-primary,
.legal-page .btn-yellow, .legal-page .btn-primary,
.verify-page .btn-yellow, .verify-page .btn-primary {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-weight: 900 !important;
    font-family: 'Poppins', sans-serif !important;
    border: 0 !important;
    border-radius: var(--rcde-pill) !important;
    padding: 14px 32px !important;
    box-shadow: 0 5px 0 rgba(0,0,0,0.28), 0 10px 22px rgba(0,0,0,0.18) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Билетера: список транзакций и balance card --- */
.wallet-balance-card, .balance-card {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.25) !important;
    color: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25) !important;
}
.wallet-balance-card .balance-amount,
.balance-card .balance-amount {
    color: var(--rcde-yellow) !important;
    font-weight: 900 !important;
}
.wallet-balance-card .balance-label,
.balance-card .balance-label { color: rgba(255,255,255,0.8) !important; }

.wallet-page .tx-item, .wallet-page .transaction-row, .wallet-page .tx-row {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
}
.wallet-page .tx-item *, .wallet-page .transaction-row *, .wallet-page .tx-row * {
    font-family: 'Poppins', sans-serif !important;
}

/* --- Promo / filter tabs --- */
.promos-page .filter-btn, .promos-page .promo-filter-btn {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: var(--rcde-pill) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}
.promos-page .filter-btn.active, .promos-page .promo-filter-btn.active {
    background: var(--rcde-yellow) !important;
    color: var(--rcde-navy-2) !important;
    border-color: var(--rcde-yellow) !important;
}

/* --- Results: winner numbers, draw info --- */
.results-page .draw-card .winner-number,
.results-page .result-card .winner-number {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-weight: 900 !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.results-page .draw-date, .results-page .result-date { color: rgba(255,255,255,0.85) !important; }

/* --- Empty / info states --- */
.results-empty, .promos-empty, .wallet-empty {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    color: #fff !important;
    border-radius: 16px !important;
    font-family: 'Poppins', sans-serif !important;
}
.results-empty h3, .promos-empty h3, .wallet-empty h3 { color: var(--rcde-yellow) !important; }
.results-empty p, .promos-empty p, .wallet-empty p { color: rgba(255,255,255,0.85) !important; }
.results-empty svg, .promos-empty svg, .wallet-empty svg {
    color: var(--rcde-yellow) !important;
    opacity: 0.8;
}

/* --- Auth (login/registro) поверх base_auth --- */
/* Фон страницы авторизации — в тон остального сайта (было небесно-голубой градиент) */
body.auth-body {
    background: #040D47 !important;
}
body.auth-body::before,
body.auth-body::after {
    background: radial-gradient(circle, rgba(47,107,255,0.18) 0%, transparent 65%) !important;
}

.auth-page .login-card, .auth-page .auth-card, .auth-container .login-card, .auth-container .auth-card {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25), 0 20px 40px rgba(0,0,0,0.3) !important;
    font-family: 'Poppins', sans-serif !important;
}
/* Ссылка "¿Olvidaste tu contraseña?" — в цвет акцентов (жёлтый), а не яркий голубой */
.auth-page .forgot-link,
.auth-container .forgot-link,
.auth-card .forgot-link {
    color: var(--rcde-yellow) !important;
    opacity: 0.9;
}
.auth-page .forgot-link:hover,
.auth-container .forgot-link:hover,
.auth-card .forgot-link:hover {
    opacity: 1;
}
.auth-page h1, .auth-page h2, .auth-container h1, .auth-container h2 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
}
.auth-page label, .auth-container label { color: #fff !important; font-family: 'Poppins', sans-serif !important; }
.auth-page input, .auth-container input {
    background: rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-radius: 10px !important;
}
.auth-page input::placeholder, .auth-container input::placeholder { color: rgba(255,255,255,0.5) !important; }
.auth-page input:focus, .auth-container input:focus { border-color: var(--rcde-yellow) !important; outline: none !important; }

/* Инпуты-обёртки с иконкой: плашка темнее карточки, без обводок. */
.auth-card .cedula-input,
.auth-card .password-input,
.auth-container .cedula-input,
.auth-container .password-input {
    background: #02072A !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    overflow: hidden;
}
.auth-card .cedula-input:focus-within,
.auth-card .password-input:focus-within,
.auth-container .cedula-input:focus-within,
.auth-container .password-input:focus-within {
    box-shadow: none !important;
}
.auth-card .cedula-input input,
.auth-card .password-input input,
.auth-container .cedula-input input,
.auth-container .password-input input,
.auth-card .cedula-input input:focus,
.auth-card .password-input input:focus,
.auth-container .cedula-input input:focus,
.auth-container .password-input input:focus {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}

/* Убираем белый фон у autofill (Chrome/Safari подставляет свой стиль) */
.auth-card .cedula-input input:-webkit-autofill,
.auth-card .password-input input:-webkit-autofill,
.auth-container .cedula-input input:-webkit-autofill,
.auth-container .password-input input:-webkit-autofill,
.auth-card .cedula-input input:-webkit-autofill:hover,
.auth-card .cedula-input input:-webkit-autofill:focus,
.auth-card .password-input input:-webkit-autofill:hover,
.auth-card .password-input input:-webkit-autofill:focus,
.auth-container .cedula-input input:-webkit-autofill:hover,
.auth-container .cedula-input input:-webkit-autofill:focus,
.auth-container .password-input input:-webkit-autofill:hover,
.auth-container .password-input input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px #02072A inset !important;
    box-shadow: 0 0 0 1000px #02072A inset !important;
    caret-color: #fff !important;
    transition: background-color 9999s ease-in-out 0s;
}
/* Иконки слева и глаз — в цвет placeholder, чтобы не контрастировали */
.auth-card .cedula-icon,
.auth-card .password-icon,
.auth-container .cedula-icon,
.auth-container .password-icon,
.auth-card .password-toggle,
.auth-container .password-toggle {
    color: rgba(255,255,255,0.55) !important;
}
.auth-card .password-toggle:hover,
.auth-container .password-toggle:hover {
    color: var(--rcde-yellow) !important;
}

/* Текст согласия и ссылки (terms/privacidad) — читаемо на тёмном */
.auth-card .checkbox-text,
.auth-container .checkbox-text {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    line-height: 1.45;
}
.auth-card .checkbox-text a,
.auth-container .checkbox-text a {
    color: var(--rcde-yellow) !important;
    text-decoration: underline;
}

/* Подсказка под полем пароля */
.auth-card .form-hint,
.auth-container .form-hint {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.8rem;
}

/* Ссылка "¿Tienes un código de afiliado?" */
.auth-card .referral-toggle-link a,
.auth-container .referral-toggle-link a {
    color: var(--rcde-yellow) !important;
    text-decoration: none;
}
.auth-card .referral-toggle-link a:hover,
.auth-container .referral-toggle-link a:hover { text-decoration: underline; }

/* Кнопка "Volver" на auth-card — не жёлтая, а скромная текст-ссылка */
.auth-card .back-link,
.auth-container .back-link {
    background: transparent !important;
    color: rgba(255,255,255,0.75) !important;
    box-shadow: none !important;
    padding: 10px 14px !important;
    font-weight: 600 !important;
    margin-top: 8px;
    margin-bottom: 0 !important;
}
.auth-card .back-link:hover,
.auth-container .back-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.05) !important;
    filter: none !important;
}
.auth-card .back-link::before,
.auth-container .back-link::before {
    background: rgba(255,255,255,0.75) !important;
}
.auth-card .back-link:hover::before,
.auth-container .back-link:hover::before {
    background: #fff !important;
}

/* Combo-карточки покупки — не ломать (уже стилизованы выше, но убедимся что Poppins) */
.comprar-combo-card, .combo-card { font-family: 'Poppins', sans-serif !important; }

/* ============================================================
   Comprar page — полная перекраска в палитру редизайна
   ============================================================ */

/* Обёртка combos-section */
.combos-section {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 0 rgba(0,0,0,0.25) !important;
    color: #fff !important;
}
.combos-section * { font-family: 'Poppins', sans-serif !important; }
.combos-header {
    border-left: 4px solid var(--rcde-yellow) !important;
}
.combos-title-main { color: #fff !important; }
.combos-title-premium { color: var(--rcde-yellow) !important; }
.combos-header p { color: rgba(255,255,255,0.85) !important; }

/* Combo-карточки */
.combo-card {
    background: rgba(0,0,0,0.28) !important;
    border: 2px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    color: #fff !important;
}
.combo-card:hover:not(.locked),
.combo-card.selected {
    border-color: var(--rcde-yellow) !important;
    background: rgba(255,201,0,0.08) !important;
    box-shadow: 0 0 0 3px rgba(255,201,0,0.18) !important;
}
.combo-tickets {
    color: #fff !important;
    font-weight: 900 !important;
}
.combo-card.selected .combo-tickets { color: var(--rcde-yellow) !important; }
.combo-label { color: rgba(255,255,255,0.7) !important; }
.combo-price {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-weight: 900 !important;
    border-radius: 8px !important;
}
.combo-card.locked .combo-price { background: #64748b !important; color: rgba(255,255,255,0.6) !important; }
.combo-discount {
    background: rgba(34,197,94,0.2) !important;
    color: #5ee27e !important;
    border: 1px solid rgba(34,197,94,0.4) !important;
}
.combo-badge {
    background: var(--rcde-red, #dc2626) !important;
    color: #fff !important;
}
.combo-badge-extra {
    background: var(--rcde-yellow) !important;
    color: #111 !important;
}

/* Manual selector */
.manual-selector {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 14px !important;
}
.manual-selector-title {
    color: var(--rcde-yellow) !important;
}
.manual-selector-title svg { stroke: var(--rcde-yellow) !important; }
.manual-selector-price { color: rgba(255,255,255,0.8) !important; }
.manual-selector-price strong { color: #fff !important; }
.manual-selector-controls {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
}
.ticket-btn {
    background: var(--rcde-yellow) !important;
    color: #111 !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-weight: 900 !important;
    box-shadow: 0 3px 0 rgba(0,0,0,0.3) !important;
}
.ticket-btn:hover {
    filter: brightness(1.05);
    background: var(--rcde-yellow) !important;
}
.ticket-display {
    gap: 0 !important;
    line-height: 1 !important;
}
.ticket-display input[type="number"] {
    color: var(--rcde-yellow) !important;
    background: transparent !important;
    border: 0 !important;
    font-weight: 900 !important;
    font-size: 3.4rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: 110px !important;
}
.ticket-label {
    color: rgba(255,255,255,0.7) !important;
    margin-top: 2px !important;
    letter-spacing: 1.5px !important;
}
.manual-selector-hint { color: rgba(255,255,255,0.6) !important; }

/* Purchase summary в combos-section */
.combos-section .purchase-summary {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
}
.combos-section .summary-row { color: rgba(255,255,255,0.8) !important; }
.combos-section .summary-total {
    color: #fff !important;
    border-top-color: rgba(255,255,255,0.12) !important;
    font-weight: 800 !important;
}

/* Purchase button — радиальный жёлтый */
.combos-section .purchase-btn,
.purchase-btn {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-weight: 900 !important;
    font-family: 'Poppins', sans-serif !important;
    border: 0 !important;
    border-radius: var(--rcde-pill) !important;
    padding: 14px 32px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 0 rgba(0,0,0,0.28), 0 10px 22px rgba(0,0,0,0.18) !important;
}
.combos-section .purchase-btn:hover:not(:disabled) {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    filter: brightness(1.05);
}
.combos-section .purchase-note { color: rgba(255,255,255,0.7) !important; }
.combos-section .purchase-note svg { color: var(--rcde-yellow) !important; }

/* Sticky footer на мобильных */
@media (max-width: 768px) {
    .purchase-sticky-footer {
        background: var(--rcde-navy-2) !important;
        border-top: 1px solid rgba(255,201,0,0.25) !important;
    }
}

/* ============================================================
   Live page (transmision) — компактный плеер на мобиле
   ============================================================ */
.mono-player-wrapper {
    max-width: 100%;
    margin: 0 auto;
}
.mono-player .player-content {
    text-align: center;
}
.mono-player .player-status {
    font-weight: 800 !important;
    font-family: 'Poppins', sans-serif !important;
}
.mono-player .player-time {
    display: inline-block !important;
    background: #040730 !important;
    border: 2px solid var(--rcde-yellow) !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
}
.mono-player .countdown-label-inline {
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 2px !important;
    font-size: 0.72rem !important;
    text-transform: uppercase;
}
.mono-player .countdown-blocks {
    display: flex !important;
    gap: 8px !important;
    justify-content: center;
    align-items: center;
}
.mono-player .countdown-block,
.mono-player .countdown-block-light,
.mono-player .countdown-block-warning,
.mono-player .countdown-block-danger {
    background: #040730 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
    width: 70px !important;
    min-width: 0;
    height: 72px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.30) !important;
}
.mono-player .countdown-block span,
.mono-player .countdown-block-light span,
.mono-player .countdown-block-warning span,
.mono-player .countdown-block-danger span {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
}
.mono-player .countdown-block small,
.mono-player .countdown-block-light small,
.mono-player .countdown-block-warning small,
.mono-player .countdown-block-danger small {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.6rem !important;
    letter-spacing: 1.5px !important;
    color: rgba(255,255,255,0.7) !important;
    text-transform: uppercase;
}
.mono-player .countdown-blocks { gap: 4px !important; }
.mono-player .player-logo-pulse {
    width: 200px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.mono-player .player-logo-pulse::before,
.mono-player .player-logo-pulse::after { display: none !important; }
.mono-player .player-logo-pulse svg,
.mono-player .player-logo-pulse img {
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
}
.mono-player .player-status { font-size: 1.3rem !important; letter-spacing: 2px !important; }
.mono-player .player-time { font-size: 1.15rem !important; padding: 10px 28px !important; }
.mono-player .countdown-label-inline { font-size: 0.8rem !important; letter-spacing: 1.8px !important; }
.mono-player .player-content { gap: 18px !important; padding: 40px 20px !important; }
.mono-player .countdown-block span,
.mono-player .countdown-block-light span,
.mono-player .countdown-block-warning span,
.mono-player .countdown-block-danger span { font-size: 2.4rem !important; }
.mono-player .countdown-block small,
.mono-player .countdown-block-light small,
.mono-player .countdown-block-warning small,
.mono-player .countdown-block-danger small { font-size: 0.75rem !important; }
.mono-player .countdown-block-danger span { color: var(--rcde-red, #ef4444) !important; }
.mono-player .countdown-block-warning span { color: #fff !important; }
.mono-player .countdown-sep {
    color: rgba(255,255,255,0.5) !important;
    font-weight: 700;
    display: none !important;
}

/* Мобильный формат: сохраняем 16:9, уменьшаем контент */
@media (max-width: 768px) {
    .mono-player .player-content {
        gap: 8px !important;
        padding: 18px 12px !important;
    }
    .mono-player .player-logo-pulse {
        max-width: 110px !important;
    }
    .mono-player .player-logo-pulse svg,
    .mono-player .player-logo-pulse img {
        max-width: 110px !important;
    }
    .mono-player .player-status { font-size: 0.8rem !important; letter-spacing: 1.2px !important; }
    .mono-player .player-time { font-size: 0.75rem !important; padding: 5px 14px !important; border-width: 1.5px !important; }
    .mono-player .countdown-label-inline { font-size: 0.55rem !important; letter-spacing: 1.2px !important; }
    .mono-player .countdown-block,
    .mono-player .countdown-block-light,
    .mono-player .countdown-block-warning,
    .mono-player .countdown-block-danger {
        padding: 6px 6px !important;
        width: 52px !important;
        height: 56px !important;
        min-width: 0;
    }
    .mono-player .countdown-block span,
    .mono-player .countdown-block-light span,
    .mono-player .countdown-block-warning span,
    .mono-player .countdown-block-danger span { font-size: 1.15rem !important; }
    .mono-player .countdown-block small,
    .mono-player .countdown-block-light small,
    .mono-player .countdown-block-warning small,
    .mono-player .countdown-block-danger small { font-size: 0.5rem !important; }
    .mono-player .countdown-blocks { gap: 8px !important; }
    .player-expand-hint span { display: none !important; }
}

@media (max-width: 400px) {
    .mono-player .player-logo-pulse,
    .mono-player .player-logo-pulse svg,
    .mono-player .player-logo-pulse img { max-width: 80px !important; }
    .mono-player .player-content { gap: 6px !important; padding: 12px 8px !important; }
    .mono-player .player-status { font-size: 0.65rem !important; }
    .mono-player .player-time { font-size: 0.62rem !important; padding: 3px 10px !important; }
    .mono-player .countdown-label-inline { font-size: 0.48rem !important; }
    .mono-player .countdown-block,
    .mono-player .countdown-block-light,
    .mono-player .countdown-block-warning,
    .mono-player .countdown-block-danger {
        width: 44px !important;
        height: 48px !important;
        min-width: 0;
        padding: 4px 4px !important;
    }
    .mono-player .countdown-block span,
    .mono-player .countdown-block-light span,
    .mono-player .countdown-block-warning span,
    .mono-player .countdown-block-danger span { font-size: 0.9rem !important; }
    .mono-player .countdown-block small,
    .mono-player .countdown-block-light small,
    .mono-player .countdown-block-warning small,
    .mono-player .countdown-block-danger small { font-size: 0.42rem !important; }
}

/* ---------- Live-page: на мобиле full-bleed плеер и секции ---------- */
@media (max-width: 767px) {
    .live-page {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .live-page .section-container {
        padding-left: 0;
        padding-right: 0;
    }
    .live-page .purchase-back-btn {
        margin-left: 16px;
    }
    /* Плеер — full-bleed, без скругления, чтобы 16/9 занимал всю ширину */
    .live-page .mono-player {
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }
    .live-page .mono-player,
    .live-page .mono-player-ghost {
        aspect-ratio: 16 / 9 !important;
    }
    /* Остальные секции тоже без радиуса на краях */
    .live-page .live-prize-bar,
    .live-page .combos-section {
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }
    /* Соц-пилл — оставляем компактной и по центру с боковыми отступами */
    .live-page .mono-social-info {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
}

/* ---------- Live-page: соц-пилл компактнее и по центру ---------- */
.live-page .mono-social-info {
    display: flex !important;
    margin: 16px auto 0 !important;
    width: fit-content !important;
    max-width: 100%;
    min-height: 38px;
}
.live-page .mono-social-info p {
    color: #111 !important;
    font-size: 0.72rem !important;
    padding: 0 18px;
    letter-spacing: 0.02em !important;
}
.live-page .mono-social-links {
    gap: 14px;
    padding: 0 18px 0 16px;
}
.live-page .mono-social-btn {
    width: 34px !important; height: 34px !important;
    margin-top: -6px; margin-bottom: -6px;
}
.live-page .mono-social-btn img { width: 38px; height: 38px; }

@media (max-width: 520px) {
    .live-page .mono-social-info { min-height: 32px; }
    .live-page .mono-social-info p { font-size: 0.6rem !important; padding: 0 12px; }
    .live-page .mono-social-links { padding: 0 12px 0 10px; gap: 10px; }
    .live-page .mono-social-btn { width: 26px !important; height: 26px !important; margin-top: -5px; margin-bottom: -5px; }
    .live-page .mono-social-btn img { width: 30px; height: 30px; }
}

/* ---------- Live-page: prize bar / balance / purchase note ---------- */
.live-page .live-prize-bar {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    color: #fff !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.25) !important;
    font-family: 'Poppins', sans-serif !important;
}
.live-page .live-prize-label {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.live-page .live-prize-amount {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.35));
}
.live-page .live-prize-name {
    color: var(--rcde-yellow) !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
}
.live-page .live-balance-info {
    background: rgba(34,197,94,0.12) !important;
    border: 1px solid rgba(34,197,94,0.3) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
}
.live-page .live-balance-info .balance-label { color: rgba(255,255,255,0.85) !important; }
.live-page .live-balance-info .balance-value { color: #5ee27e !important; font-weight: 800 !important; }
.live-page .live-purchase-note {
    color: rgba(255,255,255,0.75) !important;
    font-family: 'Poppins', sans-serif !important;
}
.live-page .live-purchase-note svg,
.live-page .live-purchase-note [data-lucide] { color: var(--rcde-yellow) !important; stroke: var(--rcde-yellow) !important; }

/* quick-buy notice / blocked (вписать в редизайн) */
.live-page .quick-buy-notice { color: rgba(255,255,255,0.65) !important; }
.live-page .quick-buy-blocked {
    background: rgba(234,179,8,0.08) !important;
    border: 1px solid rgba(234,179,8,0.35) !important;
    color: #fff !important;
}
.live-page .quick-buy-blocked h4 { color: var(--rcde-yellow) !important; }
.live-page .quick-buy-blocked p { color: rgba(255,255,255,0.75) !important; }
.live-page .quick-buy-blocked-icon { background: rgba(234,179,8,0.18) !important; color: var(--rcde-yellow) !important; }

/* promo-card glow — цвет рамки */
.live-page .combo-card.promo-card {
    border-color: rgba(14,165,233,0.6) !important;
    background: rgba(14,165,233,0.08) !important;
}
.live-page .combo-card.promo-card:hover:not(.locked) {
    border-color: rgba(14,165,233,0.85) !important;
    background: rgba(14,165,233,0.15) !important;
}

/* Combo tag (Combo бейдж в summary) */
.combo-tag {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    color: #fff !important;
}

/* Purchase header / prize info / draw info */
.mono-purchase-page .purchase-header p,
.purchase-header p { color: rgba(255,255,255,0.85) !important; font-family: 'Poppins', sans-serif !important; }
.purchase-prize-info {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 12px !important;
}
.prize-info-row { color: #fff !important; }
.prize-info-label { color: rgba(255,255,255,0.8) !important; }
.prize-info-value { color: #fff !important; font-weight: 700 !important; }
.prize-current { color: #5ee27e !important; }

.purchase-draw-info {
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-family: 'Poppins', sans-serif !important;
}
.purchase-draw-info svg { color: var(--rcde-yellow) !important; }
.extra-sales-notice {
    background: rgba(251,191,36,0.15) !important;
    border: 1px solid rgba(251,191,36,0.4) !important;
    color: var(--rcde-yellow) !important;
}

/* How it works */
.purchase-how-it-works {
    background: var(--rcde-navy) !important;
    border: 1px solid rgba(255,201,0,0.2) !important;
    border-radius: 16px !important;
    color: #fff !important;
}
.purchase-how-it-works h3 { color: var(--rcde-yellow) !important; font-family: 'Poppins', sans-serif !important; }
.purchase-how-it-works .how-step p { color: rgba(255,255,255,0.9) !important; }
.how-step-num {
    background: radial-gradient(ellipse at 50% 30%, #FFF6C7 0%, #FFDE4A 40%, #FFC700 75%, #E4A700 100%) !important;
    color: #111 !important;
    font-weight: 900 !important;
    border-radius: 50% !important;
}

/* Payment modal: balance info / login required */
.payment-balance-info {
    background: rgba(34,197,94,0.12) !important;
    border: 1px solid rgba(34,197,94,0.3) !important;
    color: #fff !important;
    border-radius: 10px !important;
}
.payment-balance-info .balance-label { color: rgba(255,255,255,0.8) !important; }
.payment-balance-info .balance-value { color: #5ee27e !important; }
.bonus-pct-badge {
    background: rgba(167,139,250,0.18) !important;
    color: #c4b5fd !important;
}
.bonus-pct-note { color: #c4b5fd !important; }

.payment-order-count { color: #fff !important; font-family: 'Poppins', sans-serif !important; }
.payment-order-draw { color: rgba(255,255,255,0.75) !important; }

.payment-method-wallet {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: var(--rcde-pill) !important;
    font-weight: 800 !important;
    font-family: 'Poppins', sans-serif !important;
}
.payment-method-wallet:disabled {
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.5) !important;
}
.payment-method-note { color: rgba(255,255,255,0.75) !important; font-family: 'Poppins', sans-serif !important; }

.payment-login-required h3 { color: var(--rcde-yellow) !important; }
.payment-login-required p { color: rgba(255,255,255,0.85) !important; }
.payment-login-required svg { color: rgba(255,255,255,0.6) !important; }

/* Modal heading text (Procesando…) */
.payment-processing-content h3,
.payment-success-content h3 { color: var(--rcde-yellow) !important; }
.payment-processing-content p,
.payment-success-content p { color: rgba(255,255,255,0.85) !important; }

/* Error state */
.error-state h3 { color: var(--rcde-yellow) !important; }
.error-state p { color: rgba(255,255,255,0.85) !important; }
.error-state svg { color: var(--rcde-yellow) !important; }

/* Service-страницы (proximamente/cerrado/sitio_cerrado) */
.service-page, .proximamente-page, .cerrado-page {
    font-family: 'Poppins', sans-serif !important;
    color: #fff !important;
    text-align: center;
    padding: 60px 20px;
}
.service-page h1, .proximamente-page h1, .cerrado-page h1 {
    color: var(--rcde-yellow) !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
}

/* ---------- Reglas pages (billetera / bonos) ---------- */
/* .reglas-page — фон+padding унифицирован с .vip-page/.tickets-page (radial circles).
   .reglas-container — через .vip-container (max-width 900).
   .reglas-back-link — золотая pill через .vip-back-link со стрелкой ::before. */
.reglas-hero {
    background: var(--rcde-navy);
    border: 1px solid rgba(255,201,0,0.18);
    border-radius: 18px;
    padding: 28px 24px;
    margin-bottom: 24px;
    text-align: left;
}
.reglas-hero h1 {
    color: var(--rcde-yellow);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.65rem;
    margin: 0 0 8px;
}
.reglas-hero p {
    color: rgba(255,255,255,0.82);
    font-size: 0.98rem;
    margin: 0;
    line-height: 1.55;
}
.reglas-section {
    background: var(--rcde-navy-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 22px 22px 18px;
    margin-bottom: 14px;
}
.reglas-section h2 {
    color: var(--rcde-yellow);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 12px;
}
.reglas-section p {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 12px;
}
.reglas-section p:last-child {
    margin-bottom: 0;
}
.reglas-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.reglas-section ul li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.reglas-section ul li:last-child {
    border-bottom: 0;
}
.reglas-section ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rcde-yellow);
}
.reglas-section ul li strong {
    color: #fff;
}
.reglas-section ul li em {
    color: var(--rcde-yellow);
    font-style: normal;
}
.reglas-section .reglas-note {
    margin-top: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}
.reglas-footnote {
    margin-top: 18px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    text-align: center;
    padding: 0 10px;
}

@media (max-width: 520px) {
    .reglas-hero { padding: 22px 18px; }
    .reglas-hero h1 { font-size: 1.4rem; }
    .reglas-section { padding: 18px 16px; }
    .reglas-section h2 { font-size: 1.05rem; }
}
