/* ========================================
   GTBet Casino — Main Stylesheet
   Theme: Dark purple / GTA Vice City style
   ======================================== */

/* CSS Variables */
:root {
    --bg-primary: #0f0b1e;
    --bg-secondary: #1a1333;
    --bg-sidebar: #150f2a;
    --bg-card: #1e1740;
    --bg-card-hover: #2a2050;
    --accent-pink: #ff2d78;
    --accent-pink-light: #ff5a9e;
    --accent-purple: #8b5cf6;
    --accent-gold: #ffd700;
    --accent-yellow: #ffe14d;
    --gradient-pink: linear-gradient(135deg, #ff2d78, #ff6bA0);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --gradient-category: linear-gradient(135deg, #ff2d78, #c44dff);
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #6b6b8d;
    --border-color: #2a2050;
    --sidebar-width: 240px;
    --topbar-height: 60px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 45, 120, 0.3);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 3px;
}

/* ========================================
   LOGO (CSS Text-based)
   ======================================== */
.logo-text {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.logo-gt {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #c0c0c8;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #e0e0e8, #9090a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-bet {
    font-family: 'Pacifico', cursive;
    font-size: 30px;
    color: var(--accent-pink);
    margin-left: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text-sm .logo-gt {
    font-size: 22px;
}

.logo-text-sm .logo-bet {
    font-size: 24px;
}

/* Hero Logo */
.hero-logo-big {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-gt-big {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 56px;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #e0e0e8, #9090a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-bet-big {
    font-family: 'Pacifico', cursive;
    font-size: 60px;
    color: var(--accent-pink);
    margin-left: -6px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-flag {
    font-size: 40px;
    margin-left: 4px;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

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

/* Sidebar Bonus Block */
.sidebar-bonus {
    margin: 10px 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(255, 45, 120, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
}

.bonus-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.bonus-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--accent-yellow);
    line-height: 1.2;
    margin-bottom: 10px;
}

.sidebar-bonus-btns {
    display: flex;
    gap: 6px;
}

.btn-connect {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
    background: transparent;
    transition: var(--transition);
}

.btn-connect:hover {
    background: rgba(255, 45, 120, 0.1);
}

.btn-register-sm {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--accent-pink);
    color: #fff;
    transition: var(--transition);
}

.btn-register-sm:hover {
    background: var(--accent-pink-light);
    box-shadow: var(--shadow-glow);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 10px 12px;
}

.nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.nav-row a {
    flex: 1;
    min-width: calc(50% - 3px);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-row a:hover {
    background: rgba(255, 45, 120, 0.1);
    color: var(--text-primary);
}

.nav-row a i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: var(--accent-pink);
}

.nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

.nav-link-full {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 2px;
}

.nav-link-full:hover {
    background: rgba(255, 45, 120, 0.1);
    color: var(--text-primary);
}

.nav-link-full i {
    font-size: 15px;
    width: 20px;
    text-align: center;
    color: var(--accent-pink);
}

.badge-hot {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    background: #ff4444;
    color: white;
    border-radius: 10px;
    margin-left: auto;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-footer a:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-footer a i {
    width: 16px;
    text-align: center;
}

/* ========================================
   MOBILE HEADER
   ======================================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: var(--bg-sidebar);
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 999;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

.header-btns {
    display: flex;
    gap: 8px;
}

.btn-header-connect {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
}

.btn-header-register {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--accent-pink);
    color: #fff;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Top Bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    color: var(--text-muted);
    font-size: 14px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    width: 100%;
    font-family: inherit;
}

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

.top-bar-right {
    display: flex;
    gap: 10px;
}

.btn-connect-top {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
    transition: var(--transition);
}

.btn-connect-top:hover {
    background: rgba(255, 45, 120, 0.1);
}

.btn-register-top {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--accent-pink);
    color: #fff;
    transition: var(--transition);
}

.btn-register-top:hover {
    background: var(--accent-pink-light);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   HERO SECTION (CSS-only banner)
   ======================================== */
.hero-section {
    padding: 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #1a0030;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

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

/* Palm tree silhouettes */
.palm {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 350px;
    opacity: 0.25;
}

.palm-left {
    left: 0;
    background: radial-gradient(ellipse at 50% 20%, transparent 40%, rgba(80, 0, 50, 0.8) 100%);
    clip-path: polygon(
        30% 100%, 35% 60%, 15% 40%, 0% 25%, 20% 35%, 35% 50%,
        25% 20%, 10% 5%, 30% 15%, 40% 40%,
        45% 10%, 50% 0%, 50% 15%, 45% 40%,
        60% 20%, 75% 5%, 60% 30%, 50% 50%,
        65% 40%, 85% 30%, 65% 50%, 50% 60%,
        50% 100%
    );
}

.palm-right {
    right: 0;
    background: radial-gradient(ellipse at 50% 20%, transparent 40%, rgba(80, 0, 50, 0.8) 100%);
    clip-path: polygon(
        70% 100%, 65% 60%, 85% 40%, 100% 25%, 80% 35%, 65% 50%,
        75% 20%, 90% 5%, 70% 15%, 60% 40%,
        55% 10%, 50% 0%, 50% 15%, 55% 40%,
        40% 20%, 25% 5%, 40% 30%, 50% 50%,
        35% 40%, 15% 30%, 35% 50%, 50% 60%,
        50% 100%
    );
}

/* Character silhouettes */
.hero-characters {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 60px 40px;
    pointer-events: none;
}

.character {
    font-size: 120px;
    opacity: 0.12;
    color: #1a0020;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 11, 30, 0.97) 0%, rgba(15, 11, 30, 0.7) 40%, rgba(15, 11, 30, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 40px;
}

.hero-overlay h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 700px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 12px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: var(--gradient-pink);
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 45, 120, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 45, 120, 0.5);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    border-color: var(--accent-pink);
    background: rgba(255, 45, 120, 0.1);
}

/* ========================================
   INTRO / SEO TEXT
   ======================================== */
.intro-section {
    padding: 30px 40px;
}

.intro-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
}

.intro-text strong {
    color: var(--text-primary);
}

/* ========================================
   CATEGORY CIRCLES
   ======================================== */
.categories-section {
    padding: 10px 40px 30px;
}

.categories-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-4px);
}

