﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600&display=swap');

:root {
  --header-height: 68px;
  --header-panel-gap: 18px;
  --hero-panel-min-height: 320px;
  --hero-panel-min-height-extended: 388px;
  --hero-panel-padding-top: 64px;
  --hero-panel-padding-bottom: 132px;
  --hero-panel-padding-bottom-extended: 172px;
  --gold: #c8963e;
  --gold-light: #f0c060;
  --gold-dim: #7a5520;
  --bg-deep: #060810;
  --bg-dark: #0a0d1a;
  --bg-card: #0f1425;
  --bg-card2: #131828;
  --accent: #4a7fd4;
  --accent2: #6b4fcc;
  --red: #c43c3c;
  --text: #d0d8f0;
  --text-dim: #7880a0;
  --border: rgba(200,150,62,0.18);
  --border2: rgba(100,120,200,0.15);
  --glow-gold: 0 0 20px rgba(200,150,62,0.4);
  --glow-blue: 0 0 20px rgba(74,127,212,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(200,150,62,0.46) rgba(255,255,255,0.05);
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(9,13,24,0.96), rgba(7,10,18,0.96));
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(240,192,96,0.82), rgba(200,150,62,0.72));
  border-radius: 999px;
  border: 2px solid rgba(8,12,22,0.96);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255,210,110,0.95), rgba(214,162,64,0.84));
}

body::-webkit-scrollbar-corner,
html::-webkit-scrollbar-corner {
  background: rgba(7,10,18,0.96);
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* CURSOR */
html, body {
  cursor: default;
}

a,
button,
.btn-login,
.btn-register,
.btn-primary,
.btn-secondary,
.rank-tab,
#scrollTop {
  cursor: pointer;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ NAVBAR ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
nav {
  position: sticky; top: 0; width: 100%; z-index: 1100;
  padding: 0 40px;
  min-height: var(--header-height);
  height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(8,12,22,0.98) 0%, rgba(6,9,18,0.98) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,150,62,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
  transition: background .3s, border-color .3s, box-shadow .3s, min-height .3s, height .3s;
}
nav.scrolled {
  background: rgba(6,9,18,0.98);
  border-bottom-color: rgba(200,150,62,0.14);
  min-height: calc(var(--header-height) - 4px);
  height: calc(var(--header-height) - 4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.36);
}
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: auto;
  border-bottom: none;
  box-shadow: none;
}
#siteHeader + .page-hero,
#siteHeader + .shop-hero,
#siteHeader + .wheel-hero {
  margin-top: var(--header-panel-gap);
}
.page-hero,
.shop-hero,
.wheel-hero {
  position: relative;
  min-height: var(--hero-panel-min-height);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-deep);
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 18px 42px rgba(0,0,0,0.18);
}
.page-hero {
  padding: var(--hero-panel-padding-top) 0 var(--hero-panel-padding-bottom);
}
.shop-hero {
  min-height: var(--hero-panel-min-height-extended);
  padding: var(--hero-panel-padding-top) 0 var(--hero-panel-padding-bottom-extended);
}
.wheel-hero {
  min-height: var(--hero-panel-min-height-extended);
  padding: var(--hero-panel-padding-top) 0 var(--hero-panel-padding-bottom);
}
.page-hero::before,
.shop-hero::before,
.wheel-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,16,0.18) 0%, rgba(6,8,16,0.42) 56%, rgba(6,8,16,0.7) 100%),
    radial-gradient(ellipse 70% 50% at 50% 28%, rgba(200,150,62,0.08) 0%, transparent 72%);
  pointer-events: none;
}
.page-hero > *,
.shop-hero > *,
.wheel-hero > * {
  position: relative;
  z-index: 1;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(200,150,62,0.28));
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 18px; font-weight: 900;
  color: #fff;
  box-shadow: var(--glow-gold);
}
.nav-logo span {
  font-family: 'Cinzel', serif;
  font-size: 22px; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.nav-links {
  display: flex; gap: 6px; align-items: center;
}
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-parent-link::after {
  content: '\25BE';
  margin-left: 8px;
  font-size: 10px;
  opacity: 0.8;
}
.nav-links a:hover { color: var(--gold-light); background: rgba(200,150,62,0.08); }
.nav-links a.active { color: var(--gold-light); }
.nav-item-dropdown.active > .nav-parent-link,
.nav-item-dropdown:hover > .nav-parent-link {
  color: var(--gold-light);
  background: rgba(200,150,62,0.08);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 8px;
  background: rgba(10,13,26,0.98);
  border: 1px solid rgba(200,150,62,0.18);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 1200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  display: flex;
}
.nav-dropdown-menu a {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 1.2px;
}
.nav-actions { display: flex; gap: 10px; align-items: center; position: relative; }
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--gold-light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(200,150,62,0.06);
  cursor: pointer;
}
.nav-user::after {
  content: '\25BE';
  font-size: 11px;
  opacity: 0.8;
}
.nav-user:hover {
  border-color: rgba(200,150,62,0.36);
  background: rgba(200,150,62,0.1);
}
.nav-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 8px;
  background: rgba(10,13,26,0.98);
  border: 1px solid rgba(200,150,62,0.18);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 1200;
}
.nav-user-menu.show {
  display: flex;
}
.nav-user-menu a,
.nav-user-menu button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.nav-user-menu a:hover,
.nav-user-menu button:hover {
  background: rgba(200,150,62,0.08);
  color: var(--gold-light);
}
.nav-user-menu .danger-item:hover {
  background: rgba(196,60,60,0.12);
  color: #ffb0b0;
}
.btn-login {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 22px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s;
}
.btn-login:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(200,150,62,0.06); }
.btn-register {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--gold) 0%, #a06820 100%);
  border: none; color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 0 16px rgba(200,150,62,0.3);
}
.btn-register:hover { box-shadow: 0 0 28px rgba(200,150,62,0.6); transform: translateY(-1px); }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ HERO ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,16,0.35) 0%, rgba(6,8,16,0.68) 55%, rgba(6,8,16,0.92) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(74,127,212,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(107,79,204,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(200,150,62,0.08) 0%, transparent 60%),
    url('../images/img/banner/banner6.jpg') center/cover no-repeat,
    linear-gradient(180deg, var(--bg-deep) 0%, #080c1c 60%, var(--bg-deep) 100%);
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,150,62,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,150,62,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 0 20px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,62,0.1);
  border: 1px solid rgba(200,150,62,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 32px;
  animation: fade-up .8s .2s both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-light);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 40%, var(--gold) 70%, #c87030 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  animation: fade-up .8s .35s both;
}
.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 3vw, 26px);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fade-up .8s .45s both;
}
.hero-desc {
  font-size: 17px; color: var(--text-dim);
  line-height: 1.7;
  max-width: 560px; margin: 0 auto 44px;
  animation: fade-up .8s .55s both;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fade-up .8s .65s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold) 0%, #b07030 100%);
  color: #fff; border: none;
  border-radius: 4px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(200,150,62,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all .25s; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left .4s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(200,150,62,0.6); }
