/* -------------------------------------------------------------
 * MAJESTIC CASINO - CUSTOM LUXURY DESIGN SYSTEM
 * ------------------------------------------------------------- */

/* Design Tokens & Custom Properties */
:root {
    /* Color Palette */
    --color-bg-base: #FDFBF7;        /* Premium Cream Background */
    --color-bg-alt: #F5F1E9;         /* Sand Background Accent */
    --color-bg-card: #FFFFFF;        /* Crisp White Cards */
    --color-bg-header: rgba(253, 251, 247, 0.85); /* Blurry Glass Header */
    
    --color-text-main: #1E1B15;      /* Rich Dark Charcoal */
    --color-text-muted: #5C5549;     /* Warm Medium Brown */
    --color-text-light: #8E8472;     /* Muted Sand Gray */
    
    --color-gold-light: #F3E5AB;     /* Champagne Gold */
    --color-gold-main: #C5A866;      /* Sand Metallic Gold */
    --color-gold-dark: #AA7C11;      /* Deep Bronze Gold */
    --color-gold-hover: #B59653;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
    --gradient-gold-light: linear-gradient(135deg, #F3E5AB 0%, #C5A866 100%);
    --gradient-card-hover: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(197, 168, 102, 0.05) 100%);
    --gradient-vip: linear-gradient(135deg, #2A2415 0%, #15120B 100%);
    --gradient-drops: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
    
    /* Layout & Shadow Tokens */
    --shadow-sm: 0 2px 8px rgba(60, 51, 34, 0.04);
    --shadow-md: 0 4px 20px rgba(197, 168, 102, 0.08);
    --shadow-lg: 0 10px 30px rgba(197, 168, 102, 0.15);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --sidebar-width: 250px;
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo-title, .logo-subtitle, .slide-title, .section-title, .block-title, .win-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold-main);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* -------------------------------------------------------------
 * BUTTON TEMPLATES
 * ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
    padding: 10px 20px; /* Default button padding */
    font-size: 0.85rem; /* Default button font size */
}

.btn-gold {
    background: var(--gradient-gold);
    color: #1E1B15; /* Dark Charcoal text on gold background for premium legibility */
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    filter: brightness(1.05);
}
.btn-gold:active {
    transform: translateY(0);
}

.btn-white {
    background: #FFFFFF;
    color: var(--color-text-main);
    border: 1px solid rgba(197, 168, 102, 0.2);
}
.btn-white:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-gold-main);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}
.btn-md {
    padding: 10px 20px;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}
.btn-xl {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}
.btn-xs {
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 4px;
}
.btn-block {
    width: 100%;
}

/* -------------------------------------------------------------
 * APPLICATION LAYOUT
 * ------------------------------------------------------------- */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Left Sidebar Navigation */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-bg-card);
    border-right: 1px solid rgba(197, 168, 102, 0.15);
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: var(--transition-normal);
}

.sidebar-brand {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(197, 168, 102, 0.08);
}

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

.crown-icon {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 5px rgba(170, 124, 17, 0.3));
    animation: pulseGlow 3s infinite ease-in-out;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-size: 1.25rem;
    color: var(--color-text-main);
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-gold-dark);
    letter-spacing: 4px;
}

.mobile-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.nav-list li {
    margin-bottom: 4px;
}

.nav-separator {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: 1px;
    padding: 16px 12px 6px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-item i {
    width: 18px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--color-text-main);
    background-color: var(--color-bg-alt);
}

.nav-item:hover i {
    color: var(--color-gold-dark);
    transform: scale(1.1);
}

.nav-item.active {
    background: var(--gradient-gold);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(170, 124, 17, 0.2);
}

.nav-item.active i {
    color: #FFFFFF;
}

/* Sidebar Weekly Tournament Promo Card */
.sidebar-promo {
    margin: 20px 16px;
    padding: 20px;
    background: linear-gradient(185deg, #FFFDF8 0%, #F5EFEB 100%);
    border: 1px solid rgba(197, 168, 102, 0.3);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.promo-badge {
    background: var(--color-text-main);
    color: var(--color-gold-light);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.promo-sub {
    font-size: 0.65rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo-prize {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

.btn-participar {
    position: relative;
    z-index: 2;
}

.promo-illustration {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 4rem;
    opacity: 0.15;
    color: var(--color-gold-main);
    transform: rotate(15deg);
}

.gold-glow {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

/* Right Side Page Wrapper */
.page-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* -------------------------------------------------------------
 * HEADER
 * ------------------------------------------------------------- */
.header {
    height: 80px;
    background-color: var(--color-bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 168, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-main);
    cursor: pointer;
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.header-link:hover {
    color: var(--color-text-main);
}

.header-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-fast);
}

.header-link:hover::after,
.header-link.active::after {
    width: 100%;
}

.header-link.active {
    color: var(--color-text-main);
}

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

/* Wallet Card */
.wallet-card {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.2);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    min-width: 120px;
}

.wallet-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.wallet-balance {
    display: flex;
    align-items: baseline;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--color-text-main);
    gap: 4px;
    margin-top: -2px;
}

.currency {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
}

.balance-value {
    font-size: 1.1rem;
}

.wallet-flash {
    animation: flashGold 0.8s ease;
}

.btn-deposit {
    padding: 11px 24px;
    font-size: 0.88rem;
}

.btn-login, .btn-register {
    padding: 11px 24px;
    font-size: 0.88rem;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.12);
    color: var(--color-text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
}

.action-btn:hover {
    color: var(--color-gold-dark);
    border-color: var(--color-gold-main);
    box-shadow: var(--shadow-sm);
}

.btn-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #E74C3C;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-card);
}

/* User Profile Badge */
.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(197, 168, 102, 0.15);
}

.user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--color-gold-main);
}