.category-circle {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--gradient-category);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent-pink);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.cat-canvas {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
}

.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
    display: block;
}

.category-item:hover .category-circle {
    box-shadow: 0 0 20px rgba(255, 45, 120, 0.4), 0 0 40px rgba(196, 77, 255, 0.15);
}

.category-item span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================
   PROMO CARDS
   ======================================== */
.promo-section {
    padding: 0 40px 30px;
}

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

.promo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.promo-card-bg {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 80px;
    opacity: 0.08;
    color: #fff;
}

.promo-cashback {
    background: linear-gradient(135deg, #1a0533, #4a1a6b, #ff2d78);
}

.promo-tours {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.promo-referral {
    background: linear-gradient(135deg, #2d1b4e, #562d7c, #ff6b35);
}

.promo-card-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.promo-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.promo-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 6px;
    line-height: 1.1;
}

.promo-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.btn-promo {
    display: inline-block;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: var(--transition);
}

.btn-promo:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

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

.btn-see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-pink);
    padding: 6px 16px;
    border: 1px solid var(--accent-pink);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-see-all:hover {
    background: rgba(255, 45, 120, 0.1);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 30px 40px 40px;
}

.stats-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

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

.stat-card:hover {
    border-color: var(--accent-pink);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 28px;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-number.special-text {
    font-size: 36px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   GAMES SECTION
   ======================================== */
.games-section {
    padding: 30px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 40px;
}

.game-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.game-thumb {
    height: 160px;
    overflow: hidden;
    position: relative;
    background: #1a1333;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumb img {
    transform: scale(1.06);
}

.game-name {
    padding: 10px 12px 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.game-provider {
    padding: 0 12px 10px;
    font-size: 11px;
    color: var(--text-muted);
}

/* ========================================
   LIVE CASINO
   ======================================== */
.live-section {
    padding: 30px 0;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 40px;
}

.live-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.live-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.live-thumb {
    height: 140px;
    overflow: hidden;
    position: relative;
    background: #1a1333;
}

.live-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.live-card:hover .live-thumb img {
    transform: scale(1.06);
}

.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    background: #ff0000;
    color: #fff;
    border-radius: 4px;
    animation: livePulse 1.5s ease-in-out infinite;
}

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

.live-dot {
    font-size: 10px;
    color: #ff0000;
    animation: livePulse 1.5s ease-in-out infinite;
}

/* ========================================
   SPORTS SECTION
   ======================================== */
.sports-betting-section {
    padding: 30px 0;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 0 40px;
}

.sport-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.sport-card:hover {
    border-color: var(--accent-pink);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.sport-icon {
    font-size: 32px;
    color: var(--accent-pink);
}

.sport-card span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   VIP SECTION
   ======================================== */
.vip-section {
    padding: 40px;
}

.vip-section .section-title {
    text-align: center;
    margin-bottom: 12px;
}

.vip-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto 30px;
}

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

.vip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.vip-card:hover {
    transform: translateY(-4px);
}

.vip-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.vip-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vip-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.vip-bronze { border-color: #cd7f32; }
.vip-bronze .vip-icon { color: #cd7f32; }
.vip-bronze h3 { color: #cd7f32; }

.vip-silver { border-color: #c0c0c0; }
.vip-silver .vip-icon { color: #c0c0c0; }
.vip-silver h3 { color: #c0c0c0; }

.vip-gold { border-color: #ffd700; }
.vip-gold .vip-icon { color: #ffd700; }
.vip-gold h3 { color: #ffd700; }

.vip-diamond { border-color: #b9f2ff; }
.vip-diamond .vip-icon { color: #b9f2ff; }
.vip-diamond h3 { color: #b9f2ff; }

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

/* ========================================
   PAYMENTS SECTION
   ======================================== */
.payments-section {
    padding: 30px 40px 40px;
}

.payments-section .section-title {
    text-align: center;
    margin-bottom: 24px;
}

.payments-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 100px;
    transition: var(--transition);
}

.payment-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.payment-item i {
    font-size: 30px;
    color: var(--accent-purple);
}

.payment-item span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 30px 40px 40px;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 24px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--accent-pink);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question i {
    color: var(--accent-pink);
    font-size: 13px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ========================================
   REFERRAL SECTION
   ======================================== */
.referral-section {
    padding: 0 40px 40px;
}

.referral-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(255, 45, 120, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.referral-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.referral-content p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px;
}

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

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

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-pink);
}

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

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

.footer-badges {
    display: flex;
    gap: 10px;
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #ff4444;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.badge-ssl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   PERFORMANCE HELPERS
   ======================================== */
/* Prevent CLS — aspect-ratio boxes */
.game-thumb,
.live-thumb {
    contain: layout style;
}

/* Reduce paint cost on hover — only activate GPU layer when needed */
.game-card:hover,
.live-card:hover,
.stat-card:hover,
.sport-card:hover,
.promo-card:hover,
.category-item:hover {
    will-change: transform;
}

/* Reduce repaints: no box-shadow animation on live badge */
@media (prefers-reduced-motion: reduce) {
    .live-badge,
    .live-dot { animation: none; opacity: 1; }
    .btn-cta-primary:hover,
    .btn-cta-secondary:hover,
    .game-card:hover,
    .live-card:hover,
    .stat-card:hover { transform: none; }
}

/* ========================================
   RESPONSIVE — TABLET (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .hero-overlay h1 {
        font-size: 22px;
    }

    .logo-gt-big { font-size: 44px; }
    .logo-bet-big { font-size: 48px; }
    .hero-flag { font-size: 32px; }
}

/* ========================================
   RESPONSIVE — MOBILE (≤768px)
   ======================================== */
@media (max-width: 768px) {
    /* Sidebar */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    .sidebar.open {
        transform: translateX(0);
    }

    /* Mobile header */
    .mobile-header {
        display: flex;
    }
    .main-content {
        margin-left: 0;
        padding-top: var(--topbar-height);
    }
    .top-bar {
        display: none;
    }

    /* Touch targets ≥ 44px */
    .btn-connect,
    .btn-register-sm {
        padding: 11px 0;
        min-height: 44px;
    }
    .btn-header-connect,
    .btn-header-register {
        padding: 10px 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nav-row a,
    .nav-link-full {
        min-height: 44px;
    }
    .faq-question {
        min-height: 52px;
    }
    .btn-cta-primary,
    .btn-cta-secondary {
        min-height: 48px;
        padding: 14px 24px;
        text-align: center;
        justify-content: center;
    }
    .btn-promo {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero */
    .hero-banner {
        min-height: 260px;
    }
    .hero-overlay {
        padding: 16px;
    }
    .hero-overlay h1 {
        font-size: 17px;
        line-height: 1.35;
        margin-bottom: 14px;
    }
    .hero-cta {
        flex-direction: column;
        gap: 8px;
    }

    /* Global section padding */
    .intro-section,
    .categories-section,
    .promo-section,
    .stats-section,
    .vip-section,
    .payments-section,
    .faq-section,
    .referral-section,
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    .section-header {
        padding: 0 16px;
    }
    .games-grid,
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 16px;
        gap: 12px;
    }
    .sports-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 16px;
        gap: 10px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .vip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Categories */
    .categories-grid {
        gap: 14px;
        padding-left: 4px;
    }
    .category-circle {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }
    .category-item span {
        font-size: 11px;
    }

    /* Cards */
    .game-thumb {
        height: 130px;
    }
    .live-thumb {
        height: 120px;
    }
    .game-name {
        font-size: 12px;
        padding: 8px 10px 2px;
    }
    .game-provider {
        font-size: 10px;
        padding: 0 10px 8px;
    }

    /* Stats */
    .stat-card {
        padding: 18px 10px;
    }
    .stat-icon {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .stat-number {
        font-size: 34px;
    }
    .stat-label {
        font-size: 11px;
    }

    /* Promo */
    .promo-card {
        min-height: 160px;
    }
    .promo-card h3 {
        font-size: 26px;
    }

    /* VIP */
    .vip-section {
        padding: 24px 16px;
    }
    .vip-card {
        padding: 20px 14px;
    }

    /* Referral */
    .referral-content {
        padding: 24px 16px;
    }
    .referral-content h2 {
        font-size: 20px;
    }

    /* Payments */
    .payments-grid {
        gap: 12px;
    }
    .payment-item {
        padding: 14px 16px;
        min-width: 80px;
    }

    /* Footer */
    .site-footer {
        padding: 24px 16px;
    }
    .footer-brand p {
        font-size: 12px;
    }

    /* Intro text */
    .intro-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Section titles */
    .section-title {
        font-size: 24px;
    }

    /* Logo sizes */
    .logo-gt-big { font-size: 36px; }
    .logo-bet-big { font-size: 40px; }
    .hero-flag { font-size: 26px; }
    .character { font-size: 80px; }
    .hero-characters { padding: 0 20px 20px; }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ======================================== */
@media (max-width: 480px) {
    /* Prevent horizontal scroll */
    body { overflow-x: hidden; }

    .games-grid,
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .vip-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .game-thumb {
        height: 110px;
    }
    .live-thumb {
        height: 100px;
    }
    .stat-number {
        font-size: 30px;
    }
    .stat-card {
        padding: 14px 8px;
    }
    .hero-banner {
        min-height: 220px;
    }
    .hero-overlay h1 {
        font-size: 15px;
    }
    .hero-overlay {
        padding: 12px;
    }
    .btn-cta-primary,
    .btn-cta-secondary {
        font-size: 13px;
        padding: 12px 16px;
    }
    /* Hide connect button on very small screens */
    .header-btns .btn-header-connect {
        display: none;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .promo-card-content {
        padding: 16px;
    }
    .promo-card h3 {
        font-size: 22px;
    }
    .categories-section {
        padding-left: 12px;
        padding-right: 12px;
    }
    .category-circle {
        width: 62px;
        height: 62px;
    }
    .category-item span {
        font-size: 10px;
    }
    .referral-content h2 {
        font-size: 17px;
    }
    .section-title {
        font-size: 22px;
    }

    .logo-gt-big { font-size: 30px; }
    .logo-bet-big { font-size: 34px; }
    .hero-flag { font-size: 22px; }
}