.btn-primary:hover::before { left: 140%; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 40px;
  background: transparent;
  color: var(--text); border: 1.5px solid rgba(150,170,220,0.3);
  border-radius: 4px; text-decoration: none;
  transition: all .25s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(74,127,212,0.08); transform: translateY(-3px); }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ STATS BAR ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  position: relative; z-index: 10;
}
.stats-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stats-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  }
.stat-item {
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    min-width: 280px;
  }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 32px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim);
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ SECTIONS ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
section { padding: 100px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 40px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #fff; margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.8; max-width: 560px;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ FEATURES ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.features-bg {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(107,79,204,0.07) 0%, transparent 70%),
    var(--bg-dark);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 60px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: all .3s;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(100,120,200,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(74,127,212,0.15), rgba(107,79,204,0.15));
  border: 1px solid rgba(74,127,212,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #fff; margin-bottom: 10px;
  letter-spacing: .5px;
}
.feature-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ NEWS ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.news-slider {
  margin-top: 50px;
  overflow: visible;
}
.news-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.news-slider-copy {
  margin: 0;
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.7;
}
.news-slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(200,150,62,0.24);
  background: rgba(255,255,255,0.02);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s, color .2s;
}
.news-arrow:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(200,150,62,0.12);
  color: var(--gold-light);
}
.news-slider-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; overflow: hidden;
  transition: all .3s;
  min-height: 100%;
  position: relative;
  text-decoration: none;
  display: block;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); border-color: rgba(200,150,62,0.25); }
