/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #e8e8e8;
  background: #0a0a0a;
  background-image:
    linear-gradient(rgba(34, 197, 119, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 119, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-card: #1a1a1a;
  --bg-card-2: #1f1f1f;
  --primary: #ff2a2a;
  --primary-dark: #c41a1a;
  --primary-glow: rgba(255, 42, 42, 0.4);
  --accent-green: #22c577;
  --accent-green-dark: #16a045;
  --accent-yellow: #ffcc00;
  --accent-gold: #ffd700;
  --text: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #888888;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 42, 42, 0.5);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-red: 0 8px 28px rgba(255, 42, 42, 0.35);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --gradient-red: linear-gradient(135deg, #ff3a3a 0%, #c41a1a 100%);
  --gradient-green: linear-gradient(135deg, #22c577 0%, #16a045 100%);
  --gradient-red-hero: linear-gradient(135deg, #ff5a3a 0%, #c41a1a 60%, #1a0606 100%);
  --gradient-green-hero: linear-gradient(135deg, #1f8050 0%, #16523f 60%, #0a2e22 100%);
}

/* ===== Container ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo img { height: 38px; width: auto; }
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--gradient-red);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 42, 42, 0.55);
}
.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}
.btn-block {
  display: flex;
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  padding: 40px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-card {
  position: relative;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 36px;
}
.hero-card-casino {
  background: var(--gradient-red-hero);
}
.hero-card-sport {
  background: var(--gradient-green-hero);
}
.hero-card-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
}
.hero-card-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.hero-card-title {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.hero-card-percent {
  font-size: 64px;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1;
  margin-bottom: 22px;
  text-shadow: 0 4px 14px rgba(255, 204, 0, 0.5);
}
.hero-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  background: var(--gradient-red);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  box-shadow: var(--shadow-red);
  transition: all 0.25s;
  min-width: 180px;
}
.hero-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 42, 42, 0.6);
}
.hero-card-img {
  position: absolute;
  right: -10px;
  bottom: 0;
  height: 105%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

/* ===== H1 / Page title ===== */
.page-title-section {
  padding: 50px 0 30px;
  text-align: center;
}
.page-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.page-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Rating Block ===== */
.rating-block {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 18px;
}
.rating-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1;
}
.rating-stars {
  display: flex;
  gap: 2px;
}
.rating-stars svg { width: 18px; height: 18px; }
.rating-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Section ===== */
.section {
  padding: 50px 0;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
  letter-spacing: -0.3px;
}
.section-sub {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-top: 28px;
  margin-bottom: 14px;
}
.section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}
.section strong { color: var(--text); font-weight: 600; }

/* ===== Games Grid ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 24px 0 12px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  background: var(--bg-card);
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.game-card img {
  width: 100%;
  height: auto;
  display: block;
}
.game-play-btn {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 22px;
  background: var(--gradient-green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(34, 197, 119, 0.4);
  transition: all 0.25s;
}
.game-play-btn:hover {
  transform: translateX(-50%) translateY(-2px);
}

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
table.data-table th {
  background: var(--gradient-red);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
table.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
table.data-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 40%;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: rgba(255, 42, 42, 0.05); }

/* ===== Content lists ===== */
.content-list {
  margin: 14px 0 18px;
}
.content-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}
.content-list.numbered { counter-reset: ol-counter; }
.content-list.numbered li {
  counter-increment: ol-counter;
  padding-left: 44px;
}
.content-list.numbered li::before {
  content: counter(ol-counter);
  background: var(--primary);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  top: 8px;
  left: 0;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* ===== Highlight box ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 42, 42, 0.1) 0%, rgba(34, 197, 119, 0.06) 100%);
  border-left: 4px solid var(--accent-yellow);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0;
}
.highlight-box p:last-child { margin-bottom: 0; }

/* ===== Pinco Image (heading-snippet) ===== */
.heading-snippet {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  margin: 24px 0;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.heading-snippet img {
  border-radius: var(--radius);
  width: 100%;
}

/* ===== CTA strip ===== */
.cta-strip {
  text-align: center;
  margin: 26px 0;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.review-card {
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover {
  border-color: var(--border-red);
  transform: translateY(-2px);
}
.review-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 12px;
}
.review-stars svg { width: 16px; height: 16px; }
.review-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 14px;
  min-height: 76px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; color: #fff; font-size: 14px; }
.review-date { color: var(--text-muted); font-size: 12px; }

/* ===== FAQ ===== */
.faq-list { margin-top: 22px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--border-red); }
.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-content {
  padding: 18px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq-content p { color: var(--text-secondary); margin-bottom: 10px; }
.faq-content p:last-child { margin-bottom: 0; }

/* ===== Author block ===== */
.author-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: center;
}
.author-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  font-weight: 900;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-red);
}
.author-name {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.author-job {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.author-bio {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 36px 0 20px;
  margin-top: 50px;
}
.footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-pay img { height: 26px; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-bottom: 22px;
  font-size: 14px;
}
.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}
.footer-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.footer-copy {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-copy a { color: var(--primary); }

/* ===== Responsible strip ===== */
.responsible-strip {
  background: linear-gradient(90deg, #c41a1a 0%, #ff2a2a 100%);
  color: #fff;
  padding: 9px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { height: 320px; }
  .hero-card-content { max-width: 60%; }
  .hero-card-title { font-size: 32px; }
  .hero-card-percent { font-size: 52px; }
  .heading-snippet { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .author-card { grid-template-columns: 1fr; text-align: center; }
  .author-avatar { margin: 0 auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .site-logo img { height: 32px; }
  .btn { padding: 9px 18px; font-size: 13px; }
  .hero { padding: 24px 0; }
  .hero-card { padding: 22px; height: 280px; }
  .hero-card-content { max-width: 65%; }
  .hero-card-title { font-size: 26px; }
  .hero-card-percent { font-size: 42px; margin-bottom: 14px; }
  .hero-card-cta { padding: 11px 24px; font-size: 13px; min-width: auto; }
  .hero-card-img { right: -30px; }
  .section { padding: 30px 0; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .games-grid .game-card:last-child { grid-column: 1 / -1; }
  table.data-table { font-size: 13px; }
  table.data-table th, table.data-table td { padding: 10px 12px; }
}

/* Anchor offsets */
section[id] { scroll-margin-top: 80px; }
