/* =========================================
   یک‌بت | Yakbet Casino Theme
   Main Stylesheet v1.0
   https://xn--ngbe39ape.com/
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --black:       #040407;
  --dark:        #08080f;
  --card:        #0d0d18;
  --card2:       #121220;
  --card3:       #17172a;
  --border:      #1c1c30;
  --border2:     #252540;
  --gold:        #c9a227;
  --gold-light:  #f0c040;
  --gold-dim:    #8a6a10;
  --gold-glow:   rgba(201,162,39,0.25);
  --neon:        #00ff88;
  --neon-dim:    rgba(0,255,136,0.12);
  --neon-glow:   rgba(0,255,136,0.35);
  --red:         #ff3b5c;
  --text:        #eaeaf5;
  --text-muted:  #6868a0;
  --text-dim:    #40405a;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.6);
  --transition:  all 0.22s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Vazirmatn', sans-serif;
  background: var(--black);
  color: var(--text);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul, ol { list-style:none; }
button { font-family:'Vazirmatn', sans-serif; cursor:pointer; }
input, textarea, select { font-family:'Vazirmatn', sans-serif; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width:5px; height:5px; }
::-webkit-scrollbar-track { background:var(--dark); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:3px; }

/* ===== SKIP LINK (ACCESSIBILITY) ===== */
.skip-link {
  position:absolute; top:-100px; right:0;
  background:var(--neon); color:#000; padding:10px 20px;
  font-weight:700; z-index:99999;
  transition:top 0.3s;
}
.skip-link:focus { top:0; }

/* ===== CONTAINER ===== */
.container { max-width:1280px; margin:0 auto; padding:0 16px; }
.container-sm { max-width:960px; margin:0 auto; padding:0 16px; }

/* ===== GRID UTILITIES ===== */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.grid-auto { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:16px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size:clamp(26px,5vw,52px); font-weight:900; line-height:1.2; }
h2 { font-size:clamp(20px,3vw,34px); font-weight:800; line-height:1.25; }
h3 { font-size:clamp(16px,2vw,22px); font-weight:700; line-height:1.35; }
h4 { font-size:16px; font-weight:700; }
h5 { font-size:14px; font-weight:600; }
p  { line-height:1.75; color:var(--text-muted); }

.text-gold  { color:var(--gold-light); }
.text-neon  { color:var(--neon); }
.text-muted { color:var(--text-muted); }
.text-center{ text-align:center; }

/* ===== GLOWING DIVIDER ===== */
.glowing-divider {
  width:70px; height:3px;
  background:linear-gradient(90deg,var(--gold),var(--neon));
  border-radius:2px; margin-top:14px;
  box-shadow:0 0 10px var(--gold-glow);
}
.glowing-divider.centered { margin-left:auto; margin-right:auto; }

/* ===== SECTION LABEL ===== */
.section-label {
  display:inline-flex; align-items:center; gap:8px;
  color:var(--gold); font-size:12px; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase;
  margin-bottom:10px;
}
.section-label::before { content:''; width:20px; height:2px; background:var(--gold); display:block; }

/* ===== SECTION ===== */
.section { padding:64px 0; }
.section-alt { background:var(--dark); }
.section-head { margin-bottom:36px; }
.section-head .desc { color:var(--text-muted); font-size:15px; margin-top:8px; max-width:560px; }
.section-head.centered { text-align:center; }
.section-head.centered .desc { margin-left:auto; margin-right:auto; }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 24px; border-radius:var(--radius-sm);
  font-size:14px; font-weight:700; border:none;
  transition:var(--transition); cursor:pointer;
  white-space:nowrap; text-align:center;
}
.btn-lg { padding:14px 32px; font-size:16px; border-radius:var(--radius); }
.btn-sm { padding:8px 16px; font-size:13px; }
.btn-block { display:flex; width:100%; justify-content:center; }