.avatar-status-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: #2ECC71;
    border: 2px solid var(--color-bg-card);
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.user-level {
    font-size: 0.7rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.gold-text {
    color: var(--color-gold-dark);
}

/* -------------------------------------------------------------
 * MAIN LAYOUT & BODY CONTENT
 * ------------------------------------------------------------- */
.main-layout {
    padding: 24px 32px;
    display: flex;
    gap: 24px;
}

.main-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* -------------------------------------------------------------
 * TOP HERO SECTION (Split Grid)
 * ------------------------------------------------------------- */
.hero-split-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* Hero Carousel */
.carousel-container {
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(197, 168, 102, 0.15);
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    padding: 0 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content {
    max-width: 480px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-gold-dark);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.slide-title {
    font-size: 2.2rem;
    line-height: 1.15;
    color: var(--color-text-main);
    margin-bottom: 14px;
}

.slide-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Carousel controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(197, 168, 102, 0.2);
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.carousel-control:hover {
    background-color: #FFFFFF;
    color: var(--color-gold-dark);
    border-color: var(--color-gold-main);
    box-shadow: var(--shadow-md);
}

.carousel-control.prev { left: 16px; }
.carousel-control.next { right: 16px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 48px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 24px;
    height: 4px;
    border-radius: var(--radius-full);
    background-color: rgba(197, 168, 102, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background-color: var(--color-gold-dark);
    width: 36px;
}

/* Right Widgets Column */
.hero-widgets-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.12);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

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

.widget-header .widget-title {
    margin-bottom: 0;
}

.view-all-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-link:hover {
    color: var(--color-text-main);
}

/* Recent Winners */
.recent-winners-widget {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.winners-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: hidden;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-alt);
    border-left: 3px solid var(--color-gold-main);
    transition: var(--transition-fast);
    animation: winnerPop 0.5s ease forwards;
}

.winner-item:hover {
    transform: translateX(4px);
    background-color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.winner-game-icon {
    font-size: 1.1rem;
    color: var(--color-gold-dark);
}

.winner-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    line-height: 1.2;
}

.winner-game-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.winner-username {
    font-size: 0.65rem;
    color: var(--color-text-light);
}

.winner-amount {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #27AE60;
}

/* Daily Missions */
.missions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mission-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mission-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.mission-desc {
    font-weight: 500;
}

.mission-progress-text {
    font-weight: 600;
    color: var(--color-text-main);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.mission-item.completed .mission-desc {
    text-decoration: line-through;
    color: var(--color-text-light);
}

.mission-item.completed .progress-bar {
    background: #27AE60;
}

/* -------------------------------------------------------------
 * CATEGORIES QUICK FILTER STRIP
 * ------------------------------------------------------------- */
.categories-filter-section {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
}

.categories-filter-track {
    display: flex;
    gap: 12px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.12);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.filter-chip:hover {
    color: var(--color-text-main);
    border-color: var(--color-gold-main);
    transform: translateY(-2px);
}

.filter-icon {
    font-size: 1rem;
    color: var(--color-gold-dark);
}

.filter-chip.active {
    background: var(--gradient-gold);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.filter-chip.active .filter-icon {
    color: #FFFFFF;
}

/* -------------------------------------------------------------
 * GAMES SECTIONS & CARDS
 * ------------------------------------------------------------- */
.games-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

/* Game Card */
.game-card {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 168, 102, 0.25);
}

.game-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.game-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 51, 34, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.game-card:hover .game-play-overlay {
    opacity: 1;
}

.btn-play-game {
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.game-card:hover .btn-play-game {
    transform: scale(1);
}

.game-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-gold);
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.game-footer {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-card);
    border-top: 1px solid rgba(197, 168, 102, 0.05);
}

.game-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.game-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.game-provider {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

.favorite-btn {
    background: none;
    border: none;
    font-size: 0.95rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.favorite-btn:hover {
    color: #E74C3C;
    transform: scale(1.15);
}

.favorite-btn.active {
    color: #E74C3C;
}

/* -------------------------------------------------------------
 * LIVE CASINO & OPTIONS SECTION
 * ------------------------------------------------------------- */
.live-and-options-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.live-casino-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

/* Live Card */
.live-card {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.live-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 168, 102, 0.25);
}

.live-thumbnail {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(231, 76, 60, 0.9);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background-color: #FFFFFF;
    animation: blink 1.2s infinite;
}

.live-play-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-gold);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.live-card:hover .live-play-btn {
    opacity: 1;
    transform: scale(1);
}

.live-footer {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.live-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.live-players {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

.live-players i {
    margin-right: 4px;
}

/* Middle Column Widgets (VIP + Drops) */
.middle-widgets-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* VIP Card */
.vip-club-card {
    background: var(--gradient-vip);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.vip-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-shield {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--color-gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-main);
}

.vip-title {
    font-size: 1.1rem;
    color: var(--color-gold-light);
}

.vip-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.vip-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
}

.perk-item i {
    color: var(--color-gold-main);
    font-size: 0.85rem;
}

/* Drops & Wins promo */
.drops-wins-card {
    background: var(--gradient-drops);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.drops-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.drops-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #F1C40F;
    letter-spacing: 0.5px;
}

.drops-title {
    font-size: 1.1rem;
    line-height: 1.2;
}

.drops-highlight {
    color: #F1C40F;
    font-weight: 800;
}

.drops-icon-container {
    position: absolute;
    right: 10px;
    bottom: -15px;
    font-size: 6rem;
    opacity: 0.15;
    transform: rotate(-15deg);
}

.gem-float {
    animation: float 4s infinite ease-in-out;
}

/* -------------------------------------------------------------
 * TOURNAMENTS, DEPOSIT & TOP GAMES ROW
 * ------------------------------------------------------------- */
.tournaments-deposit-games-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.tournaments-block, .quick-deposit-block, .top-games-block {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.12);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.block-title {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

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

.block-header .block-title {
    margin-bottom: 0;
}

/* Tournaments */
.tournaments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tournament-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(197, 168, 102, 0.05);
}

.tournament-icon {
    font-size: 1.25rem;
}

.text-gold { color: #D4AF37; }
.text-silver { color: #BDC3C7; }
.text-bronze { color: #CD7F32; }

.tournament-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    line-height: 1.2;
}

.t-type {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.t-prize {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.tournament-timer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.t-label {
    font-size: 0.55rem;
    color: var(--color-text-light);
    font-weight: 700;
}

.t-time {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold-dark);
}

.btn-t-participar {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.75rem;
    padding: 6px 12px;
}

/* Quick Deposit */
.quick-deposit-block {
    display: flex;
    flex-direction: column;
}

.block-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: -12px;
    margin-bottom: 16px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-grow: 1;
}

.payment-method-btn {
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(197, 168, 102, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.payment-method-btn:hover {
    background-color: #FFFFFF;
    border-color: var(--color-gold-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.method-icon {
    font-size: 1.3rem;
    color: var(--color-gold-dark);
    margin-bottom: 6px;
}

.method-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.method-speed {
    font-size: 0.6rem;
    color: var(--color-text-light);
}

/* Top Games */
.top-games-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.rank-item:hover {
    transform: translateX(4px);
}

.rank-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gold-main);
    width: 20px;
    text-align: center;
}

.rank-img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.rank-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rank-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.rank-provider {
    font-size: 0.65rem;
    color: var(--color-text-light);
}

/* -------------------------------------------------------------
 * EXCLUSIVE PROMOTIONAL BANNER
 * ------------------------------------------------------------- */
.exclusive-promo-banner {
    height: 280px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    padding: 0 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(197, 168, 102, 0.15);
}

.banner-promo-content {
    max-width: 480px;
}

.banner-promo-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-gold-dark);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 8px;
}

.banner-promo-title {
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.banner-promo-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* -------------------------------------------------------------
 * NEWSLETTER SECTION
 * ------------------------------------------------------------- */
.newsletter-section {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(197, 168, 102, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-envelope-icon {
    font-size: 2.2rem;
    color: var(--color-gold-dark);
}

.newsletter-text {
    display: flex;
    flex-direction: column;
}

.newsletter-title {
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.newsletter-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.newsletter-right {
    flex-grow: 1;
    max-width: 450px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(197, 168, 102, 0.2);
    font-size: 0.85rem;
    background-color: var(--color-bg-alt);
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    background-color: #FFFFFF;
    border-color: var(--color-gold-main);
    box-shadow: var(--shadow-sm);
}

.btn-cadastrar {
    padding: 12px 24px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.newsletter-gift-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 4rem;
    opacity: 0.05;
    color: var(--color-gold-dark);
    transform: rotate(15deg);
}

/* -------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------- */
.footer {
    margin-top: 48px;
    background-color: #FFFFFF;
    border-top: 1px solid rgba(197, 168, 102, 0.15);
    padding: 48px 32px 24px 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

.social-link-item {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-alt);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-link-item:hover {
    background: var(--gradient-gold);
    color: #FFFFFF;
    box-shadow: var(--shadow-gold);
}

/* Footer Link Columns */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.footer-links-title {
    font-size: 0.8rem;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-col a {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer-links-col a:hover {
    color: var(--color-gold-dark);
}

/* Security tags */
.footer-security-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.security-badge-icon.age-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-main);
    border: 1.5px solid var(--color-text-muted);
}

.security-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.badge-subheader {
    font-size: 0.6rem;
    color: var(--color-text-light);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(197, 168, 102, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.footer-legal-links {
    display: flex;
    gap: 16px;
}

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

.footer-legal-links a:hover {
    color: var(--color-gold-dark);
}

/* -------------------------------------------------------------
 * MODAL OVERLAYS & CARD ELEMENT
 * ------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 27, 21, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 168, 102, 0.25);
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(197, 168, 102, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.15rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--color-text-main);
}

.modal-body {
    padding: 24px;
}

.modal-instruction {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* -------------------------------------------------------------
 * QUICK DEPOSIT FORM SPECIFICS
 * ------------------------------------------------------------- */
.payment-method-selected-banner {
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(197, 168, 102, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.selected-method-label {
    color: var(--color-text-light);
    font-weight: 500;
}

.selected-method-val {
    color: var(--color-text-main);
    font-weight: 700;
}

.selected-method-val i {
    color: var(--color-gold-dark);
    margin-right: 4px;
}

.deposit-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.preset-btn {
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(197, 168, 102, 0.15);
    background-color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.preset-btn:hover {
    border-color: var(--color-gold-main);
    color: var(--color-text-main);
}

.preset-btn.active {
    background: var(--gradient-gold);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.deposit-input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.input-currency {
    position: absolute;
    left: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-gold-dark);
}

.deposit-input-group input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-text-main);
    border: 1px solid rgba(197, 168, 102, 0.25);
    border-radius: var(--radius-sm);
}

.deposit-input-group input:focus {
    border-color: var(--color-gold-dark);
    box-shadow: var(--shadow-sm);
}

.deposit-details-fields {
    margin-bottom: 20px;
}

.sim-input-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sim-input-box label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.sim-input-box input {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(197, 168, 102, 0.15);
    font-size: 0.85rem;
}

.card-extra-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

.deposit-security-hint {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    color: var(--color-text-light);
    margin-top: 12px;
}

.deposit-security-hint i {
    color: #2ECC71;
    margin-right: 2px;
}

/* -------------------------------------------------------------
 * PLAYABLE MINI-SLOTS GAME SPECIFICS
 * ------------------------------------------------------------- */
.slots-game-card {
    max-width: 500px;
}

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

.slots-machine {
    background-color: #1E1B15;
    border: 6px solid var(--color-gold-main);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin: 20px auto;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), var(--shadow-md);
    overflow: hidden;
}

.reels-container {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.reel {
    flex: 1;
    height: 120px; /* displays 3 symbols at 40px height */
    background-color: #0F0D0A;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    border: 1.5px solid rgba(212, 175, 55, 0.15);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.9);
}

.reel-strip {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -120px; /* middle alignment start */
    left: 0;
    width: 100%;
    transition: top 0s linear;
}

.slot-symbol {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    user-select: none;
}

.slots-payline {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold-main);
    z-index: 3;
    opacity: 0.7;
    pointer-events: none;
    box-shadow: 0 0 8px #D4AF37;
}

/* Win banner */
.slots-win-message {
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid #27AE60;
    border-radius: var(--radius-sm);
    padding: 10px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    animation: bounceIn 0.5s ease forwards;
}

.win-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #27AE60;
    letter-spacing: 1px;
}

.win-prize {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #27AE60;
}

.slots-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.bet-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.bet-label {
    font-size: 0.7rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
}

.bet-adjuster {
    display: flex;
    align-items: center;
    border: 1px solid rgba(197, 168, 102, 0.25);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bet-btn {
    width: 32px;
    height: 32px;
    background-color: var(--color-bg-alt);
    border: none;
    color: var(--color-text-main);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.bet-btn:hover {
    background-color: var(--color-gold-light);
    color: var(--color-gold-dark);
}

.bet-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-main);
    padding: 0 12px;
}

.btn-spin {
    flex-grow: 1;
    font-size: 0.95rem;
    padding: 14px 20px;
}

.slots-paytable {
    margin-top: 20px;
    border-top: 1px solid rgba(197, 168, 102, 0.1);
    padding-top: 12px;
    text-align: left;
}

.paytable-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.paytable-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    font-size: 0.65rem;
    color: var(--color-text-light);
}

/* -------------------------------------------------------------
 * TOAST NOTIFICATIONS
 * ------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

.toast {
    background-color: #FFFFFF;
    border-left: 4px solid var(--color-gold-main);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 380px;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border: 1px solid rgba(197, 168, 102, 0.15);
}

.toast.toast-success {
    border-left-color: #27AE60;
}

.toast.toast-error {
    border-left-color: #E74C3C;
}

.toast-icon {
    font-size: 1.15rem;
}

.toast-success .toast-icon { color: #27AE60; }
.toast-error .toast-icon { color: #E74C3C; }

.toast-message {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
    flex-grow: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    font-size: 0.85rem;
}

.toast-close:hover {
    color: var(--color-text-main);
}

/* Confetti overlay */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1500;
    display: block;
}

/* -------------------------------------------------------------
 * ANIMATIONS
 * ------------------------------------------------------------- */
@keyframes pulseGlow {
    0% { filter: drop-shadow(0 2px 4px rgba(170, 124, 17, 0.3)); }
    50% { filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.6)); }
    100% { filter: drop-shadow(0 2px 4px rgba(170, 124, 17, 0.3)); }
}

@keyframes flashGold {
    0% { color: var(--color-text-main); transform: scale(1); }
    30% { color: var(--color-gold-dark); transform: scale(1.15); text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
    100% { color: var(--color-text-main); transform: scale(1); }
}

@keyframes winnerPop {
    0% { opacity: 0; transform: translateY(10px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.gift-bounce {
    animation: float 3s infinite ease-in-out;
}

/* -------------------------------------------------------------
 * RESPONSIVENESS MEDIA QUERIES
 * ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .main-layout {
        flex-direction: column;
    }
    .hero-split-section {
        grid-template-columns: 1fr;
    }
    .live-and-options-row {
        grid-template-columns: 1fr;
    }
    .tournaments-deposit-games-row {
        grid-template-columns: 1.2fr 1fr;
    }
    .top-games-block {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        bottom: 0;
        box-shadow: var(--shadow-lg);
    }
    .sidebar.active {
        left: 0;
    }
    .mobile-close-btn {
        display: block;
    }
    .mobile-toggle-btn {
        display: block;
    }
    .header-nav {
        display: none;
    }
    .tournaments-deposit-games-row {
        grid-template-columns: 1fr;
    }
    .top-games-block {
        grid-column: span 1;
    }
    .newsletter-section {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-right {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 0 16px;
    }
    .main-layout {
        padding: 16px 16px;
    }
    .carousel-container {
        height: 280px;
    }
    .slide-title {
        font-size: 1.4rem;
    }
    .slide-content {
        padding: 0 20px;
    }
    .carousel-slide {
        padding: 0 20px;
    }
    .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .carousel-indicators {
        left: 20px;
    }
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .game-name {
        font-size: 0.75rem;
    }
    .game-provider {
        font-size: 0.6rem;
    }
    .live-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .wallet-card {
        min-width: 90px;
        padding: 4px 8px;
    }
    .balance-value {
        font-size: 0.9rem;
    }
    .btn-deposit {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    .user-profile-badge {
        display: none;
    }
    .newsletter-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* =============================================================
 * FLOATING WHATSAPP SUPPORT BUTTON
 * ============================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 28px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: floatIn 0.6s ease 1.5s both;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background-color: rgba(30, 24, 14, 0.92);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes floatIn {
    from { opacity: 0; transform: scale(0.5) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* =============================================================
 * BACK TO TOP BUTTON
 * ============================================================= */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-gold);
    color: #FFFFFF;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(197, 168, 102, 0.55);
}

/* =============================================================
 * COOKIE CONSENT BANNER (LGPD)
 * ============================================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: rgba(30, 24, 14, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(197, 168, 102, 0.25);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.dismissed {
    transform: translateY(110%);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-icon {
    font-size: 1.6rem;
    color: var(--color-gold-main);
    flex-shrink: 0;
}

.cookie-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.cookie-text strong {
    color: #FFFFFF;
}

.cookie-link {
    color: var(--color-gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    color: var(--color-gold-main);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Outline-gold button variant */
.btn-outline-gold {
    background: transparent;
    border: 1.5px solid var(--color-gold-dark);
    color: var(--color-gold-dark); /* Darker gold for readability on cream background */
}

.btn-outline-gold:hover {
    background: rgba(197, 168, 102, 0.08);
    color: var(--color-gold-dark);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------
 * HEADER SESSION STATES (GUEST & USER ACTIONS)
 * ------------------------------------------------------------- */
.header-guest-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.header-user-actions {
    display: none;
    align-items: center;
    gap: 16px;
}

.header-guest-actions.active {
    display: flex !important;
}

.header-user-actions.active {
    display: flex !important;
}

/* User profile badge container for dropdown menu */
.user-profile-badge-container {
    position: relative;
}

.profile-arrow {
    font-size: 0.7rem;
    color: rgba(197, 168, 102, 0.6);
    transition: transform var(--transition-fast);
    margin-left: 6px;
}

.user-profile-badge:hover .profile-arrow {
    color: var(--color-gold-main);
    transform: translateY(1px);
}

.user-profile-badge-container.open .profile-arrow {
    transform: rotate(180deg);
    color: var(--color-gold-main);
}

/* Profile Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 200px;
    background: rgba(20, 18, 14, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 168, 102, 0.25);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 168, 102, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
}

.dropdown-item:hover {
    background: rgba(197, 168, 102, 0.12);
    color: var(--color-gold-light);
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(197, 168, 102, 0.12);
    margin: 6px 0;
}

.dropdown-item.text-danger {
    color: #E74C3C;
}

.dropdown-item.text-danger:hover {
    background: rgba(231, 76, 60, 0.08);
    color: #FF6B6B;
}

/* -------------------------------------------------------------
 * PREMIUM AUTH SPLIT-SCREEN MODAL
 * ------------------------------------------------------------- */
.auth-modal-card {
    max-width: 900px;
    width: 92%;
    background: #14120E;
    border: 1px solid rgba(197, 168, 102, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 168, 102, 0.15);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.auth-close-btn:hover {
    background: rgba(197, 168, 102, 0.2);
    color: var(--color-gold-light);
}

.auth-modal-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 520px;
}

/* Left Panel (Benefits list & gold background) */
.auth-left-panel {
    background: radial-gradient(circle at 30% 20%, #221B0F 0%, #0F0D09 100%);
    border-right: 1px solid rgba(197, 168, 102, 0.15);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-left-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(197, 168, 102, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.auth-welcome-text {
    margin-top: 24px;
    margin-bottom: 24px;
    z-index: 2;
}

.auth-welcome-text h3 {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.auth-welcome-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    margin: 0;
}

.gold-line-separator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.gold-line-separator::before,
.gold-line-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 102, 0.4), transparent);
}

.gold-text-sm {
    font-size: 0.65rem;
    color: var(--color-gold-main);
}

.auth-welcome-text p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

.auth-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.benefit-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(197, 168, 102, 0.08);
    border: 1px solid rgba(197, 168, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-main);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.benefit-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FDFBF7;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
}

.benefit-info p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    margin: 0;
}

/* Decorative backdrop illustrations */
.auth-decorations {
    position: absolute;
    bottom: -30px;
    right: -30px;
    opacity: 0.04;
    font-size: 8rem;
    color: var(--color-gold-main);
    pointer-events: none;
    z-index: 1;
    display: flex;
    gap: 16px;
}

.roulette-decor {
    transform: rotate(15deg);
}

/* Right Panel (Forms) */
.auth-right-panel {
    background: #14120E;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-view {
    display: none;
}

.auth-form-view.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.auth-form-header {
    margin-bottom: 24px;
}

.auth-form-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #FDFBF7;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
}

.auth-form-header p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.auth-input-wrapper {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-input-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(243, 229, 171, 0.85);
    letter-spacing: 1px;
}

.auth-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field-icon {
    position: absolute;
    left: 14px;
    color: rgba(197, 168, 102, 0.55);
    font-size: 0.85rem;
    pointer-events: none;
}

.auth-input-field input {
    width: 100%;
    background: rgba(30, 24, 14, 0.4);
    border: 1px solid rgba(197, 168, 102, 0.25);
    border-radius: var(--radius-sm);
    padding: 12px 14px 12px 38px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #FFFFFF;
    transition: var(--transition-fast);
}

.auth-input-field input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.auth-input-field input:focus {
    border-color: var(--color-gold-main);
    background: rgba(30, 24, 14, 0.8);
    box-shadow: 0 0 10px rgba(197, 168, 102, 0.25);
    outline: none;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: rgba(197, 168, 102, 0.6);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.password-toggle-btn:hover {
    color: #FFFFFF;
}

.auth-forgot-row {
    text-align: right;
    margin-bottom: 20px;
    margin-top: -6px;
}

.auth-forgot-link {
    font-size: 0.72rem;
    color: var(--color-gold-light);
    text-decoration: none;
    font-weight: 500;
}

.auth-forgot-link:hover {
    color: var(--color-gold-main);
    text-decoration: underline;
}

.auth-submit-btn {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.88rem;
    box-shadow: 0 4px 15px rgba(170, 124, 17, 0.2);
    border: none;
    cursor: pointer;
}

.auth-submit-btn:hover {
    box-shadow: 0 4px 20px rgba(197, 168, 102, 0.4);
}

/* Social Buttons */
.auth-social-separator {
    text-align: center;
    position: relative;
    margin: 20px 0 16px;
}

.auth-social-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(197, 168, 102, 0.15);
    z-index: 1;
}

.auth-social-separator span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: #14120E;
    padding: 0 12px;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.auth-social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.social-auth-btn {
    background: rgba(30, 24, 14, 0.5);
    border: 1px solid rgba(197, 168, 102, 0.15);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.75);
    padding: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.social-auth-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.facebook-blue {
    color: #1877F2;
    font-size: 0.9rem;
}

.social-auth-btn:hover {
    border-color: rgba(197, 168, 102, 0.4);
    background: rgba(30, 24, 14, 0.8);
    color: #FFFFFF;
}

.auth-switch-prompt {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.switch-auth-view-btn {
    background: none;
    border: none;
    color: var(--color-gold-main);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    margin-left: 2px;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.switch-auth-view-btn:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

/* Checkbox Style */
.auth-checkbox-wrapper {
    margin-bottom: 20px;
    margin-top: 12px;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(197, 168, 102, 0.35);
    border-radius: var(--radius-xs);
    background: rgba(30, 24, 14, 0.5);
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
    margin-top: 2px;
}

.auth-checkbox-label input:checked + .checkbox-custom {
    background: var(--gradient-gold);
    border-color: transparent;
}

.auth-checkbox-label input:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FFFFFF;
    font-size: 0.6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.auth-link {
    color: var(--color-gold-light);
    text-decoration: underline;
}

.auth-link:hover {
    color: var(--color-gold-main);
}

/* Modal Footer */
.auth-modal-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(20, 18, 14, 0.5);
    border-top: 1px solid rgba(197, 168, 102, 0.15);
    padding: 16px 24px;
}

.footer-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.footer-badge-item:not(:last-child) {
    border-right: 1px solid rgba(197, 168, 102, 0.12);
}

.footer-badge-item i {
    font-size: 1rem;
    color: var(--color-gold-main);
}

.footer-badge-item div {
    display: flex;
    flex-direction: column;
}

.footer-badge-item strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
}

.footer-badge-item span {
    font-size: 0.58rem;
    color: var(--color-text-muted);
}

/* -------------------------------------------------------------
 * RESPONSIVENESS FOR AUTH MODAL
 * ------------------------------------------------------------- */
@media (max-width: 768px) {
    .auth-modal-content {
        grid-template-columns: 1fr;
    }
    .auth-left-panel {
        display: none;
    }
    .auth-right-panel {
        padding: 30px 20px;
    }
    .auth-modal-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 20px;
    }
    .footer-badge-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(197, 168, 102, 0.1);
        padding-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .header-guest-actions {
        gap: 8px;
    }
    .btn-login, .btn-register {
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
    }
    .header-guest-actions.active {
        display: flex !important;
    }
}

/* =============================================================
 * GAME LAUNCHER OVERLAY & FULLSCREEN CARD
 * ============================================================= */
.game-launcher-overlay {
    z-index: 2000; /* Overlays header & navigation */
    background: rgba(10, 8, 6, 0.95);
    backdrop-filter: blur(8px);
}

.game-launcher-card {
    width: 95vw;
    height: 90vh;
    max-width: 1400px;
    background: #0f0d0a;
    border: 1.5px solid rgba(197, 168, 102, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 40px rgba(197, 168, 102, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.launcher-header {
    background: linear-gradient(180deg, #1d1913 0%, #12100c 100%);
    border-bottom: 1.5px solid rgba(197, 168, 102, 0.15);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.launcher-game-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.launcher-game-badge {
    align-self: flex-start;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--color-gold-main);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.launcher-game-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.launcher-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.launcher-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 168, 102, 0.25);
    color: var(--color-text-light);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.launcher-btn:hover {
    background: rgba(197, 168, 102, 0.15);
    color: var(--color-gold-light);
    border-color: var(--color-gold-main);
}

.launcher-body {
    flex: 1;
    position: relative;
    background: #000000;
}

.launcher-loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0d0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.4s ease;
}

.launcher-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--color-text-light);
}

.launcher-loader-content i {
    font-size: 2.2rem;
    color: var(--color-gold-main);
    text-shadow: 0 0 10px rgba(197, 168, 102, 0.3);
}

.launcher-loader-content span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#launcherIframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000000;
}

.game-launcher-card.fullscreen-mode {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
    border: none;
}

@media (max-width: 768px) {
    .game-launcher-card {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        border: none;
    }
}

/* =============================================================
 * BONUS SYSTEM STYLES
 * ============================================================= */

/* ── Bonus Trigger Button ─────────────────────────────────── */
.btn-bonus-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--color-gold-main);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-gold-dark);
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
    letter-spacing: 0.3px;
}
.btn-bonus-trigger:hover {
    background: var(--gradient-gold);
    color: #1E1B15;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.btn-bonus-trigger i { font-size: 0.9rem; }

.bonus-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #E74C3C;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-base);
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

/* ── Bonus Modal Overlay ─────────────────────────────────── */
.bonus-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 21, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bonus-modal.active { display: flex; }

/* ── Bonus Modal Card ─────────────────────────────────────── */
.bonus-modal-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 168, 102, 0.2);
    box-shadow: 0 24px 64px rgba(30, 27, 21, 0.25);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Bonus Modal Header ──────────────────────────────────── */
.bonus-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px 18px;
    border-bottom: 1px solid rgba(197, 168, 102, 0.1);
}
.bonus-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bonus-modal-title i { font-size: 1.3rem; }
.bonus-modal-title h2 {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    color: var(--color-text-main);
}

/* ── Tabs ────────────────────────────────────────────────── */
.bonus-tabs {
    display: flex;
    border-bottom: 1px solid rgba(197, 168, 102, 0.12);
    background: var(--color-bg-alt);
}
.bonus-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-light);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
}
.bonus-tab-btn:hover { color: var(--color-text-main); }
.bonus-tab-btn.active {
    color: var(--color-gold-dark);
    border-bottom-color: var(--color-gold-dark);
    background: var(--color-bg-card);
}
.bonus-tab-btn i { font-size: 0.85rem; }

