:root {
  --bg-primary: #0b1a1e;
  --bg-secondary: #0d2f2b;
  --bg-card: #0f3a33;
  --bg-card-hover: #145a4e;
  --accent-gold: #c5a44e;
  --accent-gold-light: #e0c872;
  --accent-green: #1a8a6e;
  --accent-green-light: #22b88e;
  --text-primary: #ffffff;
  --text-secondary: #a0b8b0;
  --text-muted: #6a8a80;
  --border-color: #1a4a40;
  --footer-bg: #091412;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.header__nav a:hover {
  background: var(--bg-card);
}

.header__nav a.active {
  background: var(--bg-card);
  color: var(--accent-gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: #1a1a0a;
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(197, 164, 78, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn--outline:hover {
  background: rgba(197, 164, 78, 0.1);
}

.btn--green {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
  color: #fff;
}

.btn--green:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 138, 110, 0.4);
}

.btn--lg {
  padding: 14px 40px;
  font-size: 16px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  max-height: 460px;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
}

.hero__content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  text-align: center;
}

.hero__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== FEATURES ===== */
.features {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 8px 32px rgba(26, 138, 110, 0.15);
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  font-size: 48px;
  line-height: 72px;
}

.feature-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== CATEGORIES ===== */
.categories {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.category-pill:hover,
.category-pill.active {
  border-color: var(--accent-green);
  background: rgba(26, 138, 110, 0.15);
  color: var(--accent-green-light);
}

.category-pill__icon {
  font-size: 18px;
}

/* ===== SECTION ===== */
.section {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section__title {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__title-icon {
  font-size: 24px;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.section__link:hover {
  border-color: var(--accent-green);
  color: var(--accent-green-light);
}

/* ===== GAME GRID ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  transition: all 0.3s;
  display: block;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game-card:hover .game-card__img {
  transform: scale(1.05);
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.game-card:hover .game-card__overlay {
  opacity: 1;
}

.game-card__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.game-card__provider {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.game-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197, 164, 78, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  font-size: 24px;
}

.game-card:hover .game-card__play {
  transform: translate(-50%, -50%) scale(1);
}

/* ===== SEO TEXT ===== */
.seo-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 20px;
}

.seo-content {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-color);
}

.seo-content h1 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.seo-content h3 {
  font-size: 18px;
  margin: 24px 0 12px;
  color: var(--text-primary);
}

.seo-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.seo-content ol, .seo-content ul {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 12px;
}

.seo-toggle {
  text-align: center;
  margin-top: 20px;
}

.seo-content.collapsed {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.seo-content.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  margin-top: 48px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand img {
  height: 32px;
  width: auto;
}

.footer__legal {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-green-light);
  margin-bottom: 12px;
}

.footer__col-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent-green-light);
}

.footer__bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.cta-banner__inner {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(197, 164, 78, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE HERO ===== */
.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  text-align: center;
}

.page-hero__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 32px rgba(197, 164, 78, 0.1);
}

.bonus-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.bonus-card__badge--hot {
  background: rgba(255, 80, 60, 0.15);
  color: #ff6b4a;
}

.bonus-card__badge--new {
  background: rgba(26, 138, 110, 0.15);
  color: var(--accent-green-light);
}

.bonus-card__badge--vip {
  background: rgba(197, 164, 78, 0.15);
  color: var(--accent-gold-light);
}

.bonus-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.bonus-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bonus-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bonus-card__value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

/* ===== LIVE TABLE ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.live-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}

.live-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 8px 32px rgba(26, 138, 110, 0.15);
}

.live-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.live-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #e74c3c;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-card__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-card__info {
  padding: 16px;
}

.live-card__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.live-card__provider {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.live-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.live-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 26, 30, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 8px 20px;
}

.mobile-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-bar .btn {
  flex: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .hero {
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .feature-card {
    padding: 16px 10px;
  }

  .feature-card__icon {
    width: 48px;
    height: 48px;
    font-size: 32px;
    line-height: 48px;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .live-grid {
    grid-template-columns: 1fr;
  }

  .section__title {
    font-size: 18px;
  }

  .page-hero__title {
    font-size: 28px;
  }

  .cta-banner__inner {
    padding: 24px;
  }

  .cta-banner__title {
    font-size: 22px;
  }

  .seo-content {
    padding: 20px;
  }

  .mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .header__actions .btn--outline {
    display: none;
  }
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 26, 30, 0.98);
  padding: 80px 20px 20px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  border-color: var(--accent-green);
  background: rgba(26, 138, 110, 0.1);
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.fade-in-up:nth-child(4) { animation-delay: 0.3s; }
.fade-in-up:nth-child(5) { animation-delay: 0.4s; }
.fade-in-up:nth-child(6) { animation-delay: 0.5s; }

/* ===== FAQ ===== */
.faq-section {
  margin-top: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: rgba(15, 58, 51, 0.3);
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--accent-green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--accent-gold-light);
}

/* ===== INTERNAL LINKS ===== */
.internal-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.internal-links__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.internal-links__list li a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.internal-links__list li a:hover {
  border-color: var(--accent-green);
  color: var(--accent-green-light);
  background: rgba(26, 138, 110, 0.1);
}

/* ===== SEO CONTENT LINKS ===== */
.seo-content a {
  color: var(--accent-green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-content a:hover {
  color: var(--accent-gold-light);
}
