:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #1c2128;
    --bg-hover: #252c35;
    --bg-elevated: #21262d;
    --gold: #f0b90b;
    --gold-light: #f8d12f;
    --gold-dark: #c99a08;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #484f58;
    --accent: #f0b90b;
    --green: #3fb950;
    --red: #f85149;
    --blue: #58a6ff;
    --purple: #bc8cff;
    --orange: #d29922;
    --border: rgba(240,246,252,0.06);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
button { cursor: pointer; border: none; font-family: inherit; transition: all var(--transition); }
input, select { font-family: inherit; }

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

/* 3D Effects & Premium Styles */
.hero-bg-effects { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(240,185,11,0.08), transparent 60%);
    animation: float 6s ease-in-out infinite;
}
.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(240,185,11,0.3) 1px, transparent 0),
                       radial-gradient(1px 1px at 60% 70%, rgba(240,185,11,0.2) 1px, transparent 0),
                       radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.15) 1px, transparent 0),
                       radial-gradient(1.5px 1.5px at 40% 80%, rgba(240,185,11,0.25) 1px, transparent 0);
    animation: particleFloat 20s linear infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.02); } }
@keyframes particleFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-100px); } }

.slide-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(240,185,11,0.15);
    color: var(--gold);
    margin-bottom: 12px;
}

.hero-image {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(240,185,11,0.3), 0 4px 12px rgba(240,185,11,0.2);
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(240,185,11,0.5), 0 6px 20px rgba(240,185,11,0.3);
}

/* Card 3D hover effect */
.game-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.game-card:hover {
    transform: translateY(-4px) rotateX(2deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 20px rgba(240,185,11,0.05);
}

.live-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.promo-card {
    transform-style: preserve-3d;
    transition: all var(--transition);
}
.promo-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* Gradient borders for premium feel */
.credit-score-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
}

.loan-section {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
}

