:root {
  --purple: #6C5CE7;
  --purple-dark: #5a4bd4;
  --pink: #FF6B9D;
  --cyan: #4ECDC4;
  --yellow: #FFE66D;
  --gold: #FFD93D;
  --blue: #45B7D1;
  --cream: #FFF8F0;
  --white: #ffffff;
  --text-dark: #2D3436;
  --text-muted: #636E72;
  --green: #00D2A0;
  --green-hover: #00b88a;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--purple);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.logo-icon img {
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.28);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
}

/* Hero */
.hero-wrap {
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 20px;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--purple);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--white);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-text p {
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-illus {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-intro {
  margin-top: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--cyan);
}

.hero-intro p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Content sections — colourful cards, text preserved */
.content-section {
  background: var(--white);
  color: var(--text-dark);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  margin: 28px auto;
  max-width: var(--max-width);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--purple);
}

.content-section.theme-purple::before { background: var(--purple); }
.content-section.theme-pink::before { background: var(--pink); }
.content-section.theme-cyan::before { background: var(--cyan); }
.content-section.theme-gold::before { background: var(--gold); }
.content-section.theme-green::before { background: var(--green); }
.content-section.theme-blue::before { background: var(--blue); }

.content-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 20px;
  text-align: left;
  font-weight: 800;
  color: var(--purple);
}

.content-section p,
.content-section li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.content-section p + p {
  margin-top: 14px;
}

.content-section ul {
  margin-top: 12px;
}

.content-section ul li {
  padding: 8px 0;
  padding-left: 32px;
  position: relative;
}

.content-section ul li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--purple);
}

.content-section a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.content-grid img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.content-grid img:hover {
  transform: scale(1.03);
}

.content-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.content-stack img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.pros-cons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.pros-box,
.cons-box {
  padding: 20px;
  border-radius: var(--radius);
  background: #f0faf7;
  border: 1px solid rgba(0, 210, 160, 0.35);
}

.cons-box {
  background: #fff5f8;
  border-color: rgba(255, 107, 157, 0.35);
}

.pros-cons h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.pros-box h3 { color: #00b88a; }
.cons-box h3 { color: var(--pink); }

.comparison-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comparison-table th {
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
}

.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
  background: var(--white);
  color: var(--text-muted);
}

.comparison-table tr:nth-child(even) td {
  background: #fafafa;
}

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

/* Game section */
.game-section {
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 20px;
}

.game-section-header {
  text-align: center;
  margin-bottom: 20px;
}

.game-section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 8px;
}

.game-section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.game-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #2D3436;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--yellow);
}

.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.slot-disclaimer {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f8f7fc;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-left: 3px solid var(--pink);
}

/* Games grid */
.games-section-title {
  text-align: center;
  max-width: var(--max-width);
  margin: 36px auto 20px;
  padding: 0 20px;
}

.games-section-title h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--purple);
}

.games-section-title p {
  color: var(--text-muted);
  margin-top: 8px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto 28px;
  padding: 0 20px;
}

.game-card-wrap {
  display: flex;
  flex-direction: column;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: var(--white);
  min-height: 240px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 3px solid transparent;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--yellow);
}

.game-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.game-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
}

.game-card-content {
  position: relative;
  z-index: 2;
  padding: 20px 16px;
  width: 100%;
}

.game-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--gold);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.game-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-play {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 8px;
}

.btn-play:hover {
  background: var(--green-hover);
}

.btn-review {
  display: inline-block;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  opacity: 0.9;
}

.btn-review:hover {
  opacity: 1;
}

.game-card-wrap .slot-disclaimer {
  margin-top: 8px;
  font-size: 0.68rem;
  border-left-color: var(--purple);
}

/* FAQ */
.faq-list {
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 20px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: #ddd;
}

.faq-question {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 18px 24px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer a {
  color: var(--purple);
  font-weight: 700;
}

/* Contact form */
.contact-form-wrap {
  max-width: 600px;
  margin: 28px auto;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--purple);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--purple);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--purple-dark);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 52, 54, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s;
  border-top: 6px solid var(--cyan);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--purple);
  font-weight: 800;
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-close {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--purple-dark);
}

