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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-nav: #141414;
  --gold: #d4a843;
  --gold-light: #f0d060;
  --gold-dark: #b8912e;
  --text-white: #ffffff;
  --text-gray: #999999;
  --text-light: #cccccc;
  --red: #e63946;
  --green: #2ecc71;
  --border-color: #2a2a2a;
  --section-title-icon: #d4a843;
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* =================== HEADER =================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.header-logo img {
  height: 52px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-dark {
  background: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-dark:hover {
  background: #252525;
  border-color: var(--gold-dark);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: #d62839;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =================== NAV BAR =================== */
.nav-bar {
  background: var(--bg-nav);
  border-top: 1px solid var(--border-color);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  transition: all var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-item:hover {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
  border-bottom-color: var(--gold);
}

.nav-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.7;
}

/* =================== BURGER MENU =================== */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger-btn span {
  width: 26px;
  height: 2px;
  background: var(--text-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 16px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

/* =================== HERO BANNER =================== */
.hero-banner {
  margin-top: 110px;
  position: relative;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  display: block;
  min-height: 200px;
  object-fit: cover;
}

/* =================== JACKPOT BAR =================== */
.jackpot-bar {
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.jackpot-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.jackpot-logo {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.jackpot-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #111 0%, #1e1e1e 100%);
  border: 1px solid #333;
  border-radius: 30px;
  padding: 6px 20px;
  min-width: 180px;
}

.jackpot-suit {
  font-size: 22px;
}

.jackpot-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
}

/* =================== SECTIONS =================== */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-icon {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-icon svg {
  width: 16px;
  height: 16px;
  fill: #000;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =================== GAME GRID =================== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: all var(--transition);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.2);
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.play-btn-circle {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.play-btn-circle:hover {
  transform: scale(1.1);
}

.play-btn-circle svg {
  width: 22px;
  height: 22px;
  fill: #000;
  margin-left: 3px;
}

.game-info {
  padding: 10px 12px;
}

.game-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.game-provider {
  font-size: 11px;
  color: var(--text-gray);
}

/* =================== SEO SECTION =================== */
.seo-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid var(--border-color);
}

.seo-content {
  max-width: 100%;
}

.seo-content h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.3;
}

.seo-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  margin-top: 40px;
  margin-bottom: 16px;
}

.seo-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 24px;
  margin-bottom: 10px;
}

.seo-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.seo-content ul,
.seo-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.seo-content li {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.seo-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.seo-content table thead {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

.seo-content table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #000;
  font-size: 13px;
}

.seo-content table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
  line-height: 1.6;
}

.seo-content table tr:last-child td {
  border-bottom: none;
}

.seo-content table tr:hover td {
  background: rgba(212, 168, 67, 0.04);
}

.seo-content-img {
  width: 100%;
  max-width: 800px;
  margin: 28px auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.seo-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 67, 0.3);
  transition: all var(--transition);
}

.seo-content a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.seo-disclaimer {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(230, 57, 70, 0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

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

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.footer-warning .badge-18 {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-warning p {
  font-size: 13px;
  color: var(--text-gray);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-providers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  opacity: 0.5;
}

.footer-providers span {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-left img {
  height: 40px;
}

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

.footer-bottom-center img {
  height: 48px;
  margin: 0 auto 8px;
}

.footer-bottom-center p {
  font-size: 12px;
  color: var(--text-gray);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-icon:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text-gray);
}

.footer-legal {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.footer-legal-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-legal-inner img {
  height: 48px;
  flex-shrink: 0;
}

.footer-legal-inner p {
  font-size: 11px;
  color: var(--text-gray);
  line-height: 1.7;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

.footer-disclaimer p {
  font-size: 11px;
  color: var(--text-gray);
  line-height: 1.7;
  text-align: center;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 8px 16px;
  }

  .header-actions .btn-text-hide {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .nav-bar {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: block;
  }

  .hero-banner {
    margin-top: 80px;
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .jackpot-inner {
    gap: 12px;
  }

  .jackpot-card {
    min-width: 140px;
    padding: 4px 14px;
  }

  .jackpot-value {
    font-size: 13px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .header-logo img {
    height: 38px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .jackpot-card {
    min-width: 120px;
    padding: 4px 10px;
  }

  .jackpot-value {
    font-size: 12px;
  }
}
