/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1117;
  --bg2: #161b27;
  --bg3: #1e2535;
  --bg4: #252d40;
  --yellow: #f5c518;
  --yellow-dark: #d4ac14;
  --yellow-glow: rgba(245, 197, 24, 0.2);
  --red: #e74c3c;
  --green: #2ecc71;
  --text: #ffffff;
  --text2: #a0aec0;
  --text3: #718096;
  --border: rgba(255,255,255,0.08);
  --sidebar-w: 56px;
  --chat-w: 260px;
  --header-h: 52px;
  --radius: 10px;
  --radius-sm: 6px;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }

/* ===== LEFT SIDEBAR ===== */
.sidebar-left {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  z-index: 200;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  width: 100%;
  padding: 4px 0;
}

.sidebar-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 8px;
}

.sidebar-item {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text3);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.sidebar-item:hover,
.sidebar-item.active {
  background: var(--bg4);
  color: var(--yellow);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: var(--chat-w);
  height: var(--header-h);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  background: none;
  border: none;
  color: var(--text2);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
}
.menu-btn:hover { background: var(--bg4); color: var(--text); }

.header-play-btn {
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-play-btn:hover { background: #ffd84d; transform: translateY(-1px); }

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.dragon-emoji { font-size: 18px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-login:hover { background: var(--yellow-glow); }

.btn-register {
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-register:hover { background: #ffd84d; transform: translateY(-1px); }

.lang-btn {
  background: var(--bg4);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

/* ===== MAIN LAYOUT ===== */
.main-layout {
  margin-left: var(--sidebar-w);
  margin-right: var(--chat-w);
  padding-top: var(--header-h);
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 20px 20px 80px;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero-section {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text { flex: 1; }

.hero-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: fit-content;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  font-size: 20px;
  opacity: 0.7;
}

.stat-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 520px;
}

.btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-signin:hover { background: #ffd84d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.3); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  position: relative;
}

.dragon-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245,197,24,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.bonus-badge {
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.bonus-badge-top {
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.bonus-badge-amount {
  font-size: 40px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.bonus-badge-sub {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 14px;
}

.bonus-badge-btn {
  display: block;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}
.bonus-badge-btn:hover { background: #ffd84d; }

/* ===== PROMO BANNER ===== */
.promo-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.promo-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.promo-item:hover { border-color: rgba(245,197,24,0.3); }

.promo-icon { font-size: 24px; }

.promo-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.promo-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

.promo-link {
  margin-left: auto;
  font-size: 12px;
  color: var(--yellow);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.promo-link:hover { opacity: 0.8; }

/* ===== GAMES NAV ===== */
.games-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.games-nav::-webkit-scrollbar { display: none; }

.game-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg2);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all 0.2s;
}

.game-tab:hover,
.game-tab.active {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

/* ===== GAMES SECTION ===== */
.games-section {
  margin-bottom: 28px;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.section-title-icon { font-size: 18px; }

.players-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg3);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.dot.green { background: var(--green); }
.dot.red { background: var(--red); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.play-all-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--yellow-glow);
  border: 1px solid rgba(245,197,24,0.2);
  transition: all 0.2s;
}
.play-all-btn:hover { background: rgba(245,197,24,0.2); }

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

.game-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  display: block;
}
.game-card:hover { transform: translateY(-4px); }

.game-img {
  position: relative;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #1a1a2e;
}

.game-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.game-card:hover .game-cover {
  transform: scale(1.05);
}

.game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 8px;
}

.game-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.game-provider {
  font-size: 9px;
  color: var(--text3);
  margin-top: 2px;
}

.game-hot {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.7);
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.live-badge { color: var(--red) !important; }

.game-emoji-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 36px;
  opacity: 0.6;
}

.candy-bg {
  position: absolute;
  top: 8px;
  right: 6px;
  font-size: 16px;
  opacity: 0.5;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
}

/* ===== CRASH GRID ===== */
.crash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.crash-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}
.crash-card:hover { border-color: rgba(245,197,24,0.4); transform: translateY(-4px); background: var(--bg3); }

.crash-icon { font-size: 36px; margin-bottom: 8px; }
.crash-name { font-size: 14px; font-weight: 800; color: var(--text); }
.crash-provider { font-size: 11px; color: var(--text3); margin-top: 3px; }
.crash-multiplier {
  display: inline-block;
  background: var(--yellow-glow);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 10px;
  border: 1px solid rgba(245,197,24,0.2);
}

/* ===== WINS FEED ===== */
.wins-section { margin-bottom: 28px; }

.wins-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow: hidden;
}

.win-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.win-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.win-user { font-weight: 700; color: var(--text); }
.win-game { color: var(--text3); flex: 1; }
.win-amount { font-weight: 800; color: var(--yellow); white-space: nowrap; }

/* ===== BONUSES ===== */
.bonuses-section { margin-bottom: 28px; }

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bonus-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s;
  display: block;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bc, var(--yellow));
}

.bonus-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }

.bonus-card-icon { font-size: 32px; margin-bottom: 10px; }
.bonus-card-title { font-size: 12px; color: var(--text2); margin-bottom: 8px; font-weight: 600; }
.bonus-card-amount { font-size: 28px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.bonus-card-sub { font-size: 11px; color: var(--text3); margin-bottom: 14px; }
.bonus-card-btn {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 18px;
  border-radius: 6px;
  transition: all 0.2s;
}
.bonus-card:hover .bonus-card-btn { background: #ffd84d; }

/* ===== FEATURES ===== */
.features-section { margin-bottom: 28px; }

.features-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.2s;
}
.feature-item:hover { border-color: rgba(245,197,24,0.2); }

.feature-icon { font-size: 24px; flex-shrink: 0; }
.feature-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.feature-desc { font-size: 11px; color: var(--text3); line-height: 1.5; }

/* ===== RIGHT SIDEBAR CHAT ===== */
.sidebar-right {
  position: fixed;
  right: 0;
  top: 0;
  width: var(--chat-w);
  height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.chat-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.chat-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.chat-online { font-size: 16px; }

.chat-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text3);
}

.ping-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chat-promo {
  padding: 8px 14px;
  background: rgba(245,197,24,0.06);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--text2);
  line-height: 1.5;
}