.news-img {
  height: 220px;
  background: linear-gradient(135deg, #0d1530, #1a0d30);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  position: relative; overflow: hidden;
}
.news-img-sm { height: 180px; }
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.news-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,13,26,0.9) 100%);
}
.news-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
}
.news-tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); background: rgba(200,150,62,0.1);
  border: 1px solid rgba(200,150,62,0.25);
  padding: 3px 12px; border-radius: 100px;
  margin-bottom: 12px;
}
.news-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #fff; margin-bottom: 8px; line-height: 1.3;
  text-shadow: 0 6px 18px rgba(0,0,0,0.55);
}
.news-card.small .news-title { font-size: 16px; }
.news-excerpt { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.news-meta { font-size: 12px; color: rgba(255,255,255,0.78); }
.news-card.news-thumb .news-tag,
.news-card.news-thumb .news-excerpt,
.news-card.news-thumb .news-rich-body {
  display: none;
}
.news-card.news-thumb .news-title {
  margin-bottom: 4px;
}
.news-card.news-thumb .news-body {
  background: linear-gradient(180deg, transparent 0%, rgba(8,10,18,0.86) 58%, rgba(8,10,18,0.95) 100%);
}
.news-slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.16);
  cursor: pointer;
  transition: width .2s, background .2s;
}
.news-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.news-loading,
.news-empty {
  grid-column: 1 / -1;
  padding: 32px 22px;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 14px;
  color: var(--text-dim);
  text-align: center;
  background: rgba(255,255,255,0.02);
}
.news-rich-body {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 14px;
}
.news-rich-body p:first-child { margin-top: 0; }
.news-rich-body p:last-child { margin-bottom: 0; }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ CLASSES ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.classes-section {
  background: var(--bg-deep);
}
.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 60px;
}
.class-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 20px;
  text-align: center; position: relative; overflow: hidden;
  transition: all .3s;
}
.class-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  transition: opacity .3s;
}
.class-card.swordsman::after { background: linear-gradient(90deg, #c43c3c, #ff6060); }
.class-card.archer::after { background: linear-gradient(90deg, #3caa5c, #60ff80); }
.class-card.mage::after { background: linear-gradient(90deg, #4a7fd4, #80b0ff); }
.class-card.martial::after { background: linear-gradient(90deg, #c89030, #ffd060); }
.class-card:hover { transform: translateY(-6px); }
.class-card:hover::after { opacity: 1; box-shadow: 0 0 20px currentColor; }
.class-emoji { font-size: 48px; margin-bottom: 16px; display: block; }
.class-emoji img {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.class-name {
  font-family: 'Cinzel', serif;
  font-size: 16px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.class-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ HOW TO START ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.howto-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 60px; position: relative; }
.steps::before {
  content: '';
  position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--accent), var(--accent2));
}
.step {
  display: flex; gap: 40px; align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 58px; height: 58px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 20px; font-weight: 900; color: #fff;
  box-shadow: var(--glow-gold);
  position: relative; z-index: 1;
}
.step-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.step-content p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ CTA ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.cta-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center; padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(200,150,62,0.06) 0%, transparent 70%);
}
.cta-section .section-label { justify-content: center; }
.cta-section .section-label::before { display: none; }
.cta-section .section-title { max-width: 600px; margin: 0 auto 20px; }
.cta-section .section-desc { margin: 0 auto 40px; text-align: center; }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ FOOTER ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
footer {
  background: #050710;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 50px;
}
.footer-brand p {
  font-size: 14px; color: var(--text-dim); line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none; color: var(--text-dim);
  transition: all .2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(200,150,62,0.08); }
.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  text-decoration: none; color: var(--text-dim); font-size: 14px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-forum-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
  justify-content: center;
}
.footer-forum-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #f4f7ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: linear-gradient(180deg, rgba(24,30,46,0.96), rgba(16,20,34,0.96));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.footer-forum-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(200,150,62,0.26);
  background: linear-gradient(180deg, rgba(34,41,61,0.98), rgba(19,24,40,0.98));
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ ANIMATIONS ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ RESPONSIVE ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-slider { padding: 22px; }
  .news-slider-head { flex-direction: column; align-items: flex-start; }
  .news-slider-track { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
    --header-panel-gap: 14px;
    --hero-panel-min-height: 248px;
    --hero-panel-min-height-extended: 304px;
    --hero-panel-padding-top: 42px;
    --hero-panel-padding-bottom: 90px;
    --hero-panel-padding-bottom-extended: 118px;
  }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .features-grid, .classes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 16px; }
  .steps::before { left: 20px; }
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ ONLINE BADGE ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.online-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(40,180,80,0.1); border: 1px solid rgba(40,180,80,0.25);
  border-radius: 100px; padding: 4px 12px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; color: #50d090; text-transform: uppercase;
}
.online-badge::before {
  content: ''; width: 6px; height: 6px; background: #50d090;
  border-radius: 50%; box-shadow: 0 0 8px #50d090; animation: pulse 2s infinite;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ SCROLL TOP ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
#scrollTop {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text-dim);
  opacity: 0; transform: translateY(20px);
  transition: all .3s; pointer-events: none; z-index: 900;
}
#scrollTop.show { opacity: 1; transform: translateY(0); pointer-events: all; }
#scrollTop:hover { border-color: var(--gold); color: var(--gold-light); }
