/* ======================================
   Gokkasten — Green Theme (English)
   ====================================== */
:root {
  --primary: #0a8f3c;
  --primary-dark: #066b2c;
  --primary-light: #22c55e;
  --accent: #facc15;
  --accent-dark: #ca8a04;
  --bg: #052e14;
  --bg-soft: #0a3d1d;
  --surface: #0e5027;
  --surface-light: #127236;
  --text: #f0fdf4;
  --text-muted: #bbf7d0;
  --text-dim: #86efac;
  --border: #14532d;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .4);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, .5);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* ===== Global background — uses the same AI image as the homepage hero
   (images/ai/home-hero-bg-1.png) on every page. A semi-transparent
   dark-green overlay sits on body::before so all foreground content stays
   legible against the busy casino imagery. */
body {
  font-family: 'Plus Jakarta Sans', 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  background-color: #022a18; /* fallback deep green if image fails to load */
  background-image: url('images/ai/home-hero-bg-1.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background: linear-gradient(rgba(2, 42, 24, 0.25), rgba(2, 42, 24, 0.4));
  z-index: -1;
  pointer-events: none;
}
/* Sub-pages get a relative content layer above the overlay so foreground
   text reads cleanly against the busy casino imagery. */
main { position: relative; z-index: 1; }
/* iOS Safari mis-handles fixed background-attachment on scroll — fall
   back to scroll there. The image still shows on every page so visual
   continuity is preserved. */
@supports (-webkit-touch-callout: none) {
  body { background-attachment: scroll; }
}
@media (max-width: 768px) {
  body { background-attachment: scroll; }
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 10px;
  background: var(--accent); color: #1a1200;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 2000;
}
.skip-link:focus { top: 10px; color: #1a1200; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 46, 20, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 1280px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; color: var(--text);
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .4);
  font-size: 22px;
}
.logo-text span { color: var(--accent); }
.nav-links {
  display: flex; gap: 6px; list-style: none;
}
.nav-links a {
  color: var(--text-muted); font-weight: 600; font-size: 15px;
  padding: 10px 16px; border-radius: var(--radius-full);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--surface-light);
}
.header-cta {
  display: flex; gap: 10px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; font-size: 14px; font-weight: 700;
  border-radius: var(--radius-full); border: none; cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, .45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34, 197, 94, .6); color: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a1200;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(250, 204, 21, .5); color: #1a1200; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 28px; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
/* Homepage hero with AI background image (slot home-hero-bg-1, 16:9).
   The body now uses the same image globally, so the hero just adds a
   slightly stronger gradient on top for headline contrast — content
   below the hero blends seamlessly with no visible seam. */
.hero-bg {
  background-image:
    linear-gradient(rgba(0, 40, 20, 0.6), rgba(0, 40, 20, 0.4));
  background-color: transparent;
  min-height: 540px;
  display: flex; align-items: center;
  padding: 100px 20px 80px;
}
.hero-bg::before { display: none; }
.hero-bg .container { position: relative; z-index: 1; width: 100%; }
.hero-copy-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy-centered .hero-actions { justify-content: center; }
.hero-bg h1 {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.hero-bg p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-left: auto; margin-right: auto;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(250, 204, 21, .12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, .18), transparent 40%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; background: rgba(250, 204, 21, .15); color: var(--accent);
  border: 1px solid rgba(250, 204, 21, .3); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.1; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 20%, var(--accent) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted); max-width: 720px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Split hero (copy + banner image) */
