/* ============================================================
   AKUGAME - Global Stylesheet
   ============================================================ */

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

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(180,74,255,0.3);
    --text-primary: #ffffff;
    --text-secondary: #8a8aa0;
    --text-muted: #5a5a7a;
    --accent-cyan: #00f0ff;
    --accent-purple: #b44aff;
    --accent-orange: #ff6a00;
    --accent-gold: #ffca28;
    --accent-green: #00ff88;
    --accent-red: #ff4444;
    --accent-pink: #ff44aa;
    --gradient-main: linear-gradient(135deg, #00f0ff, #b44aff);
    --gradient-warm: linear-gradient(135deg, #ff6a00, #ffca28);
    --gradient-fire: linear-gradient(135deg, #ff4444, #ff6a00);
    --gradient-cool: linear-gradient(135deg, #00f0ff, #00ff88);
    --gradient-royal: linear-gradient(135deg, #b44aff, #ff44aa);
    --shadow-glow-cyan: 0 0 30px rgba(0,240,255,0.15);
    --shadow-glow-purple: 0 0 30px rgba(180,74,255,0.15);
    --shadow-glow-orange: 0 0 30px rgba(255,106,0,0.15);
    --card-bg: rgba(255,255,255,0.03);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --transition: all 0.3s ease;
    --font: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

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

ul, ol {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: var(--font);
    outline: none;
    border: none;
}

select {
    background-color: var(--bg-secondary, #0f0f23) !important;
    color: var(--text-primary) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2399a' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px !important;
}

select option {
    background-color: #0f0f23;
    color: #e0e0e0;
    padding: 10px 12px;
}

select option:checked {
    background: linear-gradient(135deg, rgba(0,240,255,0.25), rgba(180,74,255,0.15));
    color: #fff;
}

select option:hover {
    background-color: rgba(0,240,255,0.1);
}

button {
    cursor: pointer;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(180,74,255,0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(180,74,255,0.5);
}

/* ============ UTILITY CLASSES ============ */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warm {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-spacing {
    padding: 60px 0;
}

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

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-warm);
    color: #0a0a1a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,106,0,0.4);
}

.btn-secondary {
    background: var(--gradient-main);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,240,255,0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0,240,255,0.4);
    color: var(--accent-cyan);
}

.btn-outline:hover {
    background: rgba(0,240,255,0.1);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-play-main {
    background: var(--gradient-warm);
    color: #0a0a1a;
    font-weight: 700;
}

.btn-play-demo {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ============ TOP BAR ============ */
.top-bar {
    background: rgba(0,0,0,0.3);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.78rem;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-left .marquee-wrap {
    flex: 1;
    overflow: hidden;
    max-width: 600px;
}

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

.top-bar-right a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
}

.top-bar-right a:hover {
    color: var(--accent-cyan);
}

.top-bar-right a i {
    font-size: 0.9rem;
}

/* ============ NAVBAR ============ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10,10,26,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    max-height: 50px;
    overflow: hidden;
}

.navbar .logo .logo-img {
    height: 40px;
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo .aku {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .game {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-overlay,
.nav-sidebar-header,
.nav-sidebar-auth,
.nav-close {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.nav-sidebar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a,
.nav-sidebar-links a {
    padding: 8px 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-sidebar-links a:hover,
.nav-sidebar-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-menu a.active,
.nav-sidebar-links a.active {
    color: var(--accent-cyan);
    background: rgba(0,240,255,0.08);
}

.nav-menu a i,
.nav-sidebar-links a i {
    font-size: 0.9rem;
}

.nav-hide-desktop {
    display: none !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-login {
    padding: 9px 22px;
    border: 1px solid rgba(0,240,255,0.4);
    background: transparent;
    color: var(--accent-cyan);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.82rem;
    transition: var(--transition);
}

.btn-login:hover {
    background: rgba(0,240,255,0.1);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-register {
    padding: 9px 22px;
    border: none;
    background: var(--gradient-warm);
    color: #0a0a1a;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.82rem;
    transition: var(--transition);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ============ MARQUEE ============ */
.marquee-bar {
    background: rgba(0,0,0,0.2);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    color: var(--text-secondary);
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.marquee-content .winner-name {
    color: var(--accent-gold);
    font-weight: 600;
}

.marquee-content .winner-amount {
    color: var(--accent-green);
    font-weight: 700;
}

.marquee-content .separator {
    color: var(--text-muted);
    margin: 0 15px;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ BANNER SLIDER ============ */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg-primary);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

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

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0,240,255,0.5);
    width: 30px;
    border-radius: 5px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 60px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.slider-arrow:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(0,240,255,0.5);
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

/* ============ PROGRESSIVE JACKPOT ============ */
.jp-section {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.jp-outer {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 3px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffca28, #ff6a00, #ffca28, #ff6a00);
    background-size: 300% 300%;
    animation: jpBorderShift 4s ease infinite;
    box-shadow:
        0 0 20px rgba(255,202,40,0.15),
        0 0 60px rgba(255,106,0,0.08);
}

@keyframes jpBorderShift {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.jp-shimmer {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    pointer-events: none;
}

.jp-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 30%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: rotate(25deg);
    animation: jpShimmer 3s ease-in-out infinite;
}

@keyframes jpShimmer {
    0% { left: -50%; }
    100% { left: 150%; }
}

.jp-inner {
    background: linear-gradient(135deg, #1a0a0a, #2a0a0a, #1a0a14);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 4px;
}

.jp-border {
    border: 1px solid rgba(255,202,40,0.12);
    border-radius: calc(var(--radius-lg) - 4px);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,106,0,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,202,40,0.05) 0%, transparent 60%);
}

.jp-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    min-width: 100px;
}

.jp-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffca28, #ff6a00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a0a0a;
    box-shadow: 0 4px 20px rgba(255,202,40,0.3);
    animation: float 3s ease-in-out infinite;
}

.jp-logo-text {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.jp-logo-text span {
    background: linear-gradient(135deg, #ffca28, #ff6a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jp-amount-area {
    flex: 1;
    display: flex;
    justify-content: center;
}

.jp-amount-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 28px;
    background: linear-gradient(180deg, rgba(255,202,40,0.06) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid rgba(255,202,40,0.1);
    border-radius: var(--radius-md);
    position: relative;
}

.jp-amount-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,202,40,0.3), transparent);
}

.jp-cur {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,202,40,0.6);
    letter-spacing: 1px;
}

.jp-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffca28;
    letter-spacing: 2px;
    text-shadow:
        0 0 10px rgba(255,202,40,0.4),
        0 0 30px rgba(255,202,40,0.15);
    font-variant-numeric: tabular-nums;
}

/* ============ SECTION HEADERS ============ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 1.2rem;
}

.section-title .accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.see-all {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.see-all:hover {
    gap: 12px;
    color: #fff;
}

/* ============ CATEGORY TABS / FILTERS ============ */
.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    margin-bottom: 24px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex-shrink: 0;
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.tab-item:hover,
.tab-item.active {
    background: rgba(180,74,255,0.12);
    border-color: rgba(180,74,255,0.3);
    color: var(--text-primary);
}

.tab-item.active {
    box-shadow: 0 0 20px rgba(180,74,255,0.15);
}

.tab-item i {
    font-size: 0.9rem;
}

/* ============ PROVIDER TABS ============ */
.provider-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    margin-bottom: 24px;
}

.provider-tabs::-webkit-scrollbar {
    display: none;
}

.provider-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-tab:hover,
.provider-tab.active {
    background: rgba(0,240,255,0.08);
    border-color: rgba(0,240,255,0.3);
    color: var(--accent-cyan);
}

.provider-tab.active {
    box-shadow: 0 0 15px rgba(0,240,255,0.1);
}

/* ============ GAME CARDS ============ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

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

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}
a.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(180,74,255,0.12), 0 0 30px rgba(0,240,255,0.05);
}

.game-thumb {
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.game-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.game-card:hover .game-thumb-img {
    transform: none;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

.badge-hot {
    background: var(--gradient-fire);
    color: #fff;
}

.badge-new {
    background: var(--gradient-cool);
    color: #0a0a1a;
}

.badge-top {
    background: var(--gradient-warm);
    color: #0a0a1a;
}

.badge-live {
    background: var(--accent-red);
    color: #fff;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.badge-maintenance {
    background: linear-gradient(135deg, #ff6a00, #ff4444);
    color: #fff;
}

.game-maintenance {
    cursor: not-allowed;
}

.game-maintenance .game-thumb-img {
    filter: grayscale(0.7) brightness(0.5);
}

.game-maintenance:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.game-maintenance:hover .game-thumb-img {
    transform: none;
}

.game-maintenance .maintenance-overlay {
    opacity: 1;
    background: rgba(10,10,26,0.75);
}

.btn-maintenance {
    background: linear-gradient(135deg, #ff6a00, #ff4444) !important;
    color: #fff !important;
    cursor: not-allowed;
    pointer-events: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.game-maintenance .overlay-btns {
    transform: translateY(0);
    opacity: 1;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,26,0.95) 0%, rgba(10,10,26,0.5) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

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

.overlay-btns {
    display: flex;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.game-card:hover .overlay-btns {
    transform: translateY(0);
    opacity: 1;
}

.overlay-btns .btn {
    padding: 10px 20px;
    font-size: 0.75rem;
}

.play-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a1a;
    font-size: 1.1rem;
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.game-info {
    padding: 14px;
}

.game-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.game-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
}

.game-rating i {
    font-size: 0.65rem;
}

/* ============ RTP BAR ============ */
.rtp-bar {
    margin: 6px 14px 10px;
}

.rtp-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-bottom: 4px;
}

