/* ===================================
   Lotería Nacional del Paraguay
   Mobile-First CSS Styles
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --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;
}

/* 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
   =================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    flex-shrink: 0;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.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;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

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

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    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;
    color: var(--text-color);
    transition: background var(--transition);
}

.lang-option:hover {
    background: var(--background-alt);
}

.lang-option.active {
    background: var(--background-alt);
    color: var(--primary-color);
}

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

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

.lang-option.active .lang-name {
    color: var(--primary-color);
}

/* Burger Button */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   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;
    background: rgba(0, 0, 0, 0.5);
}

/* Mobile: Fullscreen menu */
.menu-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 60px;
    background: var(--background);
    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;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    transition: background var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.menu-nav-item:first-child {
    border-top: 1px solid var(--border-color);
}

.menu-nav-item:hover {
    background: var(--background-alt);
}

.menu-nav-item.active {
    background: var(--background-alt);
    color: var(--primary-color);
}

.menu-nav-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.menu-nav-item .menu-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.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;
}

.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);
}

.menu-nav-group.expanded .menu-nav-item.has-submenu {
    color: var(--primary-color);
}

/* Submenu */
.menu-submenu {
    display: none;
    background: var(--background);
}

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

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

.menu-submenu-item:hover {
    background: var(--background-alt);
    color: var(--primary-color);
}

.menu-submenu-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.menu-nav-divider {
    height: 8px;
    background: var(--background-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

    .menu-content {
        position: absolute;
        top: 70px;
        right: 24px;
        left: auto;
        bottom: auto;
        width: 380px;
        max-height: calc(100vh - 100px);
        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;
    }

    .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;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .menu-nav-item:last-child {
        border-bottom: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .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 */
.header-balance-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Wallet Button (Header) */
.btn-wallet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 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-wallet:hover {
    background: linear-gradient(135deg, #2d4a6f 0%, #3d5a7f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.4);
}

.btn-wallet svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* Split wallet button (balance + deposit) */
.wallet-split-btn {
    display: inline-flex;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-split-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background var(--transition);
}

.wallet-split-main:hover {
    background: linear-gradient(135deg, #2d4a6f 0%, #3d5a7f 100%);
    color: white;
}

.wallet-split-main svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.wallet-split-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    transition: background var(--transition);
}

.wallet-split-add:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.wallet-split-add svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Wallet */
.menu-wallet-split {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 60px;
}

.menu-wallet-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    color: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all var(--transition);
}

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

.menu-wallet-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    transition: background var(--transition);
}

.menu-wallet-add-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.menu-wallet-btn:hover {
    background: linear-gradient(135deg, #2d4a6f 0%, #3d5a7f 100%);
}

.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;
    opacity: 0.8;
    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
   =================================== */
.footer {
    background: var(--background);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 16px;
}

.footer-top {
    margin-bottom: 32px;
}

.footer-about p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-phone {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Age Badge 18+ */
.age-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
}

.age-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #D52B1E;
    color: white;
    font-size: 0.875rem;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(213, 43, 30, 0.3);
}

.age-badge-text {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   Home Banners (above footer)
   =================================== */
/* ── Home Top Banner (ambient light effect) ── */
.home-top-banner-slider {
    position: relative;
    overflow: hidden;
    height: 120px;
}

.home-top-banner-slide {
    display: none;
    position: relative;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* Prize card slide gets padding; banner slides go edge-to-edge */
.home-top-banner-slide--prize {
    padding: 12px 16px;
}

.home-top-banner-slide.active {
    display: flex;
}

/* Ambient canvas — color-sampled glow from banner edges */
.home-top-banner-ambient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.home-top-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.home-top-banner-slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.home-top-banner-slide > img {
    margin: 0 auto;
}

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

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

.home-top-banner-dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .home-top-banner-slider {
        height: 120px;
    }
}

/* ── 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: 4 / 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: 4 / 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: 16px 32px;
    }

    .logo-img {
        height: 46px;
    }

    .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: 0.7rem;
    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: 1rem;
        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-top-banner-slide img,
    .home-top-banner-ambient,
    .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-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: space-between;
    align-items: center;
    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 (my tickets + buy) */
.tickets-split-btn {
    display: inline-flex;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tickets-split-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background var(--transition);
}

.tickets-split-main:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
}

.tickets-split-main svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.tickets-split-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    transition: background var(--transition);
}

.tickets-split-buy:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: white;
}