.btn-primary {
  background:linear-gradient(135deg,var(--neon),#00cc6a);
  color:#000;
  box-shadow:0 0 20px var(--neon-glow);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 30px var(--neon-glow); }

.btn-gold {
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#000;
  box-shadow:0 0 20px var(--gold-glow);
}
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 6px 30px var(--gold-glow); }

.btn-outline {
  background:transparent; border:1px solid var(--border2);
  color:var(--text-muted);
}
.btn-outline:hover { border-color:var(--gold); color:var(--gold); background:var(--gold-glow); }

.btn-ghost {
  background:var(--card2); border:1px solid var(--border);
  color:var(--text-muted);
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); }

/* ===== BADGES ===== */
.badge {
  display:inline-block;
  padding:3px 10px; border-radius:6px;
  font-size:11px; font-weight:700;
}
.badge-neon { background:rgba(0,255,136,0.1); border:1px solid rgba(0,255,136,0.25); color:var(--neon); }
.badge-gold { background:rgba(201,162,39,0.1); border:1px solid rgba(201,162,39,0.25); color:var(--gold-light); }
.badge-red  { background:rgba(255,59,92,0.1); border:1px solid rgba(255,59,92,0.25); color:var(--red); }
.badge-hot  { background:linear-gradient(135deg,var(--red),#ff6b35); color:#fff; }

/* ===== STARS ===== */
.stars { color:var(--gold); font-size:14px; letter-spacing:2px; }
.stars-sm { font-size:12px; }

/* ===== CARDS BASE ===== */
.card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  transition:var(--transition);
}
.card:hover { border-color:var(--border2); }
.card-body { padding:18px; }
.card-gold:hover { border-color:var(--gold-dim); }
.card-neon:hover { border-color:rgba(0,255,136,0.3); box-shadow:0 6px 24px rgba(0,255,136,0.08); }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position:fixed; top:0; right:0; left:0; z-index:1000;
  background:rgba(4,4,7,0.9);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.header-inner {
  display:flex; align-items:center; gap:16px;
  height:62px;
}

/* LOGO */
.site-logo {
  display:flex; align-items:center; gap:10px;
  flex-shrink:0; text-decoration:none;
}
.logo-icon {
  width:40px; height:40px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.logo-text {
  font-size:22px; font-weight:900; letter-spacing:-0.5px;
  color:var(--gold-light);
}
.logo-text span { color:var(--neon); }

/* MAIN NAV */
.main-nav { display:flex; align-items:center; gap:2px; flex:1; }
.main-nav a {
  color:var(--text-muted); padding:8px 13px;
  border-radius:8px; font-size:14px; font-weight:500;
  transition:var(--transition);
}
.main-nav a:hover,
.main-nav a.current { color:var(--gold-light); background:rgba(201,162,39,0.08); }

/* HEADER ACTIONS */
.header-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }

/* HAMBURGER */
.nav-toggle {
  display:none; background:none; border:1px solid var(--border2);
  color:var(--text); padding:8px 12px; border-radius:8px;
  font-size:18px; line-height:1;
}
.nav-toggle[aria-expanded="true"] .icon-open { display:none; }
.nav-toggle[aria-expanded="false"] .icon-close { display:none; }

/* MOBILE DRAWER */
.mobile-drawer {
  display:none; position:fixed;
  top:62px; right:0; left:0; bottom:0; z-index:999;
  background:rgba(4,4,7,0.97);
  backdrop-filter:blur(20px);
  padding:24px 16px;
  overflow-y:auto;
  flex-direction:column; gap:8px;
}
.mobile-drawer.open { display:flex; }
.mobile-drawer a {
  color:var(--text); padding:14px 16px;
  border:1px solid var(--border); border-radius:10px;
  font-size:16px; font-weight:600;
  transition:var(--transition);
}
.mobile-drawer a:hover { border-color:var(--gold); color:var(--gold); }
.mobile-drawer .drawer-cta { margin-top:16px; }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb-bar {
  background:var(--dark); border-bottom:1px solid var(--border);
  padding:10px 0;
}
.breadcrumb {
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  font-size:13px; color:var(--text-dim);
}
.breadcrumb a { color:var(--text-dim); transition:0.2s; }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb .sep { color:var(--text-dim); }
.breadcrumb .current { color:var(--text-muted); }

/* =========================================
   HERO
   ========================================= */
.hero {
  padding:100px 0 70px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(201,162,39,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 85%, rgba(0,255,136,0.06) 0%, transparent 50%),
    var(--black);
  position:relative; overflow:hidden;
}
.hero::before {
  content:'';
  position:absolute; inset:0; pointer-events:none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 55px, rgba(201,162,39,0.025) 55px, rgba(201,162,39,0.025) 56px),
    repeating-linear-gradient(90deg, transparent, transparent 55px, rgba(201,162,39,0.025) 55px, rgba(201,162,39,0.025) 56px);
}
.hero-content { position:relative; text-align:center; max-width:780px; margin:0 auto; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(0,255,136,0.08); border:1px solid rgba(0,255,136,0.2);
  color:var(--neon); padding:6px 16px; border-radius:20px;
  font-size:12px; font-weight:700; margin-bottom:22px;
}
.hero-badge .pulse { animation:pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title { margin-bottom:18px; }
.hero-subtitle { font-size:16px; color:var(--text-muted); margin-bottom:32px; }
.hero-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.hero-stats {
  display:flex; gap:0; justify-content:center; margin-top:52px;
  border:1px solid var(--border); border-radius:var(--radius);
  background:rgba(13,13,24,0.8); overflow:hidden;
  max-width:600px; margin-left:auto; margin-right:auto;
}
.hero-stat {
  flex:1; padding:18px 16px; text-align:center;
  border-left:1px solid var(--border);
}
.hero-stat:last-child { border-left:none; }
.stat-num { font-size:26px; font-weight:900; color:var(--gold-light); line-height:1; }
.stat-label { font-size:12px; color:var(--text-muted); margin-top:4px; }

/* =========================================
   AD BANNER
   ========================================= */
.ad-banner {
  background:linear-gradient(135deg, rgba(201,162,39,0.08), rgba(0,255,136,0.05));
  border:1px solid rgba(201,162,39,0.25); border-radius:var(--radius);
  padding:18px 22px; display:flex; align-items:center; gap:18px;
  margin-bottom:32px; position:relative; overflow:hidden;
}
.ad-banner::before {
  content:'تبلیغات';
  position:absolute; top:6px; left:10px;
  font-size:10px; color:var(--text-dim);
}
.ad-banner-icon { font-size:40px; flex-shrink:0; }
.ad-banner-content { flex:1; min-width:0; }
.ad-banner-title { font-size:17px; font-weight:800; color:var(--gold-light); margin-bottom:4px; }
.ad-banner-sub { font-size:13px; color:var(--text-muted); }

/* =========================================
   SITES TABLE (SECTION 1)
   ========================================= */
.sites-table { display:flex; flex-direction:column; gap:10px; }

.site-row {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:18px 20px;
  display:flex; align-items:center; gap:16px;
  transition:var(--transition); position:relative; overflow:hidden;
}
.site-row::after {
  content:''; position:absolute;
  top:0; right:0; width:3px; height:100%;
  background:linear-gradient(180deg,var(--gold),var(--neon));
  opacity:0; transition:0.25s;
}
.site-row:hover { border-color:var(--gold-dim); transform:translateX(-3px); }
.site-row:hover::after { opacity:1; }

.site-rank {
  font-size:13px; font-weight:900; color:var(--text-dim);
  min-width:26px; text-align:center; flex-shrink:0;
}
.site-rank.gold { color:var(--gold-light); font-size:18px; }
.site-rank.silver { color:#aaa; font-size:18px; }
.site-rank.bronze { color:#cd7f32; font-size:18px; }

.site-logo {
  width:52px; height:52px; border-radius:10px;
  background:var(--card2); border:1px solid var(--border2);
  display:flex; align-items:center; justify-content:center;
  font-size:22px; flex-shrink:0; overflow:hidden;
}
.site-logo img { width:100%; height:100%; object-fit:contain; }

.site-info { flex:1; min-width:0; }
.site-name { font-size:16px; font-weight:700; color:var(--text); margin-bottom:4px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.site-tags { display:flex; gap:5px; flex-wrap:wrap; margin-top:4px; }

.site-bonus { text-align:center; flex-shrink:0; min-width:120px; }
.bonus-pct { font-size:22px; font-weight:900; color:var(--gold-light); line-height:1; }
.bonus-label { font-size:11px; color:var(--text-muted); margin-top:2px; }

.site-actions { display:flex; gap:8px; flex-shrink:0; }

/* =========================================
   GAMES GRID (SECTION 2)
   ========================================= */
.games-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px,1fr)); gap:14px; }

.game-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  transition:var(--transition); text-decoration:none; color:inherit;
  display:block;
}
.game-card:hover { transform:translateY(-5px); border-color:var(--gold-dim); }
.game-card:hover .game-thumb-inner { transform:scale(1.06); }