/* ── Panels ──────────────────────────────────────────────── */
.bonus-tab-panel { display: none; overflow-y: auto; flex: 1; }
.bonus-tab-panel.active { display: block; }
.bonus-panel-inner {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Hero Banner ─────────────────────────────────────────── */
.bonus-hero-banner {
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.welcome-banner {
    background: linear-gradient(135deg, #2A2415 0%, #1E1B15 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.cashback-banner {
    background: linear-gradient(135deg, #1a1240 0%, #0e0b28 100%);
    border: 1px solid rgba(138, 43, 226, 0.4);
}
.bonus-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.welcome-banner .bonus-hero-icon {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}
.cashback-banner .bonus-hero-icon {
    background: rgba(138, 43, 226, 0.2);
    color: #a855f7;
}
.bonus-hero-text { flex: 1; }
.bonus-hero-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: 4px;
}
.bonus-hero-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 4px;
}
.cashback-banner .bonus-hero-value { color: #c084fc; }
.bonus-hero-text p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

/* ── Perks List ──────────────────────────────────────────── */
.bonus-perks-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.bonus-perks-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.bonus-perks-list li i {
    color: #27AE60;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ── Status Text ─────────────────────────────────────────── */
.bonus-status-text {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
}
.bonus-status-text.available {
    background: rgba(39, 174, 96, 0.08);
    color: #27AE60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}
.bonus-status-text.claimed {
    background: rgba(92, 85, 73, 0.06);
    color: var(--color-text-light);
    border: 1px solid rgba(197, 168, 102, 0.1);
}
.bonus-status-text.warning {
    background: rgba(243, 156, 18, 0.08);
    color: #E67E22;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

/* Claimed button state */
.btn-claimed {
    background: var(--color-bg-alt) !important;
    color: var(--color-text-light) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* ── Daily Panel ─────────────────────────────────────────── */
.daily-header {
    display: flex;
    gap: 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border: 1px solid rgba(197, 168, 102, 0.12);
}
.daily-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.daily-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}
.daily-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-main);
}

/* ── Streak Calendar ─────────────────────────────────────── */
.streak-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.streak-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    border: 1px solid rgba(197, 168, 102, 0.1);
    cursor: default;
    transition: var(--transition-fast);
}
.streak-day.done {
    background: rgba(39, 174, 96, 0.08);
    border-color: rgba(39, 174, 96, 0.25);
}
.streak-day.today {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold-main);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
    animation: streakPulse 2s infinite;
}
@keyframes streakPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.2); }
    50%       { box-shadow: 0 0 18px rgba(212, 175, 55, 0.4); }
}
.streak-day-icon {
    font-size: 1rem;
    line-height: 1;
}
.streak-day.done .streak-day-icon { color: #27AE60; font-weight: 800; }
.streak-day.today .streak-day-icon { font-size: 1.1rem; }
.streak-day-reward {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--color-text-light);
    white-space: nowrap;
}
.streak-day.done .streak-day-reward { color: #27AE60; }
.streak-day.today .streak-day-reward { color: var(--color-gold-dark); }

/* ── Promo Code Panel ─────────────────────────────────────── */
.promo-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.promo-input-row {
    display: flex;
    gap: 10px;
}
.promo-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid rgba(197, 168, 102, 0.25);
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}
.promo-input:focus {
    border-color: var(--color-gold-main);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197, 168, 102, 0.12);
}
.promo-input::placeholder {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-text-light);
}

