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

:root {
  --bg-body: #050814;
  --bg-surface: #0a0e1e;
  --bg-card: #111630;
  --bg-card-hover: #161d40;
  --bg-glass: rgba(5,8,20,.94);
  --primary: #a6ff00;
  --primary-dim: rgba(166,255,0,.1);
  --primary-glow: rgba(166,255,0,.25);
  --accent: #a6ff00;
  --accent-hover: #c0ff40;
  --accent-dim: rgba(166,255,0,.1);
  --accent-glow: rgba(166,255,0,.25);
  --secondary: #00b4ff;
  --secondary-dim: rgba(0,180,255,.1);
  --secondary-glow: rgba(0,180,255,.25);
  --text: #c8cfe0;
  --text-heading: #ffffff;
  --text-muted: #7a85a0;
  --border: rgba(255,255,255,.06);
  --border-light: rgba(255,255,255,.1);
  --header-height: 64px;
  --filter-height: 52px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.22s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.65;
  max-width: 100vw;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 999px; font-weight: 600;
  font-size: 14px; cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none; min-height: 40px; white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: linear-gradient(135deg, #8de600 0%, #a6ff00 100%);
  color: #050814; font-weight: 700;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #7acc00 0%, #96e800 100%);
  color: #050814;
  box-shadow: 0 6px 24px var(--primary-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim); color: var(--accent);
}
.btn-accent {
  background: linear-gradient(135deg, #8de600 0%, #a6ff00 100%);
  color: #050814; font-weight: 700;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #7acc00 0%, #96e800 100%);
  color: #050814;
  box-shadow: 0 6px 28px var(--primary-glow);
  transform: translateY(-1px);
}
.btn-outline-light {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1.5px solid var(--accent);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: rgba(166,255,0,.12); color: var(--accent);
  border-color: var(--accent);
}
.btn-lg { padding: 14px 36px; font-size: 16px; min-height: 48px; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 12px; min-height: 34px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,8,20,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  box-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 100%; gap: 24px;
}
.header-logo img { height: 40px; width: auto; }
.header-nav { display: flex; gap: 28px; margin-left: 24px; }
.header-nav a {
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: color var(--transition); text-decoration: none;
}
.header-nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 10px; margin-left: auto; }
.mobile-menu-btn {
  display: none; background: none; border: none; color: var(--text);
  cursor: pointer; padding: 8px; margin-left: auto;
}

.mobile-nav {
  position: fixed; top: 0; left: -300px; width: 300px; height: 100vh;
  background: var(--bg-surface); z-index: 200; transition: left .3s ease;
  display: flex; flex-direction: column; padding: 20px;
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 24px rgba(0,0,0,.5);
}
.mobile-nav.open { left: 0; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.mobile-nav-logo { height: 32px; }
.mobile-nav-close { background: none; border: none; color: var(--text); cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  padding: 14px 16px; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 500; font-size: 15px;
  transition: all var(--transition);
}
.mobile-nav-links a:hover { background: var(--primary-dim); color: var(--accent); }
.mobile-nav-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 199; display: none;
}
.mobile-nav-backdrop.visible { display: block; }

.hero-section {
  position: relative; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(5,8,20,.15) 0%,
    rgba(5,8,20,.5) 50%,
    rgba(5,8,20,.95) 100%
  );
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 720px; padding: 48px 24px;
}
.hero-logo { height: 72px; margin: 0 auto 24px; }
.hero-title {
  font-size: 34px; font-weight: 800; color: #fff;
  margin-bottom: 14px; line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-subtitle {
  font-size: 17px; color: rgba(255,255,255,.85);
  margin-bottom: 32px; line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.filter-bar {
  position: sticky; top: var(--header-height); z-index: 90;
  background: rgba(5,8,20,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 8px 24px; height: var(--filter-height);
  max-width: 100%;
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.filter-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-nav::-webkit-scrollbar { display: none; }
.filter-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  min-width: max-content;
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px;
  background: var(--bg-card); color: var(--text-muted);
  border: 1px solid var(--border-light); cursor: pointer;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: all var(--transition); min-height: 36px;
  font-family: var(--font);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.filter-chip:hover { border-color: var(--accent); color: var(--text); }
.filter-chip.active {
  background: var(--primary); color: #050814;
  border-color: var(--primary);
  box-shadow: 0 2px 12px var(--primary-glow);
}
.filter-chip.active .chip-icon { color: #050814; }
.chip-icon { display: inline-flex; align-items: center; flex-shrink: 0; }
.chip-icon svg { width: 16px; height: 16px; }
.filter-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 20px; padding: 6px 14px; min-width: 200px;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.filter-search .search-icon { display: flex; color: var(--text-muted); flex-shrink: 0; }
.filter-search input {
  background: none; border: none; color: #fff;
  font-size: 13px; outline: none; width: 100%;
  font-family: var(--font);
}
.filter-search input::placeholder { color: var(--text-muted); }

.page-wrapper {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  overflow-x: clip;
}
.main-content { min-width: 0; }

.game-section { padding: 36px 0 16px; }
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; color: var(--text-heading);
  margin-bottom: 20px;
}
.section-icon { display: inline-flex; align-items: center; color: var(--accent); }
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.game-tile {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
  aspect-ratio: 1 / 1; cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.game-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-3px);
}
.game-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.game-tile:hover img { transform: scale(1.06); }
.play-overlay {
  position: absolute; inset: 0;
  background: rgba(5,8,20,.75);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  opacity: 0; transition: opacity .25s ease;
}
.game-tile:hover .play-overlay { opacity: 1; }
.game-tile.active .play-overlay { opacity: 1; }
.play-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #8de600, #a6ff00);
  color: #050814; font-weight: 700;
  font-size: 14px; text-decoration: none; min-height: 38px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--primary-glow);
  font-family: var(--font);
}
.play-btn:hover {
  background: linear-gradient(135deg, #7acc00, #96e800);
  color: #050814;
  box-shadow: 0 6px 22px var(--primary-glow);
}
.demo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 24px; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #fff; font-weight: 600;
  font-size: 13px; border: 1.5px solid rgba(255,255,255,.35);
  text-decoration: none; min-height: 34px;
  transition: all var(--transition);
  font-family: var(--font);
  backdrop-filter: blur(4px);
}
.demo-btn:hover {
  border-color: #fff; color: #fff;
  background: rgba(255,255,255,.2);
}
.demo-btn.disabled { opacity: .3; pointer-events: none; }

.text-section {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: 1480px;
  margin: 0 auto;
  padding: 52px 28px 18px;
  color: #e2e8f0;
}
.text-section h1 {
  font-size: 46px;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.16;
  max-width: 980px;
}
.text-section h2 {
  font-size: 38px;
  color: #ffffff;
  margin: 34px 0 18px;
  font-weight: 700;
  line-height: 1.18;
  max-width: 1040px;
}
.text-section h2:first-child { margin-top: 0; }
.text-section h3 {
  font-size: 28px;
  color: #facc15;
  margin-top: 72px;
  margin-bottom: 22px;
  font-weight: 700;
  line-height: 1.2;
  border-left: 3px solid #facc15;
  padding-left: 16px;
  max-width: 980px;
}
.text-section p,
.text-section li {
  color: #f1f5f9;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 26px;
}
.text-section ul {
  margin: 14px 0 24px 24px;
  max-width: 1040px;
}
.text-section p {
  max-width: 1040px;
}
.game-section + .text-section {
  padding-top: 64px;
}
.text-section strong { color: #fff; }
.text-section a { color: var(--accent); }
.text-section a:hover { color: var(--accent-hover); }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: var(--border-light); box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.faq-item.open { border-color: var(--accent); box-shadow: 0 2px 12px var(--accent-glow); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 16px 20px;
  background: transparent; color: var(--text-heading);
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; text-align: left; min-height: 52px;
  font-family: var(--font); transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-chevron { transition: transform .25s ease; display: inline-flex; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 20px; color: var(--text);
}
.faq-item.open .faq-answer {
  max-height: 800px; padding: 4px 20px 18px;
}

.demo-slots-section .demo-search-wrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 20px; padding: 8px 16px; max-width: 360px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.demo-slots-section .demo-search-wrap .search-icon { display: flex; color: var(--text-muted); }
.demo-slots-section .demo-search-wrap input {
  background: none; border: none; color: #fff;
  font-size: 14px; outline: none; width: 100%;
  font-family: var(--font);
}
.demo-slots-section .demo-search-wrap input::placeholder { color: var(--text-muted); }
.demo-tile {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card); cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.demo-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-3px);
}
.demo-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.demo-tile .demo-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 6px 10px; background: linear-gradient(transparent, rgba(5,8,20,.9));
  font-size: 11px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-tile .play-overlay {
  position: absolute; inset: 0;
  background: rgba(5,8,20,.75);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  opacity: 0; transition: opacity .25s ease;
}
.demo-tile:hover .play-overlay { opacity: 1; }
.demo-tile.active .play-overlay { opacity: 1; }

.load-more-btn {
  display: block; margin: 24px auto 0; padding: 12px 40px;
  background: var(--bg-card); color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: 999px; cursor: pointer; font-size: 14px;
  font-weight: 600; transition: all var(--transition); min-height: 44px;
  font-family: var(--font);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.load-more-btn:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.demo-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
}
.demo-modal.open { display: flex; }
.demo-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.demo-modal-content {
  position: relative; width: 92vw; height: 86vh; max-width: 1200px;
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
}
.demo-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.demo-modal-title { color: var(--text-heading); font-weight: 600; font-size: 16px; }
.demo-modal-close {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  transition: color var(--transition);
}
.demo-modal-close:hover { color: var(--accent); }
.demo-modal-body { flex: 1; overflow: hidden; }
.demo-modal-body iframe { width: 100%; height: 100%; }

.site-footer {
  margin-top: 56px; border-top: 1px solid var(--border);
  background: #030610;
}
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 44px 24px; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: center;
  margin-bottom: 32px;
}
.footer-nav a {
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }
.footer-providers {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  align-items: center; margin-bottom: 32px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.provider-logo {
  height: 28px; width: auto; opacity: .45;
  transition: opacity var(--transition), filter var(--transition);
  filter: brightness(0) invert(1);
}
.provider-logo:hover { opacity: 1; }
.footer-legal { text-align: center; margin-bottom: 24px; }
.footer-legal p {
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-bottom: 10px; line-height: 1.7;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08);
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  font-weight: 800; font-size: 14px;
}
.copyright { color: rgba(255,255,255,.4); font-size: 12px; }