.chat-promo-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.chat-promo-link { color: var(--yellow); font-weight: 600; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg4) transparent;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  font-weight: 700;
  color: #000;
}

.chat-msg-body { flex: 1; min-width: 0; }

.chat-msg-user {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.chat-msg-text {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.4;
}

.chat-msg-game {
  font-size: 10px;
  color: var(--text3);
  margin-top: 2px;
}

.chat-input-area {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

.chat-register-prompt {
  display: block;
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
}
.chat-register-prompt:hover { background: #ffd84d; }

/* ===== SEO SECTION ===== */
.seo-section {
  margin-bottom: 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.seo-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.seo-text p {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo-text h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  margin: 16px 0 6px;
}

.seo-text strong {
  color: var(--text2);
  font-weight: 700;
}

@media (max-width: 640px) {
  .seo-section { padding: 16px; }
  .seo-title { font-size: 14px; }
  .seo-text p, .seo-text h3 { font-size: 12px; }
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 11px;
  color: var(--text3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text2); }

.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--text3);
  line-height: 1.5;
  margin: 16px 0;
}

.age-badge {
  background: #e74c3c;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text3);
  padding-bottom: 20px;
}

.streamer-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.streamer-btn:hover { border-color: var(--yellow); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 6px 0 env(safe-area-inset-bottom, 0);
  z-index: 300;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text3);
  font-size: 9px;
  font-weight: 600;
  padding: 6px 4px;
  transition: color 0.2s;
}

.mobile-nav-item.active,
.mobile-nav-item:hover { color: var(--yellow); }

.mobile-nav-item.register-mobile {
  background: var(--yellow);
  color: #000 !important;
  border-radius: 8px;
  margin: 2px 8px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  :root { --chat-w: 220px; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .bonuses-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --chat-w: 0px; }
  .sidebar-right { display: none; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-banner { grid-template-columns: 1fr; }
  .hero-section { flex-direction: column; }
  .hero-visual { display: none; }
}

/* ===== MOBILE (≤640px) ===== */
@media (max-width: 640px) {
  :root {
    --sidebar-w: 0px;
    --header-h: 52px;
  }

  /* Layout */
  .sidebar-left { display: none; }
  .site-header { left: 0; right: 0; padding: 0 10px; gap: 6px; }
  .main-content { padding: 12px 10px 80px; }
  .mobile-nav { display: flex; }

  /* Header — скрыть кнопки, оставить лого по центру */
  .header-logo { position: static; transform: none; flex: 1; justify-content: center; }
  .header-logo-text { font-size: 16px; }
  .header-left { flex-shrink: 0; }
  .header-play-btn { font-size: 11px; padding: 6px 10px; }
  .btn-login { display: none; }
  .btn-register { font-size: 12px; padding: 6px 12px; }
  .lang-btn { display: none; }

  /* Hero */
  .hero-section { padding: 16px; gap: 12px; }
  .hero-title { font-size: 20px; line-height: 1.3; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-divider { display: none; }
  .stat-item { flex-direction: column; gap: 2px; align-items: flex-start; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 10px; }
  .hero-desc { font-size: 12px; }
  .hero-cta { padding: 11px 24px; font-size: 14px; }

  /* Promo banner — горизонтальный скролл */
  .promo-banner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .promo-item { padding: 12px 14px; }
  .promo-title { font-size: 12px; }
  .promo-sub { font-size: 10px; }

  /* Game tabs — горизонтальный скролл без полосы */
  .games-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .games-nav::-webkit-scrollbar { display: none; }
  .game-tab { white-space: nowrap; flex-shrink: 0; font-size: 12px; padding: 7px 12px; }

  /* Section headers */
  .section-header { margin-bottom: 12px; }
  .section-title { font-size: 14px; }
  .play-all-btn { font-size: 12px; white-space: nowrap; }

  /* Game cards — 2 колонки */
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .game-card .game-img { height: 130px; }
  .game-name { font-size: 11px; }
  .game-provider { font-size: 10px; }
  .game-hot { font-size: 9px; padding: 2px 6px; }

  /* Wins feed */
  .wins-feed { max-height: 160px; }
  .win-item { padding: 7px 10px; font-size: 11px; gap: 8px; }
  .win-game { display: none; }

  /* Bonuses — 1 колонка на очень маленьком, 2 на 390+ */
  .bonuses-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bonus-card { padding: 16px 12px; }
  .bonus-card-icon { font-size: 26px; margin-bottom: 8px; }
  .bonus-card-amount { font-size: 22px; }
  .bonus-card-btn { padding: 6px 14px; font-size: 11px; }

  /* Features — 1 колонка */
  .features-grid { grid-template-columns: 1fr; gap: 8px; }
  .features-title { font-size: 16px; }
  .feature-item { padding: 14px; gap: 10px; }

  /* Footer */
  .site-footer { padding: 16px 10px; }
  .footer-links {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .footer-links a { font-size: 11px; }
  .footer-disclaimer { font-size: 11px; flex-direction: column; gap: 6px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .streamer-btn { font-size: 12px; padding: 10px 16px; text-align: center; }

  /* Убираем лишние animations на mobile для производительности */
  .game-card:hover .game-cover { transform: none; }
  .bonus-card:hover { transform: none; }
}

/* ===== EXTRA SMALL (≤380px) ===== */
@media (max-width: 380px) {
  .header-play-btn { display: none; }
  .btn-register { font-size: 11px; padding: 5px 10px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .game-card .game-img { height: 110px; }
  .bonuses-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
}