.game-thumb { height:120px; overflow:hidden; position:relative; }
.game-thumb-inner {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:48px; transition:transform 0.4s;
}
.game-rtp {
  position:absolute; bottom:8px; right:8px;
  background:rgba(0,0,0,0.7); color:var(--neon);
  font-size:11px; font-weight:700; padding:2px 7px; border-radius:5px;
}
.game-body { padding:12px 14px; }
.game-name { font-size:14px; font-weight:700; margin-bottom:6px; }
.game-footer { display:flex; align-items:center; justify-content:space-between; }
.game-cat { font-size:11px; color:var(--text-muted); }

/* GAME THUMB GRADIENTS */
.gd-1  { background:linear-gradient(135deg,#1a0030,#3d0070); }
.gd-2  { background:linear-gradient(135deg,#001a3d,#003d80); }
.gd-3  { background:linear-gradient(135deg,#1a2a00,#3d6000); }
.gd-4  { background:linear-gradient(135deg,#3d0010,#800020); }
.gd-5  { background:linear-gradient(135deg,#1a1500,#403000); }
.gd-6  { background:linear-gradient(135deg,#001a18,#003d38); }
.gd-7  { background:linear-gradient(135deg,#2a001a,#600040); }
.gd-8  { background:linear-gradient(135deg,#0a0a20,#202060); }
.gd-9  { background:linear-gradient(135deg,#200a00,#503000); }
.gd-10 { background:linear-gradient(135deg,#001a10,#003030); }

/* =========================================
   APPS GRID (SECTION 3)
   ========================================= */
.apps-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(255px,1fr)); gap:14px; }

.app-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:18px;
  transition:var(--transition); color:inherit;
  display:flex; flex-direction:column; gap:14px;
}
.app-card:hover { border-color:rgba(0,255,136,0.3); transform:translateY(-4px); box-shadow:0 8px 28px rgba(0,255,136,0.08); }
.app-header { display:flex; align-items:center; gap:12px; }
.app-icon {
  width:54px; height:54px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:26px; flex-shrink:0; border:1px solid var(--border2);
}
.app-name { font-size:15px; font-weight:700; margin-bottom:6px; }
.app-versions { display:flex; gap:5px; flex-wrap:wrap; }
.ver { font-size:10px; font-weight:700; padding:2px 7px; border-radius:5px; }
.ver-a { background:rgba(0,255,136,0.1); border:1px solid rgba(0,255,136,0.25); color:var(--neon); }
.ver-i { background:rgba(201,162,39,0.1); border:1px solid rgba(201,162,39,0.25); color:var(--gold-light); }
.app-rating { font-size:13px; color:var(--text-muted); }

/* =========================================
   BONUSES (SECTION 4)
   ========================================= */
.bonuses-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(210px,1fr)); gap:14px; }

.bonus-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:22px 18px; text-align:center;
  transition:var(--transition); position:relative; overflow:hidden;
}
.bonus-card::after {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 50% 0%, rgba(201,162,39,0.07) 0%, transparent 70%);
  opacity:0; transition:0.4s;
}
.bonus-card:hover { border-color:var(--gold-dim); }
.bonus-card:hover::after { opacity:1; }
.bonus-card-icon { font-size:38px; margin-bottom:12px; }
.bonus-card-title { font-size:15px; font-weight:700; margin-bottom:8px; }
.bonus-card-value { font-size:28px; font-weight:900; color:var(--gold-light); margin-bottom:6px; line-height:1; }
.bonus-card-desc { font-size:12px; color:var(--text-muted); line-height:1.6; }

/* =========================================
   TOURNAMENTS (SECTION 5)
   ========================================= */
.tournaments-list { display:flex; flex-direction:column; gap:10px; }

.tournament-item {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:16px 20px;
  display:flex; align-items:center; gap:16px;
  transition:var(--transition);
}
.tournament-item:hover { border-color:var(--gold-dim); }
.tournament-icon { font-size:30px; flex-shrink:0; }
.tournament-info { flex:1; min-width:0; }
.tournament-name { font-size:15px; font-weight:700; margin-bottom:5px; }
.tournament-meta { display:flex; gap:14px; flex-wrap:wrap; }
.meta-chip {
  display:flex; align-items:center; gap:4px;
  font-size:12px; color:var(--text-muted);
}
.tournament-prize { text-align:center; flex-shrink:0; min-width:90px; }
.prize-num { font-size:18px; font-weight:900; color:var(--gold-light); line-height:1; }
.prize-sub { font-size:10px; color:var(--text-muted); }

/* =========================================
   PREDICTIONS (SECTION 6)
   ========================================= */
.matches-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(290px,1fr)); gap:14px; }

.match-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:18px;
  transition:var(--transition);
}
.match-card:hover { border-color:var(--gold-dim); }
.match-league-label {
  display:flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; color:var(--text-muted);
  margin-bottom:14px; letter-spacing:0.5px;
}
.league-dot { width:6px; height:6px; border-radius:50%; background:var(--gold); flex-shrink:0; }

.match-time {
  font-size:11px; color:var(--neon);
  background:rgba(0,255,136,0.08); border:1px solid rgba(0,255,136,0.15);
  padding:2px 8px; border-radius:5px; margin-right:auto;
}

.match-teams { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.match-team { flex:1; text-align:center; }
.team-emoji { font-size:34px; margin-bottom:5px; }
.team-label { font-size:13px; font-weight:700; }
.vs-text { font-size:13px; font-weight:900; color:var(--text-dim); flex-shrink:0; }

.match-odds { display:flex; gap:6px; }
.odd-btn {
  flex:1; background:var(--card2); border:1px solid var(--border2);
  border-radius:8px; padding:9px 6px; text-align:center;
  cursor:pointer; transition:var(--transition);
  text-decoration:none; color:inherit;
}
.odd-btn:hover { background:var(--neon); border-color:var(--neon); }
.odd-btn:hover .odd-val { color:#000; }
.odd-btn:hover .odd-lbl { color:rgba(0,0,0,0.65); }
.odd-lbl { font-size:10px; color:var(--text-muted); margin-bottom:3px; }
.odd-val { font-size:16px; font-weight:900; color:var(--neon); }

/* =========================================
   REVIEWS (SECTION 7)
   ========================================= */
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(290px,1fr)); gap:14px; }

.review-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:20px;
  transition:var(--transition);
}
.review-card:hover { border-color:var(--border2); box-shadow:var(--shadow); }
.review-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.reviewer-avatar {
  width:42px; height:42px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:900; flex-shrink:0; color:#fff;
}
.reviewer-name { font-size:14px; font-weight:700; }
.review-date { font-size:11px; color:var(--text-dim); margin-top:2px; }
.review-text { font-size:13px; color:var(--text-muted); line-height:1.7; margin-top:10px; }
.review-verified {
  display:inline-flex; align-items:center; gap:4px;
  font-size:11px; color:var(--neon); font-weight:600; margin-top:10px;
}

/* REVIEW FORM */
.review-form {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); padding:24px; margin-top:28px;
}
.review-form h3 { font-size:17px; font-weight:700; margin-bottom:18px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:13px; font-weight:600; color:var(--text-muted); }
.form-control {
  background:var(--card2); border:1px solid var(--border2);
  color:var(--text); padding:11px 14px; border-radius:8px;
  font-family:'Vazirmatn',sans-serif; font-size:14px;
  outline:none; direction:rtl; transition:0.2s;
  width:100%;
}
.form-control:focus { border-color:var(--gold); }
.form-control::placeholder { color:var(--text-dim); }
textarea.form-control { resize:vertical; min-height:100px; }
.star-rating { display:flex; gap:5px; flex-direction:row-reverse; justify-content:flex-end; }
.star-rating input { display:none; }
.star-rating label { font-size:26px; color:var(--text-dim); cursor:pointer; transition:0.15s; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color:var(--gold); }
.form-footer { display:flex; justify-content:flex-end; margin-top:16px; }

/* =========================================
   ARTICLES (SECTION 8)
   ========================================= */
.articles-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(270px,1fr)); gap:18px; }

.article-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden;
  transition:var(--transition); text-decoration:none; color:inherit;
  display:flex; flex-direction:column;
}
.article-card:hover { transform:translateY(-5px); border-color:var(--gold-dim); }
.article-card:hover .article-img { transform:scale(1.04); }

.article-thumb { height:160px; overflow:hidden; position:relative; }
.article-img {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:64px; transition:transform 0.4s;
}
.article-cat-badge {
  position:absolute; bottom:10px; right:10px;
  background:rgba(201,162,39,0.85); color:#000;
  font-size:11px; font-weight:700; padding:3px 9px; border-radius:5px;
}
.article-body { padding:16px; flex:1; display:flex; flex-direction:column; }
.article-title { font-size:15px; font-weight:700; line-height:1.5; margin-bottom:10px; flex:1; color:var(--text); }
.article-meta { display:flex; gap:12px; font-size:11px; color:var(--text-dim); margin-top:auto; }
.article-read-more { font-size:12px; color:var(--gold); font-weight:600; margin-top:8px; display:inline-flex; align-items:center; gap:4px; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  padding:72px 0; text-align:center;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0,255,136,0.07) 0%, transparent 60%),
    var(--dark);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.cta-section h2 { margin-bottom:14px; }
.cta-section p { font-size:16px; max-width:480px; margin:0 auto 28px; }
.cta-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* =========================================
   SHOW MORE
   ========================================= */
.show-more-wrap { text-align:center; margin-top:24px; }
.btn-load-more {
  background:var(--card); border:1px solid var(--border2);
  color:var(--text-muted); padding:12px 36px; border-radius:10px;
  font-size:14px; font-weight:600; transition:var(--transition);
}
.btn-load-more:hover { border-color:var(--gold); color:var(--gold); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background:var(--dark); border-top:1px solid var(--border);
  padding:56px 0 28px;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:36px; margin-bottom:40px;
}
.footer-brand .site-logo { margin-bottom:14px; }
.footer-brand p { font-size:13px; color:var(--text-muted); line-height:1.8; max-width:270px; }
.footer-col h4 { font-size:13px; font-weight:700; color:var(--gold-light); margin-bottom:14px; letter-spacing:0.5px; }
.footer-col li { margin-bottom:9px; }
.footer-col a { color:var(--text-muted); font-size:13px; transition:0.2s; }
.footer-col a:hover { color:var(--gold-light); padding-right:3px; }
.footer-social { display:flex; gap:10px; margin-top:16px; }
.social-btn {
  width:36px; height:36px; border-radius:8px;
  background:var(--card2); border:1px solid var(--border2);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; transition:var(--transition);
}
.social-btn:hover { border-color:var(--gold); background:var(--gold-glow); }

.footer-warning {
  background:rgba(255,59,92,0.07); border:1px solid rgba(255,59,92,0.15);
  border-radius:10px; padding:12px 16px; margin-bottom:24px;
  font-size:12px; color:var(--text-muted);
  display:flex; align-items:flex-start; gap:8px;
}
.footer-bottom {
  padding-top:22px; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:var(--text-dim); flex-wrap:wrap; gap:10px;
}
.footer-links { display:flex; gap:16px; }
.footer-links a { color:var(--text-dim); transition:0.2s; }
.footer-links a:hover { color:var(--gold); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position:fixed; bottom:24px; left:24px; z-index:500;
  width:42px; height:42px; border-radius:10px;
  background:var(--card); border:1px solid var(--border2);
  color:var(--text-muted); font-size:18px;
  display:flex; align-items:center; justify-content:center;
  transition:var(--transition); opacity:0; pointer-events:none;
}
.back-to-top.visible { opacity:1; pointer-events:auto; }
.back-to-top:hover { border-color:var(--gold); color:var(--gold); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to { opacity:1; transform:translateY(0); }
}
.fade-up { animation:fadeUp 0.5s ease both; }
.delay-1 { animation-delay:0.1s; }
.delay-2 { animation-delay:0.2s; }
.delay-3 { animation-delay:0.3s; }
.delay-4 { animation-delay:0.4s; }

/* =========================================
   RESPONSIVE — Tablet (≤1024px)
   ========================================= */
@media (max-width:1024px) {
  .main-nav { display:none; }
  .nav-toggle { display:flex; align-items:center; justify-content:center; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-brand { grid-column:1/-1; }
}

/* =========================================
   RESPONSIVE — Mobile (≤768px)
   ========================================= */
@media (max-width:768px) {
  .section { padding:44px 0; }
  .hero { padding:80px 0 50px; }
  .hero-stats { flex-direction:row; flex-wrap:wrap; }
  .hero-stat { min-width:calc(50% - 1px); border-bottom:1px solid var(--border); }
  .hero-stat:nth-child(odd) { border-left:none; }
  .hero-stat:nth-last-child(-n+2) { border-bottom:none; }

  .site-row { flex-wrap:wrap; gap:12px; }
  .site-bonus { min-width:auto; }
  .site-actions { width:100%; }
  .site-actions .btn { flex:1; justify-content:center; }

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

  .tournament-item { flex-wrap:wrap; gap:12px; }
  .tournament-prize { order:-1; flex:0 0 auto; }

  .form-row { grid-template-columns:1fr; }

  .footer-grid { grid-template-columns:1fr; }
  .footer-brand p { max-width:100%; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .ad-banner { flex-wrap:wrap; }
  .ad-banner .btn { width:100%; justify-content:center; }
}

/* =========================================
   RESPONSIVE — Small Mobile (≤480px)
   ========================================= */
@media (max-width:480px) {
  h1 { font-size:24px; }
  h2 { font-size:20px; }
  .hero-buttons .btn { width:100%; justify-content:center; }
  .games-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
  .bonuses-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .matches-grid { grid-template-columns:1fr; }
  .reviews-grid { grid-template-columns:1fr; }
  .articles-grid { grid-template-columns:1fr; }
  .cta-buttons .btn { width:100%; justify-content:center; }
  .back-to-top { bottom:16px; left:16px; }
}

/* =========================================
   PRINT
   ========================================= */
@media print {
  .site-header, .back-to-top, .mobile-drawer, .nav-toggle { display:none !important; }
  body { background:#fff; color:#000; }
}