.tickets-split-buy svg {
    width: 18px;
    height: 18px;
}

/* 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: 38px;
}

.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;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 60px;
}

.menu-tickets-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.menu-tickets-btn-main {
    flex: 1;
    margin-bottom: 0;
    border-radius: 0;
}

.menu-tickets-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    transition: background var(--transition);
}

.menu-tickets-buy-btn:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: white;
}

.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
   =================================== */

/* --- Core variables --- */
body[data-vip="true"] {
    --primary-color: #FFD700;
    --primary-dark: #e6c200;
    --text-color: #f1f5f9;
    --text-light: #cbd5e1;
    --background: #0f0f1a;
    --background-alt: #161625;
    --border-color: #2a2a45;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --success-color: #4ade80;
    --error-color: #f87171;
    color: var(--text-color);
    background-color: var(--background);
}

/* --- Header & Footer --- */
body[data-vip="true"] .header {
    background: linear-gradient(135deg, #0d0d1a 0%, #141428 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

body[data-vip="true"] .footer {
    background: #0a0a14;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

body[data-vip="true"] .footer,
body[data-vip="true"] .footer a,
body[data-vip="true"] .footer p {
    color: #cbd5e1;
}

body[data-vip="true"] .footer h4 {
    color: #FFD700;
}

body[data-vip="true"] .footer a:hover {
    color: #FFD700;
}

body[data-vip="true"] .social-links a:hover {
    color: #0a0a14;
}

/* --- Mobile menu --- */
body[data-vip="true"] .main-menu .menu-content {
    background: #0f0f1a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body[data-vip="true"] .main-menu .menu-content a,
body[data-vip="true"] .main-menu .menu-content span {
    color: #e2e8f0;
}

body[data-vip="true"] .menu-tickets-btn,
body[data-vip="true"] .menu-wallet-btn {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .menu-tickets-label,
body[data-vip="true"] .menu-wallet-label,
body[data-vip="true"] .menu-wallet-balance {
    color: #e2e8f0;
}

body[data-vip="true"] .menu-tickets-info svg,
body[data-vip="true"] .menu-wallet-info svg {
    color: #FFD700;
}

/* --- Buttons --- */
body[data-vip="true"] .btn-yellow,
body[data-vip="true"] .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    color: #000;
}

body[data-vip="true"] .btn-yellow:hover,
body[data-vip="true"] .btn-primary:hover {
    background: linear-gradient(135deg, #e6c200 0%, #cc9900 100%);
    color: #000;
}

body[data-vip="true"] .btn-white,
body[data-vip="true"] .btn-outline {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .btn-white:hover,
body[data-vip="true"] .btn-outline:hover {
    background: #242445;
    border-color: #3a3a5a;
}

/* --- Cards & containers (generic white backgrounds) --- */
body[data-vip="true"] .auth-card,
body[data-vip="true"] .wallet-card,
body[data-vip="true"] .wallet-section,
body[data-vip="true"] .lottery-card-info,
body[data-vip="true"] .draw-card,
body[data-vip="true"] .promo-card,
body[data-vip="true"] .result-card,
body[data-vip="true"] .login-card,
body[data-vip="true"] .countdown-item,
body[data-vip="true"] .purchase-card,
body[data-vip="true"] .purchase-how-it-works,
body[data-vip="true"] .purchase-prize-info,
body[data-vip="true"] .mono-prize-card,
body[data-vip="true"] .mono-how-section,
body[data-vip="true"] .mono-countdown-card,
body[data-vip="true"] .tickets-empty {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

/* --- Ticket order cards (Mis Tickets page) --- */
body[data-vip="true"] .ticket-order-card {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .ticket-order-number {
    color: #f1f5f9;
}

body[data-vip="true"] .ticket-order-rifa {
    color: #cbd5e1;
}

body[data-vip="true"] .ticket-order-date,
body[data-vip="true"] .ticket-order-count {
    color: #cbd5e1;
}

body[data-vip="true"] .ticket-order-meta {
    border-bottom-color: #2a2a45;
}

body[data-vip="true"] .ticket-numbers-collapsed {
    background: #242440;
}

body[data-vip="true"] .ticket-numbers-collapsed:hover {
    background: #2c2c50;
}

body[data-vip="true"] .ticket-numbers-expanded {
    background: #242440;
    border-top-color: #3a3a5a;
}

body[data-vip="true"] .ticket-number-badge {
    background: linear-gradient(135deg, #3d3520 0%, #4a3d15 100%);
    border-color: #b8860b;
}

body[data-vip="true"] .ticket-number-badge .ticket-num {
    color: #FFD700;
}

body[data-vip="true"] .ticket-number-badge.winner {
    background: linear-gradient(135deg, #1a3d2a 0%, #1a4a30 100%);
    border-color: #4ade80;
}

body[data-vip="true"] .ticket-number-badge.winner .ticket-num {
    color: #4ade80;
}

body[data-vip="true"] .ticket-range-separator {
    color: #cbd5e1;
}

body[data-vip="true"] .ticket-expand-icon {
    color: #cbd5e1;
}

body[data-vip="true"] .ticket-order-result,
body[data-vip="true"] .ticket-order-pending {
    color: #cbd5e1;
}

body[data-vip="true"] .ticket-order-result .result-label,
body[data-vip="true"] .ticket-order-pending .pending-label {
    color: #94a3b8;
}

body[data-vip="true"] .ticket-order-result .result-date,
body[data-vip="true"] .ticket-order-pending .pending-date {
    color: #e2e8f0;
}

body[data-vip="true"] .ticket-number-badge .ticket-tag.promo {
    background: #2563eb;
    color: white;
}
body[data-vip="true"] .ticket-number-badge .ticket-tag.extra {
    background: #d97706;
    color: white;
}

body[data-vip="true"] .tickets-header h1 {
    color: #f1f5f9;
}

body[data-vip="true"] .tickets-subtitle {
    color: #cbd5e1;
}

body[data-vip="true"] .tickets-empty h3 {
    color: #f1f5f9;
}

body[data-vip="true"] .tickets-empty p {
    color: #cbd5e1;
}

body[data-vip="true"] .tickets-empty svg {
    color: #cbd5e1;
}

body[data-vip="true"] .btn-load-more {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .btn-load-more:hover {
    background: #242445;
    border-color: #3a3a5a;
}

/* --- Purchase page --- */
body[data-vip="true"] .purchase-back-btn {
    color: #cbd5e1;
}

body[data-vip="true"] .purchase-back-btn:hover {
    color: #FFD700;
}

body[data-vip="true"] .mono-purchase-section,
body[data-vip="true"] .mono-purchase-page {
    background: var(--background);
}

body[data-vip="true"] .purchase-prize-box .prize-label {
    color: #FFD700;
}

body[data-vip="true"] .purchase-prize-box .prize-amount {
    color: #f1f5f9;
}

body[data-vip="true"] .ticket-input,
body[data-vip="true"] .form-input,
body[data-vip="true"] #ticketCount {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #f1f5f9;
}

body[data-vip="true"] .ticket-input:focus,
body[data-vip="true"] .form-input:focus {
    background: #1c1c35;
    border-color: #FFD700;
}

body[data-vip="true"] .ticket-btn,
body[data-vip="true"] .quick-btn {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .ticket-btn:hover,
body[data-vip="true"] .quick-btn:hover {
    background: #242445;
    border-color: #3a3a5a;
}

body[data-vip="true"] .quick-btn.active {
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    color: #000;
    border-color: #FFD700;
}

body[data-vip="true"] .purchase-summary {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .purchase-summary-row {
    color: #cbd5e1;
}

body[data-vip="true"] .purchase-summary-total {
    color: #f1f5f9;
    border-top-color: #2a2a45;
}

/* --- Payment modal --- */
body[data-vip="true"] .payment-modal {
    background: #0f0f1a;
}

body[data-vip="true"] .payment-modal-header {
    border-bottom-color: #2a2a45;
}

body[data-vip="true"] .payment-modal-title {
    color: #f1f5f9;
}

body[data-vip="true"] .payment-methods-grid,
body[data-vip="true"] .payment-methods-list {
    background: #161625;
}

body[data-vip="true"] .payment-method-outline,
body[data-vip="true"] .payment-all-methods-btn {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .payment-method-img-btn {
    background-color: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .payment-method-outline:hover {
    background: #242445;
    border-color: #3a3a5a;
}

body[data-vip="true"] .payment-method-img-btn:hover {
    background-color: #242445;
    border-color: #3a3a5a;
}

body[data-vip="true"] .payment-method-img-label {
    color: #e2e8f0;
}

body[data-vip="true"] .payment-method-card-img {
    background-color: #242445;
}

body[data-vip="true"] .payment-method-footer {
    background: #161625;
}

body[data-vip="true"] .payment-method-item {
    background: #1c1c35;
}

/* --- Billetera/Wallet page --- */
body[data-vip="true"] .wallet-section h3,
body[data-vip="true"] .wallet-card h3 {
    color: #f1f5f9;
}

body[data-vip="true"] .wallet-section p,
body[data-vip="true"] .wallet-card p {
    color: #cbd5e1;
}

body[data-vip="true"] .balance-amount {
    color: #FFD700;
}

body[data-vip="true"] .tx-copy-btn {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .wallet-withdraw-btn {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}

body[data-vip="true"] .wallet-withdraw-btn:not(:disabled):hover {
    background: #e6c200;
    border-color: #e6c200;
}

body[data-vip="true"] .wallet-withdraw-btn:disabled {
    background: #1c1c35;
    color: #64748b;
    border-color: #2a2a45;
    opacity: 0.5;
}

/* --- Mono/Lottery pages --- */
body[data-vip="true"] .mono-lottery-logo {
    background: #1c1c35;
}

body[data-vip="true"] .mono-prize-section,
body[data-vip="true"] .mono-countdown-section {
    background: #161625;
}

body[data-vip="true"] .mono-prize-card-highlight {
    background: linear-gradient(135deg, #3d3520 0%, #4a3d15 100%);
    border-color: #b8860b;
}

body[data-vip="true"] .mono-step-icon {
    background: linear-gradient(135deg, #3d3520 0%, #4a3d15 100%);
    color: #FFD700;
}

body[data-vip="true"] .mono-step-content h3 {
    color: #f1f5f9;
}

body[data-vip="true"] .mono-step-content p {
    color: #cbd5e1;
}

body[data-vip="true"] .mono-participate-btn {
    color: #000;
}

body[data-vip="true"] .mono-cta {
    background: #161625;
}

/* --- Filter buttons --- */
body[data-vip="true"] .filter-btn {
    color: #cbd5e1;
}

body[data-vip="true"] .filter-btn.active {
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    color: #000;
}

/* --- Auth pages (login/register) --- */
body[data-vip="true"] .auth-back-btn,
body[data-vip="true"] .auth-lang-btn {
    background: #1c1c35;
    color: #e2e8f0;
}

body[data-vip="true"] .form-input-group {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .form-input-group input,
body[data-vip="true"] .form-input-group select {
    color: #f1f5f9;
}

body[data-vip="true"] .form-input-group label {
    color: #cbd5e1;
}

body[data-vip="true"] .checkbox-custom {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .form-error {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
}

/* --- Lang dropdown --- */
body[data-vip="true"] .lang-dropdown {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .lang-dropdown a {
    color: #e2e8f0;
}

body[data-vip="true"] .lang-dropdown a:hover {
    background: #242445;
}

/* --- Hero section --- */
body[data-vip="true"] .hero-nav-btn {
    background: #1c1c35;
    border-color: #2a2a45;
    color: #e2e8f0;
}

body[data-vip="true"] .hero-coin-amount {
    color: #FFD700;
}

/* --- Lottery timer --- */
body[data-vip="true"] .lottery-timer {
    background: #242440;
}

/* --- Links & text --- */
body[data-vip="true"] a {
    color: #cbd5e1;
}

body[data-vip="true"] a:hover {
    color: #FFD700;
}

body[data-vip="true"] h1,
body[data-vip="true"] h2,
body[data-vip="true"] h3,
body[data-vip="true"] h4 {
    color: #f1f5f9;
}

body[data-vip="true"] p {
    color: #cbd5e1;
}

/* --- Header balance & nav --- */
body[data-vip="true"] .header-balance-container .btn-tickets,
body[data-vip="true"] .header-balance-container .btn-wallet {
    color: #e2e8f0;
}

body[data-vip="true"] .header-balance-container .btn-tickets:hover,
body[data-vip="true"] .header-balance-container .btn-wallet:hover {
    color: #FFD700;
}

body[data-vip="true"] .header-balance {
    color: #FFD700;
}

body[data-vip="true"] .tickets-split-main {
    color: #1a1a2e;
}

body[data-vip="true"] .tickets-split-main:hover {
    color: #1a1a2e;
}

body[data-vip="true"] .nav-links a {
    color: #cbd5e1;
}

body[data-vip="true"] .nav-links a:hover,
body[data-vip="true"] .nav-links a.active {
    color: #FFD700;
}

/* --- Submenu dropdown --- */
body[data-vip="true"] .submenu {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .submenu a {
    color: #e2e8f0;
}

body[data-vip="true"] .submenu a:hover {
    background: #242445;
    color: #FFD700;
}

/* --- Purchase result --- */
body[data-vip="true"] .purchase-result-card {
    background: #1c1c35;
    border-color: #2a2a45;
}

/* --- Referral/Afiliados page overrides --- */
body[data-vip="true"] .referral-code-box,
body[data-vip="true"] .referral-link-box {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .referral-code-box input,
body[data-vip="true"] .referral-link-box input {
    background: #242445;
    color: #f1f5f9;
    border-color: #2a2a45;
}

/* --- Purchase page (comprar) --- */
body[data-vip="true"] .mono-purchase-page {
    background: var(--background);
}

body[data-vip="true"] .mono-purchase-page .purchase-header h1 {
    color: #FFD700;
}

body[data-vip="true"] .mono-purchase-page .purchase-header p {
    color: #cbd5e1;
}

body[data-vip="true"] .purchase-prize-info {
    background: #1c1c35;
    border: 1px solid #2a2a45;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-vip="true"] .prize-info-label {
    color: #cbd5e1;
}

body[data-vip="true"] .prize-info-value {
    color: #f1f5f9;
}

body[data-vip="true"] .prize-info-value.highlight {
    color: #4ade80;
}

body[data-vip="true"] .prize-info-divider {
    background: #2a2a45;
}

body[data-vip="true"] .prize-current {
    color: #4ade80 !important;
}

body[data-vip="true"] .purchase-draw-info {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

body[data-vip="true"] .purchase-draw-info svg {
    color: #FFD700;
}

/* --- Combos section --- */
body[data-vip="true"] .combos-section {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .combos-header {
    border-left-color: #FFD700;
}

body[data-vip="true"] .combos-title-main {
    color: #f1f5f9;
}

body[data-vip="true"] .combos-title-premium {
    color: #FFD700;
}

body[data-vip="true"] .combos-header p {
    color: #cbd5e1;
}

body[data-vip="true"] .combo-card {
    background: #242445;
    border-color: #2a2a45;
}

body[data-vip="true"] .combo-card:hover {
    border-color: #3a3a5a;
    background: #2c2c50;
}

body[data-vip="true"] .combo-card.selected {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

body[data-vip="true"] .combo-tickets {
    color: #f1f5f9;
}

body[data-vip="true"] .combo-card.selected .combo-tickets {
    color: #FFD700;
}

body[data-vip="true"] .combo-label {
    color: #94a3b8;
}

body[data-vip="true"] .combo-price {
    background: #FFD700;
    color: #000;
}

body[data-vip="true"] .combo-discount {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

body[data-vip="true"] .manual-selector {
    background: #242445;
    border-color: #2a2a45;
}

body[data-vip="true"] .manual-selector-title {
    color: #f87171;
}

body[data-vip="true"] .manual-selector-price {
    color: #cbd5e1;
}

body[data-vip="true"] .manual-selector-price strong {
    color: #f1f5f9;
}

body[data-vip="true"] .manual-selector-controls {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .ticket-display input[type="number"] {
    color: #f1f5f9;
}

body[data-vip="true"] .ticket-label {
    color: #94a3b8;
}

body[data-vip="true"] .manual-selector-hint {
    color: #94a3b8;
}

body[data-vip="true"] .combos-section .purchase-summary {
    background: #161625;
    border-color: #2a2a45;
}

body[data-vip="true"] .combos-section .summary-row {
    color: #cbd5e1;
}

body[data-vip="true"] .combos-section .summary-total {
    color: #f1f5f9;
    border-top-color: #2a2a45;
}

body[data-vip="true"] .combos-section .purchase-btn {
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    color: #000;
}

body[data-vip="true"] .combos-section .purchase-btn:hover {
    background: linear-gradient(135deg, #e6c200 0%, #d4b000 100%);
}

body[data-vip="true"] .combos-section .purchase-note {
    color: #94a3b8;
}

body[data-vip="true"] .combos-section .purchase-note svg {
    color: #94a3b8;
}

body[data-vip="true"] .summary-divider {
    background: #2a2a45;
}

/* --- Mono page (lottery detail) --- */
body[data-vip="true"] .mono-participate-btn.btn-yellow {
    color: #000 !important;
}

body[data-vip="true"] .mono-prize-amount-sub {
    color: #FFD700;
}

body[data-vip="true"] .mono-section-title {
    color: #f1f5f9;
}

body[data-vip="true"] .mono-step-content p {
    color: #cbd5e1;
}

body[data-vip="true"] .mono-step-icon {
    background: linear-gradient(135deg, #3d3520 0%, #4a3d15 100%);
    color: #FFD700;
}

/* --- How it works (purchase page) --- */
body[data-vip="true"] .purchase-how-it-works {
    background: #1c1c35;
    border-color: #2a2a45;
}

body[data-vip="true"] .purchase-how-it-works h3 {
    color: #f1f5f9;
}

body[data-vip="true"] .how-step-num {
    background: #FFD700;
    color: #000;
}

body[data-vip="true"] .how-step p {
    color: #cbd5e1;
}

/* --- Payment modal VIP --- */
body[data-vip="true"] .payment-modal-overlay.active {
    background: rgba(0, 0, 0, 0.7);
}

body[data-vip="true"] .payment-total-box {
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    border-color: #b8860b;
    color: #000;
}

body[data-vip="true"] .payment-total-amount {
    color: #000;
}

body[data-vip="true"] .payment-total-label {
    color: rgba(0, 0, 0, 0.6);
}

/* --- Recharge modal VIP --- */
body[data-vip="true"] .recharge-currency {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

body[data-vip="true"] .payment-modal-close {
    background: #242445;
    color: #cbd5e1;
}

body[data-vip="true"] .payment-modal-close:hover {
    background: #2a2a55;
    color: #f1f5f9;
}

body[data-vip="true"] .quick-amount-btn.active {
    color: #000;
    font-weight: 700;
}

body[data-vip="true"] .payment-back-btn {
    background: transparent;
    border: none;
    color: #e2e8f0;
}

body[data-vip="true"] .payment-order-info {
    border-color: #2a2a45;
}

body[data-vip="true"] .payment-order-count {
    color: #f1f5f9;
}

body[data-vip="true"] .payment-order-draw {
    color: #cbd5e1;
}

body[data-vip="true"] .payment-balance-info {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
}

body[data-vip="true"] .balance-label {
    color: #cbd5e1;
}
body[data-vip="true"] .live-balance-info .balance-label {
    color: #374151;
}

body[data-vip="true"] .balance-value {
    color: #4ade80;
}
body[data-vip="true"] .live-balance-info .balance-value {
    color: #16a34a;
}

body[data-vip="true"] .payment-method-note {
    color: #94a3b8;
}

body[data-vip="true"] .payment-login-required h3 {
    color: #f1f5f9;
}

body[data-vip="true"] .payment-login-required p {
    color: #cbd5e1;
}

body[data-vip="true"] .payment-login-required svg {
    color: #94a3b8;
}

body[data-vip="true"] .btn-outline-yellow {
    border-color: #FFD700;
    color: #FFD700;
}

body[data-vip="true"] .btn-outline-yellow:hover {
    background: rgba(255, 215, 0, 0.1);
}

body[data-vip="true"] .payment-processing-content h3,
body[data-vip="true"] .payment-success-content h3 {
    color: #f1f5f9;
}

body[data-vip="true"] .payment-processing-content p,
body[data-vip="true"] .payment-success-content p {
    color: #cbd5e1;
}

body[data-vip="true"] .loading-spinner {
    border-color: rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
}

body[data-vip="true"] .error-state h3 {
    color: #f87171;
}

body[data-vip="true"] .error-state p,
body[data-vip="true"] .loading-state p {
    color: #cbd5e1;
}

/* Purchased ticket numbers */
body[data-vip="true"] .ticket-number {
    background: linear-gradient(135deg, #3d3520 0%, #4a3d15 100%);
    border-color: #b8860b;
    color: #FFD700;
}

body[data-vip="true"] .ticket-separator {
    color: #FFD700;
}

body[data-vip="true"] .success-balance {
    border-top-color: #2a2a45;
}

body[data-vip="true"] .success-balance strong {
    color: #4ade80;
}

/* VIP badge in header */
.vip-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FFD700, #e6c200);
    color: #000;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.vip-header-badge svg {
    flex-shrink: 0;
}

.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;
}

/* 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;
}