.hero-split { text-align: left; }
.hero-split .hero-badge { margin-bottom: 20px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
  max-width: 1180px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-copy { max-width: 600px; }
.hero-split .hero-copy h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  text-align: left; margin-bottom: 18px;
}
.hero-split .hero-copy p {
  text-align: left; margin: 0 0 30px;
}
.hero-split .hero-actions { justify-content: flex-start; }
.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(250,204,21,.25);
  background: linear-gradient(135deg, var(--primary-dark), var(--surface-light));
  position: relative;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,46,20,.35));
  pointer-events: none;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 780px; margin: 60px auto 0;
}
.stat-card {
  background: rgba(14, 80, 39, .6); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px; text-align: center;
  backdrop-filter: blur(10px);
}
.stat-val { font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 60px 20px; }
.section-header {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.section-title {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800;
  display: flex; align-items: center; gap: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.section-title::before {
  content: ''; width: 6px; height: 32px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 3px;
}
.section-sub { color: var(--text-muted); font-size: 15px; margin-top: 6px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.section-link { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ===== Game Grid ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
  position: relative;
  color: var(--text);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 36px rgba(10, 143, 60, .4);
  color: var(--text);
}
.game-thumb {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--surface-light));
}
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-thumb svg { width: 100%; height: 100%; }
.game-thumb .image-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #1f2933 0 14px, #2a3742 14px 28px);
  color: rgba(255,255,255,.55);
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
}
.game-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .5px;
  background: var(--accent); color: #1a1200;
  z-index: 2;
}
.game-badge.hot { background: #ef4444; color: #fff; }
.game-badge.new { background: var(--primary-light); color: #fff; }
.game-info { padding: 14px 16px; }
.game-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.game-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.game-rtp { color: var(--accent); font-weight: 700; }

/* ===== Featured Cards (AI showcase) ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.featured-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: 0 18px 44px rgba(10, 143, 60, .45);
  color: var(--text);
}
.featured-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--surface-light));
}
.featured-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.featured-card:hover .featured-thumb img { transform: scale(1.04); }
.featured-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 14px; font-size: 12px; font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a1200;
  box-shadow: var(--shadow-sm);
}
.featured-body { padding: 22px 22px 24px; }
.featured-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.featured-body p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 16px; }
.featured-meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== Premium Slots Grid ===== */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.premium-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  transition: all .3s;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.premium-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(250, 204, 21, .25);
  color: var(--text);
}
.premium-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--surface-light));
}
.premium-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.premium-card:hover .premium-thumb img { transform: scale(1.05); }
.premium-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; font-size: 11px; font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a1200;
  box-shadow: var(--shadow-sm);
}
.premium-body { padding: 16px 18px 18px; }
.premium-body h3 {
  font-size: 17px; font-weight: 700;
  margin-bottom: 10px; line-height: 1.3;
}
.premium-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.premium-meta .pill { font-size: 11px; padding: 4px 10px; }

/* Filter Chips */
.chip-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px;
  overflow-x: auto;
}
.chip {
  padding: 8px 18px; background: var(--surface); color: var(--text-muted);
  border-radius: var(--radius-full); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; border: 1px solid var(--border);
  white-space: nowrap;
}
.chip:hover, .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Game Detail ===== */
.game-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 60px 20px 40px; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.game-hero-thumb {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%; max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  display: flex; align-items: center; justify-content: center;
}
.game-hero-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.game-hero h1 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 12px;
}
.game-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 24px; }
.pill {
  padding: 6px 14px; background: var(--surface-light); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border);
}
.pill strong { color: var(--accent); }
.game-hero p { color: var(--text-muted); font-size: 17px; margin-bottom: 28px; }

.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin: 40px 0;
}
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.info-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
  color: var(--accent);
}
.info-card p { color: var(--text-muted); font-size: 15px; }
.info-card ul { padding-left: 20px; margin-top: 8px; color: var(--text-muted); }
.info-card ul li { margin-bottom: 6px; }

/* ===== Blog ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all .3s;
  display: flex; flex-direction: column;
  color: var(--text);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--primary-light); box-shadow: var(--shadow-md); color: var(--text); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--primary-dark); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-category {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.blog-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.blog-excerpt { color: var(--text-muted); font-size: 14px; flex: 1; margin-bottom: 12px; }
.blog-meta { font-size: 12px; color: var(--text-dim); display: flex; gap: 12px; }

/* Article page */
.article-header {
  text-align: center; padding: 80px 20px 40px;
  background: linear-gradient(180deg, rgba(2, 30, 15, .55), rgba(2, 30, 15, .25));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(2px);
}
.article-category-badge {
  display: inline-block; padding: 6px 14px;
  background: rgba(250, 204, 21, .15); color: var(--accent);
  border-radius: var(--radius-full); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(28px, 4vw, 44px); max-width: 900px; margin: 0 auto 16px;
  line-height: 1.25; font-weight: 800;
}
.article-excerpt { color: var(--text-muted); max-width: 720px; margin: 0 auto 20px; font-size: 17px; }
.article-meta { color: var(--text-dim); font-size: 13px; }
.article-body {
  max-width: 800px; margin: 50px auto; padding: 0 20px;
}
.article-body h2 { font-size: 26px; margin: 32px 0 14px; color: var(--accent); }
.article-body h3 { font-size: 20px; margin: 24px 0 10px; }
.article-body p { color: var(--text-muted); font-size: 17px; line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 28px; color: var(--text-muted); margin-bottom: 18px; }
.article-body ul li, .article-body ol li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--primary-light);
  background: var(--surface); padding: 16px 20px; margin: 20px 0;
  font-style: italic; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body a { color: var(--accent); text-decoration: underline; }