.rtp-label span:first-child {
    color: var(--text-muted);
}

.rtp-label span:last-child {
    color: var(--accent-green);
    font-weight: 700;
}

.rtp-track {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.rtp-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--gradient-cool);
    transition: width 1s ease;
}

/* ============ SKELETON & LAZY LOADING ============ */
@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

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

.skeleton-card {
    pointer-events: none;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.06) 50%, var(--bg-card) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-md);
}

.skeleton-text {
    border-radius: 4px;
    display: block;
}

.game-fade {
    animation: gameFadeIn 0.4s ease both;
}

.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: var(--bg-card);
}

.lazy-img.loaded {
    opacity: 1;
}

/* ============ GAME LAUNCH OVERLAY ============ */
#gameLaunchOverlay{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;opacity:0;transition:opacity 0.3s ease}
#gameLaunchOverlay.glo-show{opacity:1}
.glo-bg{position:absolute;inset:0;background:rgba(6,6,15,0.95);backdrop-filter:blur(12px)}
.glo-content{position:relative;z-index:1;text-align:center;padding:20px;width:100%;max-width:340px}
.glo-orbits{width:90px;height:90px;margin:0 auto 24px;position:relative}
.glo-ring{position:absolute;inset:0;border:2px solid transparent;border-radius:50%}
.glo-r1{border-top-color:#00f0ff;animation:gloSpin 1.2s linear infinite}
.glo-r2{inset:7px;border-right-color:#8b5cf6;animation:gloSpin 1.8s linear infinite reverse}
.glo-r3{inset:14px;border-bottom-color:#ff6a00;animation:gloSpin 2.4s linear infinite}
@keyframes gloSpin{to{transform:rotate(360deg)}}
.glo-center{position:absolute;inset:20px;border-radius:50%;background:radial-gradient(circle,rgba(0,240,255,0.15),transparent);display:flex;align-items:center;justify-content:center}
.glo-center i{font-size:1.3rem;color:#00f0ff;animation:gloPulse 2s ease-in-out infinite}
@keyframes gloPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(0.85)}}
.glo-title{font-size:1.2rem;font-weight:800;margin-bottom:3px;background:linear-gradient(135deg,#fff,#00f0ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.glo-provider{color:rgba(255,255,255,0.35);font-size:0.75rem;font-weight:600;letter-spacing:1px;text-transform:uppercase;margin-bottom:24px}
.glo-progress{width:220px;margin:0 auto 12px}
.glo-track{height:3px;background:rgba(255,255,255,0.06);border-radius:3px;overflow:hidden}
.glo-fill{height:100%;width:0;background:linear-gradient(90deg,#8b5cf6,#00f0ff);border-radius:3px;transition:width 0.3s ease}
.glo-status{color:rgba(255,255,255,0.3);font-size:0.75rem}
.glo-error{margin-top:16px}
.glo-error-msg{color:#ef4444;font-size:0.82rem;margin-bottom:14px;padding:12px 16px;background:rgba(239,68,68,0.08);border:1px solid rgba(239,68,68,0.2);border-radius:10px}
.glo-btns{display:flex;gap:8px;justify-content:center}
.glo-retry{padding:9px 20px;border-radius:8px;background:linear-gradient(135deg,#8b5cf6,#00f0ff);color:#fff;border:none;font-weight:700;font-size:0.8rem;cursor:pointer}
.glo-back{padding:9px 20px;border-radius:8px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);color:rgba(255,255,255,0.5);font-size:0.8rem;font-weight:600;cursor:pointer}

/* ============ WINNERS SECTION ============ */
.winners-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.winner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.winner-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--border-hover);
}

.winner-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.winner-info {
    flex: 1;
    min-width: 0;
}

.winner-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.winner-game {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.winner-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-green);
    white-space: nowrap;
}

/* ============ PROMO BANNER ============ */
.promo-banner {
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    background: linear-gradient(135deg, #1a0a3e, #0a2a4a);
    border: 1px solid rgba(180,74,255,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0,240,255,0.12), transparent 70%);
    right: -80px;
    top: -80px;
    border-radius: 50%;
}

.promo-banner::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(180,74,255,0.1), transparent 70%);
    left: -50px;
    bottom: -50px;
    border-radius: 50%;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,106,0,0.2);
    border: 1px solid rgba(255,106,0,0.3);
    border-radius: 20px;
    color: var(--accent-gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.promo-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.promo-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 22px;
    max-width: 500px;
}

.promo-emoji {
    font-size: 5rem;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============ PROMO CARDS (Promosi Page) ============ */
.promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 24px;
}

.promo-cards-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promo-status {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0,255,136,0.12);
    color: var(--accent-green);
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 8px;
}

.promo-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px rgba(180,74,255,0.1);
}

.promo-card-img {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.promo-card-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-card-img img {
    transform: scale(1.05);
}

.promo-card-body {
    padding: 24px;
}

.promo-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-card-body p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.promo-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.promo-card-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============ SPORTS SECTION ============ */
.match-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 20px;
}

.match-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.match-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.match-league {
    font-size: 0.72rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.team {
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
}

.team-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.match-vs {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.match-time {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.match-time .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-red);
    animation: pulseBadge 1.5s infinite;
}

/* ============ FEATURES GRID ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.fi-cyan {
    background: rgba(0,240,255,0.1);
    color: var(--accent-cyan);
}

.fi-purple {
    background: rgba(180,74,255,0.1);
    color: var(--accent-purple);
}

.fi-orange {
    background: rgba(255,106,0,0.1);
    color: var(--accent-orange);
}

.fi-green {
    background: rgba(0,255,136,0.1);
    color: var(--accent-green);
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.6;
}

/* ============ PAYMENT METHODS ============ */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-item {
    padding: 6px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-item img {
    height: 28px;
    width: auto;
    display: block;
}

.payment-item:hover {
    border-color: rgba(0,240,255,0.2);
    background: rgba(255,255,255,0.06);
}

/* ============ STATS BAR ============ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 30px 0;
}

.stat-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ APP DOWNLOAD SECTION ============ */
.app-section {
    border-radius: var(--radius-xl);
    padding: 50px;
    background: linear-gradient(135deg, #0a1a3e, #1a0a2e);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180,74,255,0.08), transparent 70%);
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
}

.app-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.app-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.app-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 450px;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-preview {
    position: relative;
    z-index: 2;
    font-size: 5rem;
}

/* ============ SEARCH BAR ============ */
.search-bar {
    position: relative;
    max-width: 400px;
    margin-bottom: 24px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: rgba(0,240,255,0.4);
    background: rgba(255,255,255,0.06);
    box-shadow: var(--shadow-glow-cyan);
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============ SLOT PAGE ============ */
.slot-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.slot-page-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slot-page-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.slot-page-header .search-bar {
    max-width: 300px;
    margin-bottom: 0;
}

.provider-filter { --provider-height: 112px; display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; align-items: center; gap: 10px; margin-bottom: 24px; min-width: 0; }
.provider-filter > button { width: 28px; height: 36px; display: grid; place-items: center; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-secondary); border-radius: 8px; cursor: pointer; transition: border-color .15s, color .15s; }
.provider-filter > button:hover:not(:disabled) { color: var(--text-primary); border-color: var(--accent-purple); }
.provider-filter > button:disabled { opacity: .3; cursor: default; }
.provider-filter[data-scrollable="false"] { grid-template-columns: minmax(0,1fr); }
.provider-filter[data-scrollable="false"] > button { display: none; }
.slot-provider-filter { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 1px 10px; margin: 0; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(180,74,255,.28) transparent; }
.slot-provider-filter::-webkit-scrollbar { height: 4px; }
.slot-provider-filter::-webkit-scrollbar-track { background: transparent; }
.slot-provider-filter::-webkit-scrollbar-thumb { background: rgba(180,74,255,.28); border-radius: 4px; }
.slot-provider-filter .provider-icon-tab { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: calc((var(--provider-height) - 2px) * var(--provider-ratio, 0.920904) + 2px); height: var(--provider-height); margin: 0; padding: 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; cursor: pointer; font: inherit; color: var(--text-secondary); scroll-snap-align: start; overflow: hidden; transition: background .15s, border-color .15s; }
.slot-provider-filter .provider-icon-tab:hover { border-color: rgba(180,74,255,.55); transform: none; }
.slot-provider-filter .provider-icon-tab.active { border-color: var(--accent-purple); box-shadow: 0 0 0 1px rgba(180,74,255,.25); }
.slot-provider-filter .provider-icon-tab:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.slot-provider-filter .provider-icon-img { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; width: 100%; height: 100%; overflow: hidden; border-radius: 0; font-size: 1.5rem; color: var(--accent-purple); }
.slot-provider-filter .provider-icon-img img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; }
@media (max-width: 768px) {
 .provider-filter { --provider-height: 96px; grid-template-columns: 22px minmax(0,1fr) 22px; gap: 6px; margin-bottom: 18px; }
 .provider-filter > button { width: 22px; height: 32px; font-size: .65rem; }
 .slot-provider-filter { gap: 8px; padding-bottom: 8px; }
 .slot-provider-filter .provider-icon-tab { padding: 0; }
}


.slot-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.slot-toolbar .slot-sort-tabs {
    margin-bottom: 0;
}

.slot-toolbar .search-bar {
    max-width: 300px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .slot-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .slot-toolbar .search-bar {
        max-width: 100%;
    }

    .games-grid,
    .games-grid.grid-6,
    .grid-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-info {
        padding: 8px;
    }

    .game-title {
        font-size: 0.7rem;
    }

    .game-provider {
        font-size: 0.6rem;
    }

    .game-badge {
        padding: 2px 6px;
        font-size: 0.5rem;
        top: 6px;
        left: 6px;
    }

    .rtp-bar {
        margin: 3px 8px 6px;
    }

    .rtp-label {
        font-size: 0.58rem;
    }

    .rtp-track {
        height: 3px;
    }

    .provider-icon-tab {
        width: 90px;
        height: 60px;
    }

    .slot-provider-filter {
        gap: 8px;
    }

    .slot-page-header h1 {
        font-size: 1.3rem;
    }

    .slot-page-header p {
        font-size: 0.8rem;
    }

    .overlay-btns .btn {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .btn-maintenance {
        font-size: 0.6rem !important;
        padding: 6px 10px;
    }
}

.slot-sort-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sort-tab {
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort-tab:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.sort-tab.active {
    background: rgba(0,240,255,0.08);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.slot-count {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.grid-slots {
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
}

/* ============ LOGIN / REGISTER FORMS ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180,74,255,0.1), transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,240,255,0.08), transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

.auth-wrapper {
    display: flex;
    width: 100%;
    max-width: 900px;
    min-height: 560px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.auth-brand {
    flex: 1;
    background: linear-gradient(135deg, rgba(180,74,255,0.15), rgba(0,240,255,0.08));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180,74,255,0.2), transparent 70%);
    top: -60px;
    left: -60px;
    border-radius: 50%;
}

.auth-brand::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0,240,255,0.15), transparent 70%);
    bottom: -40px;
    right: -40px;
    border-radius: 50%;
}

.auth-brand-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(180,74,255,0.3);
    position: relative;
    z-index: 1;
}

.auth-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.auth-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.auth-brand-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.auth-brand-features .feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-brand-features .feat i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

.auth-card {
    flex: 1;
    max-width: 480px;
    padding: 40px;
    background: rgba(15,15,42,0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card .logo {
    text-align: center;
    margin-bottom: 8px;
    font-size: 2rem;
    display: none;
}

.auth-card h2 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(0,240,255,0.4);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.08);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-cyan);
}

.form-check label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.form-check a {
    color: var(--accent-cyan);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-bottom: 20px;
}

.auth-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 20px;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ============ FOOTER ============ */
.footer {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
    margin: 14px 0 20px;
    max-width: 300px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 5px 0;
}

.footer-col a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-payments {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer-payments h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-providers {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-providers h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 8px;
}
.footer-provider-name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
@media (max-width: 768px) {
    .footer-provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .footer-provider-name { height: 44px; min-height: 44px; padding: 6px; font-size: .64rem; }
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

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

.footer-badges span {
    padding: 5px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ============ PAGE HEADER (for sub-pages) ============ */
.page-header {
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--accent-cyan);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ============ LIVE CASINO CARDS ============ */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.casino-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.casino-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(180,74,255,0.12);
}

.casino-thumb {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.casino-live-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.casino-live-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulseBadge 1.5s infinite;
}

.casino-info {
    padding: 18px;
}

.casino-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.casino-info .casino-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.casino-players {
    font-size: 0.75rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 5px;
}

.casino-provider-name {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ CRASH GAME ============ */
.crash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.crash-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.crash-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(180,74,255,0.12);
}

.crash-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
}

.crash-multiplier {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 14px;
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-green);
}

.crash-info {
    padding: 18px;
}

.crash-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.crash-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============ POKER TABLES ============ */
.poker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.poker-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.poker-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

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

.poker-type {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
}

.poker-stakes {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.poker-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.poker-details {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.poker-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.poker-detail i {
    color: var(--accent-purple);
}

.poker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.poker-players-count {
    font-size: 0.8rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============ ESPORTS ============ */
.esports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 20px;
}

.esports-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.esports-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.esports-banner {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.esports-game-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
}

.esports-body {
    padding: 20px;
}

.esports-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.esports-matchup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

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

.esports-team-name {
    font-size: 0.82rem;
    font-weight: 600;
}

.esports-team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1.2rem;
}

.esports-vs {
    font-weight: 800;
    color: var(--accent-gold);
}

.esports-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}


/* ============ PROMO MODAL ============ */
.promo-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.promo-modal {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.promo-modal-overlay.active .promo-modal {
    transform: translateY(0) scale(1);
}

.promo-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.promo-modal-close:hover {
    background: rgba(255,68,68,0.6);
    border-color: rgba(255,68,68,0.4);
}

.promo-modal-img-wrap {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.promo-modal-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.promo-modal-body h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.promo-modal-body .pm-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.promo-modal-body .pm-terms-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.promo-modal-body .pm-terms {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.8;
    padding-left: 18px;
}

.promo-modal-body .pm-terms li {
    list-style: disc;
    margin-bottom: 4px;
}

.promo-modal-footer {
    padding: 0 28px 24px;
    display: flex;
    gap: 10px;
}

.promo-modal-footer .btn {
    flex: 1;
}

/* ============ REFERRAL PAGE - DESKTOP LAYOUT ============ */
.referral-desktop-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    align-items: start;
}

.referral-sidebar {
    position: sticky;
    top: 90px;
}

.referral-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.referral-main {
    min-width: 0;
}