.used-codes-section { border-top: 1px solid rgba(197,168,102,0.1); padding-top: 14px; }
.used-codes-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.used-code-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    padding: 5px 0;
    letter-spacing: 0.5px;
}
.no-codes-text {
    font-size: 0.82rem;
    color: var(--color-text-light);
    font-style: italic;
}
.promo-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px dashed rgba(197, 168, 102, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.promo-hint i { color: var(--color-gold-dark); flex-shrink: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .bonus-modal-card { max-height: 95vh; border-radius: var(--radius-md); }
    .bonus-panel-inner { padding: 18px; }
    .streak-calendar { grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .streak-day { padding: 6px 2px; }
    .streak-day-icon { font-size: 0.85rem; }
    .btn-bonus-trigger span:not(.bonus-badge) { display: none; }
}

/* =============================================================
 * MISSING KEYFRAMES
 * ============================================================= */
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes whatsappPulse {
    0%   { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); transform: scale(1); }
    50%  { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.75); transform: scale(1.07); }
    100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); transform: scale(1); }
}

/* =============================================================
 * UTILITIES
 * ============================================================= */
.live-and-options-row.hidden { display: none !important; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 1rem; }

/* =============================================================
 * SEARCH OVERLAY MODAL
 * ============================================================= */
.search-overlay {
    align-items: flex-start;
    padding-top: 80px;
    background-color: rgba(10, 8, 6, 0.85);
    backdrop-filter: blur(16px);
}