/* Animated gradient on buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.btn-primary {
    background: linear-gradient(110deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 50%, var(--gold) 60%, var(--gold-dark) 100%);
    background-size: 200% auto;
}
.btn-primary:hover {
    animation: shimmer 2s linear infinite;
}

/* Glass morphism on header */
.header {
    background: rgba(22,27,34,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, #1a1100 0%, #2d1f00 50%, #1a1100 100%);
    border-bottom: 1px solid rgba(240,185,11,0.2);
    color: var(--text-primary);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    position: relative;
}
.banner-content { display: flex; align-items: center; gap: 10px; }
.banner-content i { color: var(--gold); }
.banner-btn {
    background: var(--gold);
    color: #000;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}
.banner-btn:hover { background: var(--gold-light); transform: scale(1.05); }
.banner-close {
    position: absolute;
    right: 20px;
    background: none;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 4px;
}

/* Header */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-left { display: flex; align-items: center; gap: 28px; }
.logo { height: 36px; }
.main-nav { display: flex; gap: 2px; }
.nav-item {
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.nav-item:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-item.active { color: var(--gold); background: rgba(240,185,11,0.08); }

.header-right { display: flex; align-items: center; gap: 10px; }
.wallet-display {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.wallet-display i:first-child { color: var(--gold); font-size: 14px; }
.wallet-display:hover { border-color: rgba(240,185,11,0.3); }
.btn-deposit {
    background: var(--gold);
    color: #000;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-deposit:hover { background: var(--gold-light); transform: translateY(-1px); }
.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
}
.user-avatar:hover { border-color: var(--gold); }
.user-avatar img { width: 100%; height: 100%; }
.btn-icon {
    background: var(--bg-card);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid var(--border);
}
.btn-icon:hover { color: var(--gold); border-color: rgba(240,185,11,0.3); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    z-index: 100;
    justify-content: space-around;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-secondary);
    font-size: 10px;
    padding: 4px 12px;
}
.mobile-nav-item i { font-size: 18px; }
.mobile-nav-item.active { color: var(--gold); }

/* Main Content */
.main-content { padding-bottom: 80px; }
.page { display: none; }
.page.active { display: block; }

/* Hero Slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
    display: none;
    min-height: 320px;
    padding: 48px 40px;
    align-items: center;
}
.hero-slide.active { display: flex; }
.slide-content { max-width: 560px; }
.slide-content h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.slide-content p { font-size: 16px; color: var(--text-secondary); margin-bottom: 8px; }
.slide-content .sub { font-size: 13px; margin-bottom: 24px; color: var(--text-muted); }
.slide-buttons { display: flex; gap: 12px; }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all var(--transition); }
.dot.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: #000;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240,185,11,0.3); }
.btn-primary.full { width: 100%; }
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.stat-item { display: flex; align-items: center; gap: 10px; }
.stat-item i { font-size: 20px; color: var(--gold); opacity: 0.8; }
.stat-item strong { display: block; font-size: 16px; font-weight: 700; }
.stat-item span { font-size: 11px; color: var(--text-secondary); }

/* Section */
.section { padding: 28px 20px; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.section-header h2 i { color: var(--gold); font-size: 16px; }
.see-all { color: var(--text-secondary); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.see-all:hover { color: var(--gold); }

/* Game Grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.game-grid.large { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
.game-card { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-card); transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; border: 1px solid var(--border); }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); border-color: rgba(240,185,11,0.2); }
.game-thumb {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.game-icon { font-size: 40px; color: rgba(255,255,255,0.7); }
.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.game-card:hover .game-overlay { opacity: 1; }
.btn-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.game-badge.hot { background: var(--red); color: #fff; }
.game-badge.new { background: var(--green); color: #fff; }
.game-info { padding: 8px 10px; }
.game-name { display: block; font-size: 12px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-provider { font-size: 11px; color: var(--text-secondary); }

/* Live Grid */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.live-grid.large { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.live-card { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-card); cursor: pointer; transition: all var(--transition); border: 1px solid var(--border); }
.live-card:hover { transform: translateY(-3px); border-color: rgba(240,185,11,0.2); }
.live-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0d1117, #161b22);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.live-dealer-placeholder { font-size: 40px; color: rgba(255,255,255,0.1); }
.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--red);
    color: #fff;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-players {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--text-secondary);
}
.live-info { padding: 10px; }
.live-name { display: block; font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.live-provider { font-size: 11px; color: var(--text-secondary); display: block; margin-bottom: 3px; }
.live-limits { font-size: 11px; color: var(--green); }

/* Leaderboard */
.tab-group { display: flex; gap: 3px; }
.tab {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.tab.active { background: var(--gold); color: #000; border-color: var(--gold); }
.tab:hover:not(.active) { border-color: rgba(255,255,255,0.1); }

.leaderboard { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.lb-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}
.lb-item:last-child { border-bottom: none; }
.lb-item:hover { background: var(--bg-hover); }
.lb-item.rank-1 { background: rgba(240,185,11,0.04); }
.lb-rank { width: 24px; text-align: center; font-weight: 700; font-size: 13px; color: var(--text-muted); }
.lb-item.rank-1 .lb-rank { color: var(--gold); font-size: 16px; }
.lb-avatar { width: 32px; height: 32px; border-radius: 50%; }
.lb-name { flex: 1; font-weight: 500; font-size: 13px; }
.lb-amount { font-weight: 600; font-size: 13px; margin-right: 12px; }
.lb-prize { font-weight: 700; font-size: 13px; }
.lb-prize.gold { color: var(--gold); }
.lb-prize.silver { color: #c0c0c0; }
.lb-prize.bronze { color: #cd7f32; }

/* Provider Grid */
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.provider-card {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.provider-card:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Page Header */
.page-header { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-header h1 { font-size: 22px; font-weight: 700; }
.search-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
}
.search-bar i { color: var(--text-muted); font-size: 13px; }
.search-bar input { background: none; border: none; color: var(--text-primary); outline: none; width: 100%; font-size: 13px; }
.search-bar:focus-within { border-color: var(--gold); }

/* Category Tabs */
.category-tabs { display: flex; gap: 6px; padding: 0 20px 20px; flex-wrap: wrap; }
.cat-tab {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 5px;
}
.cat-tab.active { background: var(--gold); color: #000; border-color: var(--gold); }
.cat-tab:hover:not(.active) { border-color: rgba(255,255,255,0.1); color: var(--text-primary); }

/* Movie Grid */
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; padding: 0 20px; }
.movie-card { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-card); cursor: pointer; transition: all var(--transition); border: 1px solid var(--border); }
.movie-card:hover { transform: translateY(-3px); border-color: rgba(240,185,11,0.2); }
.movie-thumb { aspect-ratio: 2/3; position: relative; display: flex; align-items: center; justify-content: center; }
.movie-play { font-size: 44px; color: rgba(255,255,255,0.8); opacity: 0; transition: opacity var(--transition); }
.movie-card:hover .movie-play { opacity: 1; }
.movie-quality { position: absolute; top: 6px; right: 6px; background: var(--gold); color: #000; padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 700; }
.movie-info { padding: 10px; }
.movie-title { display: block; font-weight: 600; font-size: 13px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-meta { font-size: 11px; color: var(--text-secondary); }

/* Promo Page */
.promo-section { padding: 20px; max-width: 1200px; margin: 0 auto; }
.promo-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.promo-section h2 i { color: var(--gold); }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.promo-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.promo-card-header { padding: 16px; text-align: center; }
.promo-card-header i { font-size: 28px; color: #fff; margin-bottom: 6px; display: block; }
.promo-card-header h3 { color: #fff; font-size: 14px; }
.promo-card-body { padding: 16px; }
.promo-amount { font-size: 24px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.promo-card-body p { color: var(--text-secondary); font-size: 12px; margin-bottom: 10px; }
.promo-req { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; padding: 6px 8px; background: var(--bg-hover); border-radius: 4px; }

.checkin-days { display: flex; gap: 5px; margin-bottom: 12px; }
.checkin-days .day {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600;
    background: var(--bg-hover); color: var(--text-muted);
}
.checkin-days .day.claimed { background: var(--green); color: #fff; }
.checkin-days .day.today { background: var(--gold); color: #000; }
.checkin-days .day.special { background: var(--purple); color: #fff; }

/* Invite Card */
.invite-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; border: 1px solid rgba(240,185,11,0.15); }
.invite-header h3 { font-size: 18px; margin-bottom: 6px; }
.invite-header p { color: var(--text-secondary); font-size: 13px; margin-bottom: 16px; }
.invite-progress { margin-bottom: 16px; }
.progress-bar { height: 6px; background: var(--bg-hover); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; }
.progress-text { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.invite-rewards { margin-bottom: 16px; }
.reward-step { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--text-secondary); }
.reward-step.done { color: var(--green); }
.invite-actions { display: flex; flex-direction: column; gap: 10px; }
.invite-link { display: flex; gap: 6px; }
.invite-link input { flex: 1; background: var(--bg-hover); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-primary); font-size: 12px; }
.btn-copy { background: var(--bg-hover); color: var(--gold); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 12px; border: 1px solid var(--border); }
.share-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.share-btn { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 5px; color: #fff; }
.share-btn.telegram { background: #0088cc; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }

/* Red Packets */
.redpacket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.redpacket-card { background: var(--bg-card); border-radius: var(--radius); padding: 16px; text-align: center; border: 1px solid var(--border); }
.redpacket-card.active { border-color: rgba(240,185,11,0.3); }
.rp-icon { font-size: 36px; margin-bottom: 10px; }
.redpacket-card h4 { margin-bottom: 6px; font-size: 14px; }
.redpacket-card p { color: var(--text-secondary); font-size: 12px; margin-bottom: 10px; }
.rp-pool { color: var(--gold); font-weight: 600; margin-bottom: 12px; font-size: 13px; }
.rp-input { width: 100%; background: var(--bg-hover); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 10px; color: var(--text-primary); margin-bottom: 10px; font-size: 12px; }

/* Credit Score Page */
.credit-page { padding: 20px; max-width: 1000px; margin: 0 auto; }
.credit-score-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.credit-score-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--orange), var(--gold), var(--green), var(--blue));
}
.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--blue) 0deg, var(--blue) 262deg, var(--bg-hover) 262deg, var(--bg-hover) 360deg);
    position: relative;
}
.score-circle::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--bg-card);
}
.score-value { position: relative; z-index: 1; font-size: 48px; font-weight: 800; color: var(--blue); }
.score-label { position: relative; z-index: 1; font-size: 13px; color: var(--text-secondary); }
.score-level { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.score-update { font-size: 11px; color: var(--text-muted); }

.credit-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.breakdown-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}
.breakdown-item .bi-label { font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; display: block; }
.breakdown-item .bi-score { font-size: 20px; font-weight: 700; display: block; margin-bottom: 2px; }
.breakdown-item .bi-bar { height: 4px; background: var(--bg-hover); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.breakdown-item .bi-fill { height: 100%; border-radius: 2px; }

.loan-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.loan-section h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.loan-section h3 i { color: var(--gold); }
.loan-eligible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    background: rgba(63,185,80,0.06);
    border: 1px solid rgba(63,185,80,0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}
.loan-eligible .le-label { font-size: 13px; color: var(--text-secondary); }
.loan-eligible .le-amount { font-size: 22px; font-weight: 800; color: var(--green); }
.loan-history { margin-top: 12px; }
.loan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.loan-item:last-child { border-bottom: none; }
.loan-status { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.loan-status.active { background: rgba(240,185,11,0.1); color: var(--gold); }
.loan-status.paid { background: rgba(63,185,80,0.1); color: var(--green); }

/* VIP Section */
.vip-progress { background: var(--bg-card); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; border: 1px solid var(--border); }
.vip-current { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vip-badge { background: var(--gold); color: #000; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.vip-badge.small { font-size: 9px; padding: 2px 7px; }
.vip-next { color: var(--text-secondary); font-size: 12px; }
.vip-bar { height: 6px; background: var(--bg-hover); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.vip-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; }
.vip-xp { font-size: 11px; color: var(--text-secondary); }
.vip-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.vip-tier { background: var(--bg-card); padding: 12px; border-radius: var(--radius-sm); text-align: center; border: 1px solid var(--border); }
.vip-tier.active { border-color: var(--gold); }
.tier-name { display: block; font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.tier-cashback { font-size: 11px; color: var(--green); }

/* Profile Page */
.profile-header { text-align: center; padding: 28px; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold); margin-bottom: 10px; }
.profile-balance { background: var(--bg-card); margin: 0 20px; border-radius: var(--radius); padding: 16px; margin-bottom: 14px; border: 1px solid var(--border); }
.balance-main { text-align: center; margin-bottom: 14px; }
.balance-label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 3px; }
.balance-value { font-size: 26px; font-weight: 800; color: var(--gold); }
.balance-actions { display: flex; gap: 10px; }
.balance-actions button { flex: 1; }
.profile-menu { padding: 0 20px; }
.menu-item {
    display: flex; align-items: center; padding: 13px 14px;
    background: var(--bg-card); margin-bottom: 1px; cursor: pointer;
    font-size: 13px; gap: 10px; border: 1px solid var(--border); border-bottom: none;
}
.menu-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.menu-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: 1px solid var(--border); }
.menu-item:hover { background: var(--bg-hover); }
.menu-item i:first-child { color: var(--gold); width: 18px; font-size: 14px; }
.menu-item i:last-child { margin-left: auto; color: var(--text-muted); font-size: 11px; }

/* Coming Soon */
.coming-soon { text-align: center; padding: 60px 20px; }
.coming-soon i { font-size: 48px; color: var(--text-muted); margin-bottom: 12px; }
.coming-soon h2 { margin-bottom: 6px; font-size: 20px; }
.coming-soon p { color: var(--text-secondary); font-size: 13px; }

/* Age Gate */
.age-gate { position: absolute; inset: 0; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center; z-index: 10; min-height: 400px; }
.age-gate-content { text-align: center; padding: 32px; }
.age-gate-content i { font-size: 40px; color: var(--gold); margin-bottom: 14px; }
.age-gate-content h2 { margin-bottom: 10px; font-size: 20px; }
.age-gate-content p { color: var(--text-secondary); margin-bottom: 20px; font-size: 14px; }
.age-buttons { display: flex; gap: 10px; justify-content: center; }

/* Spin Wheel */
.spin-container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.spin-wheel { width: 240px; height: 240px; border-radius: 50%; background: conic-gradient(#e74c3c 0deg 45deg, #f39c12 45deg 90deg, #2ecc71 90deg 135deg, #3498db 135deg 180deg, #9b59b6 180deg 225deg, #1abc9c 225deg 270deg, #e67e22 270deg 315deg, #34495e 315deg 360deg); position: relative; display: flex; align-items: center; justify-content: center; border: 3px solid var(--gold); transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99); }
.spin-wheel.spinning { transform: rotate(1440deg); }
.spin-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #000; font-weight: 800; font-size: 12px; z-index: 1; }
.spin-info { text-align: center; }
.spin-info p { margin-bottom: 6px; font-size: 13px; }
.spin-note { color: var(--text-secondary); font-size: 12px; }

/* Modal */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.75); z-index: 1000;
    align-items: center; justify-content: center;
    padding: 20px; backdrop-filter: blur(4px);
}
.modal.active { display: flex; }
.modal-content {
    background: var(--bg-secondary); border-radius: var(--radius);
    width: 100%; max-width: 440px; max-height: 90vh;
    overflow-y: auto; box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.modal-content.wide { max-width: 860px; }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 15px; }
.modal-close { background: none; color: var(--text-secondary); font-size: 16px; padding: 4px; }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 16px; }

/* Deposit */
.deposit-tabs { display: flex; gap: 3px; margin-bottom: 16px; }
.dep-tab { flex: 1; padding: 9px; text-align: center; border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-secondary); font-size: 13px; font-weight: 500; border: 1px solid var(--border); }
.dep-tab.active { background: var(--gold); color: #000; border-color: var(--gold); }
.coin-select { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.coin-option { padding: 7px 12px; border-radius: var(--radius-sm); background: var(--bg-card); font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 5px; border: 1px solid var(--border); }
.coin-option.active { border-color: var(--gold); background: rgba(240,185,11,0.06); }
.coin-icon { font-weight: 700; }
.address-box { text-align: center; margin-bottom: 14px; }
.qr-placeholder { width: 140px; height: 140px; margin: 0 auto 10px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 56px; color: #000; }
.address-text { display: flex; align-items: center; gap: 6px; justify-content: center; flex-wrap: wrap; }
.address-text code { font-size: 11px; color: var(--text-secondary); word-break: break-all; }
.deposit-note { display: flex; align-items: flex-start; gap: 6px; padding: 10px; background: rgba(88,166,255,0.06); border: 1px solid rgba(88,166,255,0.15); border-radius: var(--radius-sm); font-size: 11px; color: var(--blue); }

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 5px; color: var(--text-secondary); }
.form-input { width: 100%; padding: 9px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 13px; outline: none; }
.form-input:focus { border-color: var(--gold); }
.form-select { width: 100%; padding: 9px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 13px; }
.amount-input { display: flex; gap: 6px; }
.amount-input input { flex: 1; }
.btn-max { background: var(--bg-hover); color: var(--gold); padding: 9px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 11px; border: 1px solid var(--border); }
.form-hint { font-size: 11px; color: var(--text-secondary); margin-top: 4px; display: block; }
.form-footer { text-align: center; font-size: 12px; color: var(--text-secondary); margin-top: 14px; }

/* Game/Video Frame */
.game-frame, .video-frame { aspect-ratio: 16/9; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.game-placeholder, .video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-secondary); }
.game-placeholder i, .video-placeholder i { font-size: 40px; }
.loading-bar { width: 180px; height: 3px; background: var(--bg-hover); border-radius: 2px; overflow: hidden; }
.loading-fill { width: 60%; height: 100%; background: var(--gold); animation: loading 2s infinite; }
@keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.video-controls { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.video-controls button { background: none; color: var(--text-secondary); font-size: 14px; padding: 6px; }
.video-controls .play-btn { background: var(--gold); color: #000; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.video-progress { flex: 1; height: 3px; background: var(--bg-hover); border-radius: 2px; }
.video-progress-fill { height: 100%; background: var(--gold); border-radius: 2px; }
.source-tabs { display: flex; gap: 6px; margin-top: 10px; }
.source-btn { padding: 5px 12px; border-radius: 16px; font-size: 11px; background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); }
.source-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

/* Profile Modal */
.profile-modal-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.profile-avatar-sm { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold); }
.wallet-breakdown { background: var(--bg-card); border-radius: var(--radius-sm); padding: 14px; border: 1px solid var(--border); }
.wb-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.wb-item span { color: var(--text-secondary); }
.wb-item.total { font-size: 14px; }
.wb-item.total strong { color: var(--gold); }
.wb-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* Chat */
.chat-modal .modal-content { max-width: 380px; }
.chat-content { display: flex; flex-direction: column; height: 460px; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-message { display: flex; gap: 6px; align-items: flex-start; }
.chat-message.user { flex-direction: row-reverse; }
.chat-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-hover); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 12px; flex-shrink: 0; }
.chat-bubble { background: var(--bg-card); padding: 8px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5; max-width: 260px; border: 1px solid var(--border); }
.chat-message.user .chat-bubble { background: var(--gold); color: #000; border-color: var(--gold); }
.chat-input { display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 7px 14px; color: var(--text-primary); font-size: 12px; outline: none; }
.chat-input input:focus { border-color: var(--gold); }
.btn-send { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #000; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* Footer */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 32px 20px 90px; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 24px; }
.footer-logo { height: 32px; margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 12px; max-width: 380px; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-col h4 { font-size: 13px; margin-bottom: 10px; color: var(--text-primary); }
.footer-col a { display: block; color: var(--text-secondary); font-size: 12px; margin-bottom: 6px; }
.footer-col a:hover { color: var(--gold); }
.footer-crypto { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-crypto span { font-size: 12px; color: var(--text-secondary); }
.crypto-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.crypto-badge { background: var(--bg-card); padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; border: 1px solid var(--border); }
.footer-bottom { text-align: center; padding-top: 16px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 11px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-nav { display: flex; }
    .header-right .wallet-display .balance { display: none; }
    .hero-slide { padding: 28px 16px; min-height: 240px; }
    .hero-image { display: none; }
    .slide-content h1 { font-size: 24px; }
    .stats-bar { flex-wrap: wrap; gap: 12px; justify-content: space-around; padding: 12px; }
    .stat-item strong { font-size: 14px; }
    .game-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .live-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .credit-breakdown { grid-template-columns: repeat(2, 1fr); }
    .score-circle { width: 150px; height: 150px; }
    .score-value { font-size: 36px; }
}

@media (max-width: 480px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-content h1 { font-size: 20px; }
    .credit-breakdown { grid-template-columns: repeat(2, 1fr); }
}