/* Footer — compact layout */
.site-footer {
  margin-top: 48px;
  padding: 28px 20px 24px;
  background: #f3f2f8;
}

.footer-compact {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-rich-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-card {
  background: var(--white);
  padding: 18px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--purple);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-card-company { border-top-color: var(--purple); }
.footer-card-contact { border-top-color: var(--cyan); }
.footer-card-rg { border-top-color: var(--pink); text-align: center; }
.footer-card-legal { border-top-color: var(--gold); }

.footer-card-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.footer-company-meta {
  font-size: 0.78rem;
  margin: 0 0 10px;
  color: var(--text-muted);
}

.footer-address {
  font-style: normal;
  margin: 0 0 10px;
  line-height: 1.6;
}

.footer-web {
  margin: 0 0 10px;
  font-size: 0.78rem;
}

.footer-web a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
}

.footer-contact-list,
.footer-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.footer-contact-list li,
.footer-legal-list li {
  padding: 3px 0;
  font-size: 0.8rem;
}

.footer-contact-list a,
.footer-legal-list a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
}

.footer-contact-list a:hover,
.footer-legal-list a:hover,
.footer-web a:hover {
  color: var(--pink);
}

.footer-rg-note {
  font-size: 0.72rem;
  margin: 10px 0 0;
  line-height: 1.45;
  color: var(--text-muted);
}

.footer-compact-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--purple);
}

.footer-compact-col {
  min-width: 0;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.footer-age-inline {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.footer-cookie-short {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 6px 0 0;
  line-height: 1.4;
}

.footer-cookie-short a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
}

.footer-compact-rg {
  text-align: center;
}

.footer-compact-policies {
  text-align: left;
}

.footer-policies-title {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin: 0 0 8px;
}

.footer-policy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: flex-start;
}

.footer-policy-row a {
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

.footer-policy-row a:hover {
  color: var(--pink);
}

.footer-disclaimer-short {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 12px 0 0;
  text-align: center;
  padding: 0 8px;
}

/* RG badges — near games & footer */
.rg-badges {
  text-align: center;
}

.rg-badges-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.rg-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.rg-badges-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 64px;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 0;
}

.rg-badges-row a:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}

.rg-badges-row img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 140px;
  object-fit: contain;
  object-position: center;
}

.rg-badges-slot {
  max-width: var(--max-width);
  margin: 16px auto;
  padding: 0 20px;
}

.rg-badges-slot .rg-badges {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border: 1px solid #e8e8e8;
}

.footer-nav {
  max-width: var(--max-width);
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: color 0.2s, background 0.2s;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--white);
  background: var(--purple);
}

/* Legacy footer blocks — kept for compatibility */
.footer-grid {
  display: none;
}

.footer-block {
  background: var(--white);
  color: var(--text-muted);
  padding: 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.65;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--purple);
}

.footer-block:nth-child(2) { border-top-color: var(--cyan); }
.footer-block:nth-child(3) { border-top-color: var(--pink); }

.footer-block a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
}

.footer-block a:hover {
  color: var(--pink);
}

.footer-age {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  margin-top: 12px;
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--purple-dark);
  color: var(--white);
  padding: 16px 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  transform: translateY(100%);
  transition: transform 0.3s;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner a {
  color: var(--yellow);
  text-decoration: underline;
  font-weight: 700;
}

.cookie-accept {
  background: var(--yellow);
  color: var(--text-dark);
  border: none;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.875rem;
  transition: transform 0.2s;
}

.cookie-accept:hover {
  transform: scale(1.05);
}

/* Page header */
.page-header {
  text-align: center;
  padding: 48px 20px 24px;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--purple);
  border-radius: 2px;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--purple);
  font-weight: 800;
  margin-top: 16px;
}