@media (max-width: 1200px) {
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 1024px) {
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-height: 56px; --filter-height: 48px; }
  .header-nav { display: none; }
  .header-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-logo img { height: 32px; }
  .hero-section { min-height: 380px; }
  .hero-logo { height: 48px; }
  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero-cta .btn { padding: 10px 22px; font-size: 14px; min-height: 42px; }
  .filter-bar { padding: 6px 12px; }
  .filter-nav { justify-content: flex-start; }
  .filter-chip { padding: 6px 12px; font-size: 12px; min-height: 34px; }
  .filter-search { display: none; }
  .page-wrapper { padding: 0 12px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .text-section { padding: 40px 16px 14px; }
  .text-section h1 { font-size: 34px; margin-bottom: 24px; }
  .text-section h2 { font-size: 30px; margin: 28px 0 14px; }
  .text-section h3 { font-size: 24px; margin-top: 56px; margin-bottom: 18px; }
  .text-section p,
  .text-section li { font-size: 17px; line-height: 1.82; margin-bottom: 22px; }
  .section-title { font-size: 18px; padding: 0 4px; }
  .play-btn { padding: 8px 20px; font-size: 13px; min-height: 36px; }
  .demo-btn { padding: 6px 18px; font-size: 12px; min-height: 34px; }
  .btn { min-height: 34px; }
  .footer-inner { padding: 28px 16px; }
  .demo-modal-content { width: 98vw; height: 92vh; }
  .game-section { padding: 24px 0 12px; }
}

@media (max-width: 480px) {
  .hero-cta .btn-outline-light { display: none; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .hero-title { font-size: 20px; }
  .section-title { font-size: 16px; }
  .text-section { padding: 34px 14px 10px; }
  .text-section h1 { font-size: 30px; line-height: 1.2; }
  .text-section h2 { font-size: 26px; }
  .text-section h3 { font-size: 22px; border-left-width: 2px; padding-left: 12px; }
  .text-section p,
  .text-section li { font-size: 16.5px; line-height: 1.8; }
  .game-tile { border-radius: var(--radius-sm); }
}