.search-modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 640px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .search-modal-card {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(197, 168, 102, 0.12);
}

.search-icon-big {
    font-size: 1.15rem;
    color: var(--color-gold-dark);
    flex-shrink: 0;
}

.search-big-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-main);
    background: transparent;
}

.search-big-input::placeholder {
    color: var(--color-text-light);
}

.search-results {
    padding: 20px 24px;
    max-height: 460px;
    overflow-y: auto;
}

.search-hint {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: var(--color-bg-alt);
    border-color: rgba(197, 168, 102, 0.12);
}

.search-result-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(197, 168, 102, 0.1);
}

.search-result-info { flex: 1; }
.search-result-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-main);
}
.search-result-provider {
    font-size: 0.72rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

.search-result-play {
    background: var(--gradient-gold);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.search-result-play:hover {
    box-shadow: var(--shadow-gold);
    transform: scale(1.08);
}

.search-empty {
    text-align: center;
    padding: 30px 0;
    color: var(--color-text-light);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.search-empty i { font-size: 2rem; color: var(--color-gold-light); }

/* =============================================================
 * WITHDRAWAL MODAL EXTRAS
 * ============================================================= */
.withdraw-balance-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg-alt);
    border: 1px solid rgba(197, 168, 102, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 18px;
}

.withdraw-balance-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.withdraw-balance-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-main);
}