.page-header p {
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-illus {
  max-width: 280px;
  margin: 20px auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.logo-text {
  white-space: nowrap;
}

/* Table scroll on mobile */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
  border-radius: var(--radius);
}

.table-responsive .comparison-table {
  margin-top: 0;
  min-width: 520px;
}

/* Footer policies */
.footer-tagline {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer-policies-title {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-policy-links {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.footer-policy-links a {
  font-size: 0.82rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.5;
  margin-top: 8px;
}

/* Prevent horizontal overflow */
main {
  overflow-x: hidden;
}

/* Content section width fix */
.content-section.container {
  width: calc(100% - 40px);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.content-section h2 {
  flex-wrap: wrap;
  gap: 8px;
}

/* Game section mobile */
.game-section {
  width: 100%;
  box-sizing: border-box;
}

/* Contact form mobile */
.contact-form-wrap.container {
  width: calc(100% - 40px);
  max-width: 600px;
  box-sizing: border-box;
}

/* Hero wrap */
.hero-wrap {
  width: 100%;
  box-sizing: border-box;
}

.hero-main {
  width: 100%;
  box-sizing: border-box;
}

/* Games grid */
.games-grid {
  width: 100%;
  box-sizing: border-box;
}

.game-card-wrap {
  width: 100%;
  max-width: 100%;
}

/* FAQ list */
.faq-list {
  width: 100%;
  box-sizing: border-box;
}

/* Page illus */
.page-illus {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* Decorative floats */
.deco-stars {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-rich-grid {
    grid-template-columns: 1fr;
  }

  .footer-card-rg {
    grid-column: auto;
  }

  .footer-compact-row {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .footer-compact-policies {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-policy-row {
    justify-content: center;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .hero-main {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }

  .hero-illus {
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }

  .hero-illus img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    padding: 12px;
    flex-direction: column;
    border-radius: 0 0 var(--radius) var(--radius);
    gap: 4px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .site-nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .logo {
    font-size: 1rem;
    min-width: 0;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }

  .hero-intro::before {
    display: none;
  }

  .content-grid,
  .content-stack,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .content-grid img {
    aspect-ratio: 16/10;
    width: 100%;
  }

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

  .footer-card {
    text-align: left;
  }

  .footer-card-rg {
    text-align: center;
  }

  .footer-compact-row {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
    padding: 16px;
  }

  .footer-compact-policies {
    text-align: center;
  }

  .footer-policy-row {
    justify-content: center;
  }

  .footer-nav {
    gap: 8px;
    padding: 0 16px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 16px;
    padding: 0 16px;
  }

  .game-card {
    min-height: 280px;
    aspect-ratio: auto;
  }

  .hero-wrap {
    margin: 16px auto;
    padding: 0 16px;
  }

  .hero-main {
    padding: 24px 18px;
    margin: 0;
  }

  .hero-intro {
    padding: 20px 18px;
    margin-top: 16px;
  }

  .hero-intro::before {
    font-size: 1.5rem;
    top: -8px;
    right: 12px;
  }

  .content-section.container {
    width: calc(100% - 32px);
    margin: 16px auto;
    padding: 24px 18px;
  }

  .content-section h2 {
    font-size: 1.25rem;
    text-align: left;
    justify-content: flex-start;
  }

  .game-section {
    padding: 0 16px;
    margin: 20px auto;
  }

  .game-frame-wrap {
    border-width: 3px;
    aspect-ratio: 4/3;
  }

  .game-section-header h2 {
    font-size: 1.25rem;
    padding: 0 4px;
  }

  .games-section-title {
    padding: 0 16px;
  }

  .contact-form-wrap {
    padding: 24px 18px;
    margin: 16px auto;
    width: calc(100% - 32px);
  }

  .faq-list {
    padding: 0 16px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .page-header {
    padding: 32px 16px 20px;
  }

  .page-header h1 {
    font-size: 1.6rem;
    word-wrap: break-word;
  }

  .footer-nav {
    gap: 8px;
    padding: 0 16px;
  }

  .footer-nav a {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
    gap: 12px;
  }

  .cookie-accept {
    width: 100%;
    max-width: 200px;
  }

  .modal-box {
    padding: 32px 20px;
  }

  .btn-play {
    padding: 12px 24px;
    font-size: 0.95rem;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 8px;
  }

  .slot-disclaimer {
    font-size: 0.72rem;
    padding: 10px 12px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .pros-box,
  .cons-box {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .logo-text {
    max-width: 100px;
    font-size: 0.85rem;
  }

  .hero-text h1 {
    font-size: 1.45rem;
  }

  .game-card h3 {
    font-size: 1rem;
  }
}