/* ===== Promo / Bonus Strip ===== */
.promo-strip {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  position: relative; overflow: hidden;
  border: 1px solid rgba(250, 204, 21, .35);
}
.promo-strip::before {
  content: '🎰'; position: absolute; right: -20px; top: -20px;
  font-size: 200px; opacity: .08;
}
.promo-strip h3 { font-size: 28px; margin-bottom: 8px; }
.promo-strip p { color: #dcfce7; max-width: 600px; }

.promo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin: 30px 0;
}
.promo-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative; overflow: hidden;
}
.promo-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
}
.promo-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--accent); }
.promo-card .amount { font-size: 34px; font-weight: 800; color: var(--text); margin: 8px 0; }
.promo-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.promo-card ul { padding-left: 20px; color: var(--text-muted); font-size: 13px; margin-bottom: 14px; }

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0;
}
.contact-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-muted); }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 16px; font-size: 15px;
  background: var(--bg-soft); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 16px; font-family: inherit;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}
.contact-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.contact-info-card h3 { color: var(--accent); font-size: 20px; margin-bottom: 16px; }
.contact-info-card p { color: var(--text-muted); margin-bottom: 12px; }
.contact-info-card .contact-row { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; color: var(--text-muted); }
.contact-info-card .contact-row .icon { font-size: 20px; }

/* ===== Footer ===== */
.site-footer {
  position: relative; z-index: 1;
  background: rgba(2, 15, 6, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 60px 20px 24px;
  margin-top: 80px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1280px; margin: 0 auto;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px; color: var(--accent);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 14px; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  text-align: center; color: var(--text-dim); font-size: 13px;
}
.disclaimer {
  background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3);
  padding: 16px 20px; border-radius: var(--radius);
  max-width: 1240px; margin: 20px auto 0;
  color: #fecaca; font-size: 13px; text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .game-hero { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .game-hero-thumb { max-width: 360px; margin: 0 auto; }
  .game-hero-meta { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-split .hero-copy h1,
  .hero-split .hero-copy p { text-align: center; }
  .hero-split .hero-actions { justify-content: center; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .premium-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 14px; }
  .header-inner { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
  .logo-icon { width: 34px; height: 34px; font-size: 18px; }
  .logo-text { font-size: 17px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5, 46, 20, 0.98); backdrop-filter: blur(14px);
    padding: 12px; border-bottom: 1px solid var(--border);
  }
  .site-header.open .nav-links li { width: 100%; }
  .site-header.open .nav-links a { display: block; padding: 14px 16px; font-size: 16px; }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn { padding: 9px 16px; font-size: 13px; }
  .hero { padding: 36px 14px 32px; }
  .hero-bg { padding: 60px 16px 48px; min-height: 380px; }
  .hero h1 { font-size: 28px; line-height: 1.25; }
  .hero p { font-size: 15px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 13px 22px; font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px 10px; }
  .stat-val { font-size: 22px; }
  .stat-label { font-size: 11px; }
  .section { padding: 36px 14px; }
  .section-title { font-size: 22px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-name { font-size: 13px; }
  .game-meta { font-size: 10px; }
  .game-meta span { white-space: nowrap; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .info-grid { grid-template-columns: 1fr; gap: 14px; }
  .featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .featured-body h3 { font-size: 18px; }
  .premium-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .premium-body h3 { font-size: 14px; }
  .premium-body { padding: 12px 14px 14px; }
  .hero-visual { aspect-ratio: 16 / 9; }
  .info-card { padding: 18px; }
  .info-card h3 { font-size: 16px; }
  .promo-strip { padding: 24px 18px; }
  .promo-strip h3 { font-size: 20px; }
  .promo-strip p { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 6px; }
  .footer-col h4 { font-size: 12px; }
  .footer-col ul a { font-size: 13px; }
  .disclaimer { font-size: 12px; padding: 12px 14px; margin: 14px; }
  .game-hero { padding: 30px 14px; }
  .game-hero-meta { gap: 6px; }
  .pill { font-size: 11px; padding: 6px 12px; }
}
@media (max-width: 480px) {
  .game-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero h1 { font-size: 24px; }
  .section-title { font-size: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 15, 6, 0.78);
  backdrop-filter: blur(6px);
  z-index: 5000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 480px; width: 100%;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .2s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 20px; cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s;
}
.modal-close:hover { background: var(--surface-light); }
.modal-icon {
  font-size: 36px; margin-bottom: 12px;
}
.modal-box h3 {
  font-size: 22px; font-weight: 800;
  color: var(--accent); margin-bottom: 12px;
}
.modal-box p {
  color: var(--text-muted); font-size: 15px;
  margin-bottom: 18px; line-height: 1.6;
}
.modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}
.modal-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

/* ===== Game Detail Page ===== */
.breadcrumbs {
  font-size: 13px; color: var(--text-dim);
  padding: 16px 20px 0;
  max-width: 1280px; margin: 0 auto;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span.sep { margin: 0 8px; opacity: .6; }
.breadcrumbs span.current { color: var(--accent); font-weight: 600; }

.detail-section {
  max-width: 1100px; margin: 0 auto;
  padding: 30px 20px;
}
.detail-section h2 {
  font-size: 26px; font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.detail-section h2::before {
  content: ''; width: 5px; height: 26px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 3px;
}
.detail-section p {
  color: var(--text-muted); font-size: 16px;
  line-height: 1.75; margin-bottom: 14px;
}
.detail-section ol, .detail-section ul {
  padding-left: 24px; color: var(--text-muted);
  margin-bottom: 16px; font-size: 16px;
}
.detail-section ol li, .detail-section ul li {
  margin-bottom: 10px; line-height: 1.7;
}

.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td {
  padding: 12px 18px; text-align: left;
  font-size: 15px;
}
.info-table th {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 600; width: 38%;
}
.info-table td { color: var(--text); font-weight: 600; }

.proscons-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin: 20px 0;
}
.proscons-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.proscons-card.pros { border-color: rgba(34, 197, 94, .35); }
.proscons-card.cons { border-color: rgba(239, 68, 68, .3); }
.proscons-card h3 {
  font-size: 18px; margin-bottom: 12px;
}
.proscons-card.pros h3 { color: var(--primary-light); }
.proscons-card.cons h3 { color: #fca5a5; }
.proscons-card ul {
  list-style: none; padding: 0; margin: 0;
}
.proscons-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text-muted); font-size: 15px;
  line-height: 1.55; margin-bottom: 0;
}
.proscons-card.pros ul li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--primary-light); font-weight: 800;
}
.proscons-card.cons ul li::before {
  content: '✕'; position: absolute; left: 0; top: 8px;
  color: #fca5a5; font-weight: 800;
}

