2026-03-11 07:15:45 +00:00

816 lines
31 KiB
CSS

/* ═══════════════════════════════════════════════════════════
GAMEHUS — Golden Luxury Theme
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');
:root {
/* Gold Palette */
--gold-light: #FFE566;
--gold: #F0C040;
--gold-mid: #D4A017;
--gold-dark: #A07810;
--gold-dim: #7A5C0C;
/* Silver Palette */
--silver-light: #E8E8F0;
--silver: #B0B8C8;
--silver-dark: #6A7488;
/* Background Layers */
--bg-base: #080A10;
--bg-surface: #0E1118;
--bg-card: #13171F;
--bg-card2: #181D28;
--bg-overlay: rgba(8,10,16,0.96);
/* Borders & Glow */
--border-gold: rgba(212,160,23,0.35);
--border-dim: rgba(255,255,255,0.07);
--glow-gold: 0 0 24px rgba(212,160,23,0.45);
--glow-gold-lg: 0 0 50px rgba(212,160,23,0.3);
--glow-soft: 0 4px 30px rgba(0,0,0,0.6);
/* Text */
--text-main: #E8E0D0;
--text-muted: #6A7080;
--text-faint: #3A404C;
/* Status */
--green: #22C55E;
--red: #EF4444;
--blue: #3B82F6;
/* Sidebar */
--sidebar-w: 240px;
--topbar-h: 60px;
--tab-h: 44px;
}
/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html, body {
height: 100%;
overflow: hidden; /* NO page scroll — only panels scroll */
font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
background: var(--bg-base);
color: var(--text-main);
direction: rtl;
}
/* allow scroll only on .scrollable panels (docs pages etc.) */
.scrollable { overflow-y: auto !important; }
a { text-decoration: none; color: inherit; }
/* ── Gold Gradient Utility ───────────────────────────────── */
.gold-text {
background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-mid) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.gold-border { border-color: var(--border-gold) !important; }
/* ════════════════════════════════════════════════════════════
AUTH SCREEN (login.html / register.html)
full-viewport, no scroll
════════════════════════════════════════════════════════════ */
.auth-screen {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,160,23,0.12) 0%, transparent 65%),
radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212,160,23,0.06) 0%, transparent 60%),
var(--bg-base);
position: relative;
overflow: hidden;
}
/* animated gold particles */
.auth-screen::before {
content: '';
position: absolute; inset: 0;
background-image:
radial-gradient(circle 1px at 20% 30%, rgba(212,160,23,0.4) 0%, transparent 100%),
radial-gradient(circle 1px at 75% 20%, rgba(212,160,23,0.3) 0%, transparent 100%),
radial-gradient(circle 1px at 50% 70%, rgba(212,160,23,0.2) 0%, transparent 100%),
radial-gradient(circle 1px at 85% 65%, rgba(212,160,23,0.25) 0%, transparent 100%);
animation: particleDrift 12s ease-in-out infinite alternate;
pointer-events: none;
}
@keyframes particleDrift {
from { transform: translateY(0) scale(1); }
to { transform: translateY(-20px) scale(1.02); }
}
.auth-card {
width: 100%;
max-width: 440px;
background: var(--bg-card);
border: 1px solid var(--border-gold);
border-radius: 20px;
padding: 48px 40px;
box-shadow: var(--glow-gold), var(--glow-soft);
position: relative;
z-index: 1;
}
.auth-card::before {
content: '';
position: absolute;
top: 0; left: 50%; transform: translateX(-50%);
width: 60%; height: 1px;
background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.auth-logo {
text-align: center;
margin-bottom: 32px;
}
.auth-logo .logo-gem {
font-size: 3.5rem;
filter: drop-shadow(0 0 16px rgba(212,160,23,0.7));
display: block;
margin-bottom: 8px;
}
.auth-logo .brand {
font-size: 1.8rem;
font-weight: 900;
letter-spacing: 4px;
}
.auth-divider {
display: flex; align-items: center; gap: 12px;
margin: 20px 0;
color: var(--text-muted); font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after {
content: ''; flex: 1; height: 1px;
background: var(--border-dim);
}
/* Tab switcher inside auth card */
.auth-tabs {
display: flex;
background: var(--bg-surface);
border: 1px solid var(--border-dim);
border-radius: 10px;
padding: 4px;
margin-bottom: 28px;
gap: 4px;
}
.auth-tab {
flex: 1; padding: 8px; border-radius: 7px;
font-size: 0.9rem; font-weight: 700;
cursor: pointer; border: none;
background: transparent; color: var(--text-muted);
transition: all 0.25s;
}
.auth-tab.active {
background: linear-gradient(135deg, var(--gold-dim), var(--gold-dark));
color: var(--gold-light);
box-shadow: 0 2px 8px rgba(212,160,23,0.3);
}
/* ════════════════════════════════════════════════════════════
APP SHELL (all pages after login)
════════════════════════════════════════════════════════════ */
.app-shell {
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* ── Top Bar ─────────────────────────────────────────────── */
.topbar {
height: var(--topbar-h);
background: var(--bg-surface);
border-bottom: 1px solid var(--border-gold);
display: flex;
align-items: center;
padding: 0 20px;
gap: 16px;
flex-shrink: 0;
z-index: 50;
position: relative;
}
.topbar::after {
content: '';
position: absolute; bottom: -1px; left: 0; right: 0;
height: 1px;
background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
opacity: 0.6;
}
.topbar-brand {
display: flex; align-items: center; gap: 10px;
flex-shrink: 0;
}
.topbar-brand .gem { font-size: 1.6rem; filter: drop-shadow(0 0 8px rgba(212,160,23,0.6)); }
.topbar-brand .name {
font-size: 1.2rem; font-weight: 900; letter-spacing: 3px;
}
/* wallet strip */
.wallet-strip {
display: flex; align-items: center; gap: 8px;
margin-right: auto;
}
.wallet-coin {
display: flex; align-items: center; gap: 5px;
padding: 5px 14px;
border-radius: 20px;
font-size: 0.82rem; font-weight: 800;
cursor: pointer;
transition: all 0.2s;
}
.wallet-gold {
background: rgba(212,160,23,0.12);
border: 1px solid rgba(212,160,23,0.4);
color: var(--gold);
}
.wallet-gold:hover { background: rgba(212,160,23,0.2); box-shadow: var(--glow-gold); }
.wallet-silver {
background: rgba(176,184,200,0.1);
border: 1px solid rgba(176,184,200,0.25);
color: var(--silver-light);
}
.wallet-silver:hover { background: rgba(176,184,200,0.18); }
/* user menu */
.topbar-user {
display: flex; align-items: center; gap: 8px;
cursor: pointer; padding: 4px 10px; border-radius: 10px;
border: 1px solid var(--border-dim);
transition: all 0.2s;
}
.topbar-user:hover { border-color: var(--border-gold); background: rgba(212,160,23,0.06); }
.user-avatar {
width: 32px; height: 32px; border-radius: 50%;
background: linear-gradient(135deg, var(--gold-dark), var(--gold-dim));
border: 2px solid var(--gold-mid);
display: flex; align-items: center; justify-content: center;
font-size: 0.75rem; font-weight: 800; color: var(--gold-light);
}
.user-name { font-size: 0.85rem; font-weight: 700; }
.user-vip {
font-size: 0.65rem; background: linear-gradient(135deg, var(--gold), var(--gold-mid));
color: #000; padding: 1px 6px; border-radius: 10px; font-weight: 800;
}
/* online badge */
.online-badge {
display: flex; align-items: center; gap: 5px;
background: rgba(34,197,94,0.08);
border: 1px solid rgba(34,197,94,0.2);
padding: 4px 12px; border-radius: 20px;
font-size: 0.78rem; color: var(--green);
}
.online-dot {
width: 7px; height: 7px; border-radius: 50%;
background: var(--green); animation: pulse 2s infinite;
}
/* ── Body Row (sidebar + content) ───────────────────────── */
.app-body {
flex: 1;
display: flex;
overflow: hidden;
}
/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
width: var(--sidebar-w);
background: var(--bg-surface);
border-left: 1px solid var(--border-gold);
display: flex;
flex-direction: column;
flex-shrink: 0;
overflow-y: auto;
overflow-x: hidden;
}
.sidebar-section { padding: 16px 12px 8px; }
.sidebar-label {
font-size: 0.68rem; font-weight: 800; letter-spacing: 2px;
color: var(--gold-dim); text-transform: uppercase;
padding: 0 8px; margin-bottom: 6px;
}
.sidebar-item {
display: flex; align-items: center; gap: 10px;
padding: 9px 12px; border-radius: 10px;
font-size: 0.88rem; font-weight: 600;
color: var(--text-muted); cursor: pointer;
transition: all 0.2s; border: 1px solid transparent;
margin-bottom: 2px;
}
.sidebar-item:hover {
color: var(--text-main);
background: rgba(255,255,255,0.04);
}
.sidebar-item.active {
background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(212,160,23,0.07));
border-color: var(--border-gold);
color: var(--gold);
}
.sidebar-item .icon { width: 20px; text-align: center; font-size: 1rem; flex-shrink: 0; }
.sidebar-item .badge-count {
margin-right: auto;
background: var(--gold-dim); color: var(--gold-light);
font-size: 0.65rem; font-weight: 800;
padding: 1px 6px; border-radius: 10px;
}
.sidebar-divider {
height: 1px; margin: 8px 16px;
background: linear-gradient(90deg, transparent, var(--border-dim), transparent);
}
/* ── Main Content Area ──────────────────────────────────── */
.content-area {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--bg-base);
}
/* ════════════════════════════════════════════════════════════
DYNAMIC TAB SYSTEM
════════════════════════════════════════════════════════════ */
.tab-bar {
height: var(--tab-h);
background: var(--bg-surface);
border-bottom: 1px solid var(--border-gold);
display: flex;
align-items: flex-end;
padding: 0 12px;
gap: 4px;
flex-shrink: 0;
overflow-x: auto;
overflow-y: hidden;
}
.tab-bar::-webkit-scrollbar { height: 3px; }
.tab-bar::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }
.tab-item {
display: flex; align-items: center; gap: 6px;
padding: 8px 16px;
border-radius: 8px 8px 0 0;
font-size: 0.82rem; font-weight: 700;
color: var(--text-muted); cursor: pointer;
white-space: nowrap;
background: transparent;
border: 1px solid transparent;
border-bottom: none;
transition: all 0.2s;
position: relative;
bottom: -1px;
}
.tab-item:hover { color: var(--text-main); background: rgba(255,255,255,0.04); }
.tab-item.active {
background: var(--bg-base);
border-color: var(--border-gold);
border-bottom-color: var(--bg-base);
color: var(--gold);
}
.tab-item .tab-icon { font-size: 0.9rem; }
.tab-close {
width: 16px; height: 16px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 0.65rem; opacity: 0;
background: rgba(255,255,255,0.1);
transition: all 0.15s; cursor: pointer; border: none; color: inherit;
}
.tab-item:hover .tab-close { opacity: 1; }
.tab-close:hover { background: rgba(239,68,68,0.3); color: #fca5a5; }
.tab-add {
padding: 6px 10px; border-radius: 8px 8px 0 0;
color: var(--text-muted); cursor: pointer; font-size: 1.1rem;
background: transparent; border: none;
transition: all 0.2s; position: relative; bottom: -1px;
}
.tab-add:hover { color: var(--gold); }
/* Tab Panel */
.tab-panels { flex: 1; overflow: hidden; position: relative; }
.tab-panel {
position: absolute; inset: 0;
opacity: 0; pointer-events: none;
transition: opacity 0.2s;
overflow: hidden;
display: flex; flex-direction: column;
}
.tab-panel.active {
opacity: 1; pointer-events: auto;
}
/* Inner tab bar (nested tabs) */
.inner-tab-bar {
display: flex; gap: 0;
background: var(--bg-card);
border-bottom: 1px solid var(--border-dim);
padding: 0 16px;
flex-shrink: 0;
overflow-x: auto;
}
.inner-tab-bar::-webkit-scrollbar { display: none; }
.inner-tab {
padding: 10px 18px;
font-size: 0.82rem; font-weight: 700;
color: var(--text-muted); cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s; white-space: nowrap;
background: none; border-top: none; border-left: none; border-right: none;
}
.inner-tab:hover { color: var(--text-main); }
.inner-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.inner-panel { display: none; flex: 1; overflow: hidden; }
.inner-panel.active { display: flex; flex-direction: column; }
.inner-content { flex: 1; overflow-y: auto; padding: 20px; }
/* ── Panel base ─────────────────────────────────────────── */
.panel { flex: 1; overflow-y: auto; padding: 24px; }
.panel-header {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 24px;
}
.panel-title {
font-size: 1.4rem; font-weight: 900; color: var(--text-main);
display: flex; align-items: center; gap: 10px;
}
/* ════════════════════════════════════════════════════════════
CARDS
════════════════════════════════════════════════════════════ */
.card {
background: var(--bg-card);
border: 1px solid var(--border-dim);
border-radius: 14px;
overflow: hidden;
transition: all 0.3s;
}
.card:hover {
border-color: var(--border-gold);
box-shadow: var(--glow-gold), 0 8px 30px rgba(0,0,0,0.4);
transform: translateY(-3px);
}
.card-gold {
background: linear-gradient(135deg, rgba(212,160,23,0.1) 0%, rgba(122,92,12,0.08) 100%);
border-color: var(--border-gold);
}
/* stat card */
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border-dim);
border-radius: 14px; padding: 20px;
display: flex; flex-direction: column; gap: 8px;
transition: all 0.3s; cursor: default;
}
.stat-card:hover { border-color: var(--border-gold); box-shadow: var(--glow-gold); }
.stat-icon { font-size: 1.6rem; }
.stat-value { font-size: 1.6rem; font-weight: 900; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
/* game card */
.game-card {
background: var(--bg-card);
border: 1px solid var(--border-dim);
border-radius: 14px; overflow: hidden;
transition: all 0.3s; cursor: pointer;
}
.game-card:hover {
border-color: var(--border-gold);
box-shadow: var(--glow-gold);
transform: translateY(-4px);
}
.game-card-thumb {
height: 120px; position: relative;
display: flex; align-items: center; justify-content: center;
font-size: 3.5rem;
}
.game-card-thumb::after {
content: '';
position: absolute; inset: 0;
background: linear-gradient(0deg, var(--bg-card) 0%, transparent 60%);
}
.game-card-body { padding: 14px 16px; }
.game-card-title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.game-card-sub { font-size: 0.78rem; color: var(--text-muted); }
/* ════════════════════════════════════════════════════════════
BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
display: inline-flex; align-items: center; justify-content: center;
gap: 7px; padding: 10px 22px; border-radius: 10px;
font-size: 0.88rem; font-weight: 800; cursor: pointer;
transition: all 0.25s; border: none; white-space: nowrap;
font-family: inherit;
}
.btn-gold {
background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-mid) 100%);
color: #1a0e00;
box-shadow: 0 2px 12px rgba(212,160,23,0.35);
}
.btn-gold:hover {
transform: translateY(-2px);
box-shadow: var(--glow-gold-lg);
}
.btn-outline-gold {
background: transparent;
border: 1.5px solid var(--border-gold);
color: var(--gold);
}
.btn-outline-gold:hover { background: rgba(212,160,23,0.1); box-shadow: var(--glow-gold); }
.btn-ghost {
background: rgba(255,255,255,0.05);
border: 1px solid var(--border-dim);
color: var(--text-main);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--border-gold); color: var(--gold); }
.btn-sm { padding: 6px 14px; font-size: 0.78rem; border-radius: 8px; }
.btn-lg { padding: 14px 36px; font-size: 1rem; border-radius: 12px; }
/* Legacy compat */
.btn-primary { @extend .btn; @extend .btn-gold; }
.btn-primary-sm { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: linear-gradient(135deg, var(--gold), var(--gold-mid)); color: #1a0e00; border-radius: 8px; font-size: 0.82rem; font-weight: 800; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: var(--glow-gold); }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: 1.5px solid var(--border-gold); color: var(--gold); border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; background: transparent; transition: all 0.2s; }
.btn-outline-sm:hover { background: rgba(212,160,23,0.1); }
.btn-secondary { display: inline-flex; align-items: center; gap: 7px; padding: 10px 22px; border-radius: 10px; background: transparent; border: 1.5px solid var(--border-dim); color: var(--text-main); font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: all 0.25s; }
.btn-secondary:hover { border-color: var(--border-gold); color: var(--gold); }
/* ════════════════════════════════════════════════════════════
FORM ELEMENTS
════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label { font-size: 0.85rem; font-weight: 700; color: var(--silver); margin-bottom: 7px; display: block; }
.form-input {
width: 100%;
background: var(--bg-surface);
border: 1px solid var(--border-dim);
color: var(--text-main);
padding: 11px 16px;
border-radius: 10px;
font-size: 0.92rem;
transition: all 0.2s;
direction: rtl;
font-family: inherit;
}
.form-input:focus {
outline: none;
border-color: var(--border-gold);
box-shadow: 0 0 0 3px rgba(212,160,23,0.12);
}
.form-input::placeholder { color: var(--text-faint); }
/* ════════════════════════════════════════════════════════════
CURRENCY DISPLAY
════════════════════════════════════════════════════════════ */
.currency-gold {
display: inline-flex; align-items: center; gap: 4px;
color: var(--gold); font-weight: 800;
}
.currency-gold::before { content: '🪙'; font-size: 0.9em; }
.currency-silver {
display: inline-flex; align-items: center; gap: 4px;
color: var(--silver-light); font-weight: 700;
}
.currency-silver::before { content: '🔘'; font-size: 0.9em; }
/* VIP Badge */
.vip-badge {
display: inline-flex; align-items: center; gap: 4px;
background: linear-gradient(135deg, var(--gold-light), var(--gold));
color: #1a0e00; padding: 3px 10px; border-radius: 12px;
font-size: 0.72rem; font-weight: 900; letter-spacing: 0.5px;
}
.vip-badge-outline {
background: transparent;
border: 1px solid var(--gold);
color: var(--gold);
}
/* Train / Station strip */
.train-track {
display: flex; align-items: center; gap: 0;
overflow-x: auto; padding: 16px 0;
}
.train-track::-webkit-scrollbar { display: none; }
.station {
display: flex; flex-direction: column; align-items: center;
flex-shrink: 0; position: relative;
}
.station-dot {
width: 36px; height: 36px; border-radius: 50%;
border: 2px solid var(--border-dim);
background: var(--bg-card);
display: flex; align-items: center; justify-content: center;
font-size: 0.75rem; font-weight: 800; color: var(--text-muted);
transition: all 0.3s; z-index: 1;
}
.station.done .station-dot {
background: linear-gradient(135deg, var(--gold), var(--gold-mid));
border-color: var(--gold); color: #1a0e00;
}
.station.current .station-dot {
border-color: var(--gold); color: var(--gold);
box-shadow: var(--glow-gold); animation: stationPulse 2s infinite;
}
.station.vip .station-dot {
border-color: var(--gold); background: rgba(212,160,23,0.15);
}
@keyframes stationPulse {
0%,100% { box-shadow: 0 0 10px rgba(212,160,23,0.3); }
50% { box-shadow: 0 0 22px rgba(212,160,23,0.7); }
}
.station-line {
width: 50px; height: 2px;
background: var(--border-dim); flex-shrink: 0;
}
.station-line.done { background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.station-label { font-size: 0.65rem; color: var(--text-muted); margin-top: 6px; white-space: nowrap; }
/* ════════════════════════════════════════════════════════════
TABLES
════════════════════════════════════════════════════════════ */
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th {
text-align: right; padding: 10px 14px;
font-size: 0.75rem; font-weight: 800;
color: var(--gold-dim); border-bottom: 1px solid var(--border-gold);
letter-spacing: 1px; text-transform: uppercase;
}
.rank-table td {
padding: 11px 14px;
border-bottom: 1px solid rgba(255,255,255,0.03);
font-size: 0.88rem;
}
.rank-table tr:hover td { background: rgba(212,160,23,0.04); }
.rank-1 { color: var(--gold); font-weight: 900; font-size: 1.1rem; }
.rank-2 { color: var(--silver); font-weight: 700; }
.rank-3 { color: #cd7f32; font-weight: 700; }
.rank-rest { color: var(--text-muted); }
/* ════════════════════════════════════════════════════════════
CHAT
════════════════════════════════════════════════════════════ */
.chat-wrap { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.chat-bubble { display: flex; gap: 8px; align-items: flex-start; }
.chat-avatar {
width: 30px; height: 30px; border-radius: 50%;
background: linear-gradient(135deg, var(--gold-dark), var(--gold-dim));
border: 1.5px solid var(--border-gold);
display: flex; align-items: center; justify-content: center;
font-size: 0.65rem; font-weight: 800; color: var(--gold-light); flex-shrink: 0;
}
.chat-name { font-size: 0.75rem; color: var(--gold); font-weight: 700; }
.chat-text { font-size: 0.85rem; color: var(--text-main); }
.chat-time { font-size: 0.67rem; color: var(--text-muted); }
.chat-input-bar {
padding: 12px 16px;
border-top: 1px solid var(--border-gold);
display: flex; gap: 8px;
}
.chat-input {
flex: 1;
background: var(--bg-surface);
border: 1px solid var(--border-dim);
color: var(--text-main);
padding: 9px 14px; border-radius: 10px;
font-size: 0.88rem; direction: rtl; font-family: inherit;
}
.chat-input:focus { outline: none; border-color: var(--border-gold); }
/* ════════════════════════════════════════════════════════════
UTILITY CLASSES
════════════════════════════════════════════════════════════ */
.badge {
font-size: 0.68rem; font-weight: 800; padding: 2px 8px;
border-radius: 12px; display: inline-block; letter-spacing: 0.3px;
}
.badge-gold { background: rgba(212,160,23,0.2); color: var(--gold); border: 1px solid rgba(212,160,23,0.3); }
.badge-green { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-red { background: rgba(239,68,68,0.15); color: #f87171; }
.badge-blue { background: rgba(59,130,246,0.15); color: #93c5fd; }
.divider { height: 1px; background: var(--border-dim); margin: 16px 0; }
.divider-gold { background: linear-gradient(90deg, transparent, var(--border-gold), transparent); }
.text-gold { color: var(--gold); }
.text-silver { color: var(--silver); }
.text-muted { color: var(--text-muted); }
.text-main { color: var(--text-main); }
/* ════════════════════════════════════════════════════════════
ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes pulse {
0%,100% { opacity:1; transform:scale(1); }
50% { opacity:0.5; transform:scale(1.4); }
}
@keyframes fadeIn {
from { opacity:0; transform:translateY(8px); }
to { opacity:1; transform:translateY(0); }
}
@keyframes slideIn {
from { opacity:0; transform:translateX(16px); }
to { opacity:1; transform:translateX(0); }
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
.animate-in { animation: fadeIn 0.4s ease forwards; }
.animate-slide { animation: slideIn 0.35s ease forwards; }
/* ════════════════════════════════════════════════════════════
SCROLLBAR
════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
/* ════════════════════════════════════════════════════════════
MODAL / OVERLAY
════════════════════════════════════════════════════════════ */
.modal-overlay {
position: fixed; inset: 0; z-index: 200;
background: rgba(0,0,0,0.75);
display: flex; align-items: center; justify-content: center;
backdrop-filter: blur(4px);
animation: fadeIn 0.2s ease;
}
.modal-box {
background: var(--bg-card);
border: 1px solid var(--border-gold);
border-radius: 18px; padding: 36px;
width: 100%; max-width: 440px;
box-shadow: var(--glow-gold-lg);
position: relative;
}
.modal-box::before {
content: '';
position: absolute; top: 0; left: 50%; transform: translateX(-50%);
width: 50%; height: 1px;
background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* ════════════════════════════════════════════════════════════
TOAST NOTIFICATION
════════════════════════════════════════════════════════════ */
.toast-container { position: fixed; top: 72px; left: 20px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast {
padding: 12px 20px; border-radius: 10px;
font-size: 0.88rem; font-weight: 700;
display: flex; align-items: center; gap: 8px;
animation: slideIn 0.3s ease;
box-shadow: var(--glow-soft);
}
.toast-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.35); color: #4ade80; }
.toast-gold { background: rgba(212,160,23,0.15); border: 1px solid var(--border-gold); color: var(--gold); }
.toast-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.35); color: #f87171; }
/* ════════════════════════════════════════════════════════════
SECTION TITLE
════════════════════════════════════════════════════════════ */
.section-title {
font-size: 1.1rem; font-weight: 900; color: var(--text-main);
display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.section-title::after {
content: ''; flex: 1; height: 1px;
background: linear-gradient(90deg, var(--border-gold), transparent);
}
/* ════════════════════════════════════════════════════════════
RESPONSIVE — collapse sidebar on small screens
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
:root { --sidebar-w: 0px; }
.sidebar { display: none; }
.sidebar.open { display: flex; width: 240px; position: fixed; top: var(--topbar-h); bottom: 0; right: 0; z-index: 80; }
.topbar-brand .name { font-size: 1rem; letter-spacing: 2px; }
.wallet-strip .wallet-coin span:not(.coin-icon) { display: none; }
.tab-item .tab-label { display: none; }
}
/* ── Protect pages — hide content before auth check ──────── */
.auth-guard { visibility: hidden; }
.auth-guard.revealed { visibility: visible; }