/* 
 * Стили дорвей-страницы (Тип А).
 * Тёмная тема с акцентными цветами.
 * Зависимости: нет (standalone CSS).
 */

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

:root {
  --bg-primary: #0b0e14;
  --bg-secondary: #131722;
  --bg-card: #1a1f2e;
  --bg-card-hover: #222840;
  --accent: #00e676;
  --accent-hover: #00c853;
  --accent-gold: #ffd740;
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a6;
  --text-muted: #5f6368;
  --border: #2a2f3e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #00b862);
  color: #000;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #009d53);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,230,118,.3);
  color: #000;
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-secondary:hover {
  background: rgba(0,230,118,.1);
  color: var(--accent-hover);
}

.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: var(--radius); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,14,20,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-fb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #006d3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #000;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.actions { display: flex; gap: 10px; }

/* ===== SUBNAV (внутренняя перелинковка) ===== */
.subnav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.subnav .container { padding: 0; }
.subnav-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 20px;
}
.subnav-scroll::-webkit-scrollbar { display: none; }
.subnav-link {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.subnav-link:hover { color: var(--text-primary); }
.subnav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 10px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }
.bc-sep { margin: 0 6px; }
.bc-current { color: var(--text-muted); }

/* ===== HERO ===== */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1a2332 0%, #0d1520 50%, #142030 100%);
  min-height: 320px;
}

.hero-overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,230,118,.08) 0%, transparent 70%);
}

.hero-text { text-align: center; max-width: 600px; }

.hero-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== LIVE WINS ===== */
.livewins {
  padding: 40px 0 30px;
  overflow: hidden;
}

.lw-head {
  margin-bottom: 16px;
}

.lw-head span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.lw-viewport {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.lw-track {
  display: flex;
  gap: 14px;
  animation: lw-scroll 30s linear infinite;
  width: max-content;
}

.lw-track:hover { animation-play-state: paused; }

@keyframes lw-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lw-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 240px;
  transition: all var(--transition);
  text-decoration: none;
}

.lw-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.lw-icon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lw-card .info { flex: 1; min-width: 0; }

.lw-card .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lw-card .meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-top: 2px;
}

.lw-card .user { color: var(--text-secondary); }
.lw-card .dot  { color: var(--text-muted); }
.lw-card .amt  { color: var(--accent); font-weight: 700; }

/* ===== GAMES GRID ===== */
.games {
  padding: 40px 0;
}

.games-head { margin-bottom: 24px; }

.games-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.games-tab {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,230,118,.15);
}

.game-thumb {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-thumb[data-slot="1"] { background: linear-gradient(135deg, #1a0a2e, #3d1a6e); }
.game-thumb[data-slot="2"] { background: linear-gradient(135deg, #0a1628, #1a3a5c); }
.game-thumb[data-slot="3"] { background: linear-gradient(135deg, #2e0a0a, #6e1a1a); }
.game-thumb[data-slot="4"] { background: linear-gradient(135deg, #0a2e1a, #1a6e3d); }
.game-thumb[data-slot="5"] { background: linear-gradient(135deg, #2e2a0a, #6e5a1a); }
.game-thumb[data-slot="6"] { background: linear-gradient(135deg, #0a2e2e, #1a5a6e); }
.game-thumb[data-slot="7"] { background: linear-gradient(135deg, #2e0a1a, #6e1a4a); }
.game-thumb[data-slot="8"] { background: linear-gradient(135deg, #1a1a2e, #3a3a6e); }
.slot-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  line-height: 1.3;
}

.game-name {
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.games-more { text-align: center; }

/* ===== JACKPOT ===== */
.jackpot {
  padding: 50px 0;
}

.jackpot-box {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1400 0%, #2d2000 50%, #1a1400 100%);
  border: 1px solid rgba(255,215,64,.2);
  position: relative;
  overflow: hidden;
}

.jackpot-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,215,64,.1) 0%, transparent 60%);
  pointer-events: none;
}

.jackpot-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.jackpot-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 24px;
  text-shadow: 0 0 24px rgba(255,215,64,.3);
}

/* ===== ПЛАТЕЖИ ===== */
.pays {
  padding: 40px 0;
}

.pays-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.pays-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pay-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.pay-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* ===== SEO CONTENT ===== */
.content {
  padding: 50px 0 60px;
}

.content-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-inner h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--text-primary);
}

.content-inner h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.content-inner h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--accent);
}

.content-inner p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-inner ul, .content-inner ol {
  margin: 10px 0 16px 20px;
  color: var(--text-secondary);
}

.content-inner li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.content-inner th,
.content-inner td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.content-inner th {
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text-primary);
}

.content-inner td {
  color: var(--text-secondary);
}

.content-inner strong { color: var(--text-primary); }
.content-inner em { color: var(--accent); font-style: normal; }

/* ===== OTHER BRANDS (межбрендовая перелинковка) ===== */
.other-brands {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.ob-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: center;
}
.ob-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.ob-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  text-decoration: none;
  transition: all var(--transition);
}
.ob-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.ob-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #006d3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 10px;
  color: #000;
  flex-shrink: 0;
}
.ob-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
}

.footer-wrap {
  text-align: center;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links a:hover { color: var(--accent); }

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-wrap { height: 56px; }
  .actions .btn { padding: 8px 14px; font-size: 12px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-overlay { padding: 30px 20px; min-height: 260px; }
  .jackpot-amount { font-size: 32px; }
  .content-inner h1 { font-size: 24px; }
  .content-inner h2 { font-size: 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .hero-title { font-size: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .jackpot-amount { font-size: 24px; }
}