.cta-strip {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  border: 1px solid rgba(250, 204, 21, .35);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  margin: 40px 0;
}
.cta-strip h3 { font-size: 24px; margin-bottom: 10px; }
.cta-strip p { color: #dcfce7; max-width: 600px; margin: 0 auto 18px; }

/* ===== Share buttons ===== */
.share-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 20px 0;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  transition: all .2s;
}
.share-btn:hover {
  background: var(--surface-light); color: var(--text);
  transform: translateY(-2px);
}
.share-btn.facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; color: #fff; }
.share-btn.whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-btn.telegram:hover { background: #0088cc; border-color: #0088cc; color: #fff; }
.share-btn.reddit:hover { background: #ff4500; border-color: #ff4500; color: #fff; }

/* ===== Back to top ===== */
.back-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border: none; cursor: pointer;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(10, 143, 60, .55);
  z-index: 800;
  display: none;
  align-items: center; justify-content: center;
  transition: transform .2s;
}
.back-top.visible { display: flex; }
.back-top:hover { transform: translateY(-3px); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  max-width: 540px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: none;
  align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  flex-wrap: wrap;
}
.cookie-banner.visible { display: flex; }
.cookie-banner p {
  margin: 0; font-size: 13px;
  color: var(--text-muted); flex: 1;
  min-width: 220px;
}
.cookie-banner .btn { padding: 8px 16px; font-size: 13px; }

/* ===== Gallery (game detail) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin: 20px 0;
}
.gallery-grid img {
  width: 100%; height: 100%;
  aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ===== Detail hero (game) ===== */
.detail-hero {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  max-width: 1100px; margin: 0 auto;
  padding: 30px 20px 20px;
  align-items: center;
}
.detail-hero-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--primary-dark), var(--surface-light));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(250, 204, 21, .25);
}
.detail-hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-thumb svg { width: 100%; height: 100%; }
.detail-hero-thumb .image-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #0e5027 0 14px, #127236 14px 28px);
  color: rgba(255,255,255,.55);
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
}
.detail-hero-info h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 20%, var(--accent) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.detail-hero-info .subtitle {
  font-size: 16px; color: var(--text-muted);
  margin-bottom: 18px; font-style: italic;
}
.detail-hero-info .meta-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 22px;
}

/* ===== Related games strip ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

@media (max-width: 768px) {
  .detail-hero { grid-template-columns: 1fr; gap: 24px; padding: 20px 14px 8px; }
  .detail-hero-thumb { max-width: 360px; margin: 0 auto; }
  .detail-section { padding: 24px 14px; }
  .detail-section h2 { font-size: 22px; }
  .detail-section p, .detail-section ol, .detail-section ul { font-size: 15px; }
  .proscons-grid { grid-template-columns: 1fr; }
  .info-table th, .info-table td { padding: 10px 12px; font-size: 14px; }
  .info-table th { width: 42%; }
  .modal-box { padding: 26px 20px 22px; }
  .cta-strip { padding: 26px 18px; }
  .cta-strip h3 { font-size: 20px; }
  .breadcrumbs { padding: 12px 14px 0; font-size: 12px; }
}
