/* ============ HavFun promo site design system ============ */
:root {
  --bg: #050a26;
  --bg-2: #081033;
  --surface: #0d1746;
  --surface-2: #121d55;
  --surface-3: #182463;
  --line: rgba(120, 145, 255, 0.18);
  --line-strong: rgba(120, 145, 255, 0.35);

  --primary: #2f7dff;
  --primary-2: #5c9dff;
  --cyan: #41d8ff;
  --purple: #8b5cf6;
  --pink: #ff5fa2;
  --gold: #ffc531;
  --green: #2fd67b;
  --red: #ff5a5a;
  /* adults-only (18+) marks — casino gold, readable on the navy theme */
  --age: #ffc531;
  --age-soft: rgba(255, 197, 49, 0.1);
  --age-line: rgba(255, 197, 49, 0.55);
  --age-ink: #1b1240;
  --age-badge: linear-gradient(145deg, #ffe58f 0%, #ffc531 45%, #f39c12 100%);

  --text: #eaf0ff;
  --muted: #93a5d9;
  --dim: #5f6f9f;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(2, 6, 30, 0.55);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Apple SD Gothic Neo',
    'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(124, 77, 255, 0.22), transparent 60%),
    radial-gradient(800px 420px at 5% 10%, rgba(47, 125, 255, 0.16), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

input {
  font-family: inherit;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ adults-only disclosures (Google Ads social casino policy) ============ */
.age-bar {
  background: linear-gradient(90deg, #15103d, #251a5a 50%, #15103d);
  border-bottom: 1px solid var(--age-line);
  color: var(--text);
}

.age-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.age-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--age-badge);
  color: var(--age-ink);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 0 2px rgba(255, 197, 49, 0.35), 0 0 14px rgba(255, 197, 49, 0.35);
}

.age-bar p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.age-bar strong {
  color: var(--age);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  border: 1.5px solid var(--age-line);
  border-radius: 999px;
  background: var(--age-soft);
  color: var(--age);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* three separate disclosure panels under the page heroes */
.notice-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.notice-panel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--age-line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 197, 49, 0.12), rgba(139, 92, 246, 0.08));
}

.notice-badge {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--age-badge);
  color: var(--age-ink);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(255, 197, 49, 0.2), 0 0 22px rgba(255, 197, 49, 0.3);
}

/* "$" with a prohibition slash */
.notice-badge.notice-badge-nocash {
  font-size: 34px;
}

.notice-badge-nocash::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background: #b3122e;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1.5px #ffe58f;
}

.notice-badge-emoji {
  font-size: 28px;
}

.notice-title {
  color: var(--age);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}

.notice-text {
  margin-top: 5px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
}

.footer-age {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-age-seal {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--age-badge);
  color: var(--age-ink);
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(255, 197, 49, 0.2);
}

.footer-age .footer-notice strong {
  color: var(--age);
}

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 8, 30, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-steam {
  font-size: 12px;
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(120, 145, 255, 0.1);
}

.nav-link.active {
  color: var(--cyan);
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 16px;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  padding: 12px 22px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s, border-color 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #2f7dff, #2b5cff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 125, 255, 0.35);
}

.btn-cyan {
  background: linear-gradient(135deg, #41d8ff, #2fa8ff);
  color: #04122e;
  box-shadow: 0 6px 18px rgba(65, 216, 255, 0.3);
}

.btn-gold {
  background: var(--age-badge);
  color: var(--age-ink);
  box-shadow: 0 6px 18px rgba(255, 197, 49, 0.3);
}

.btn-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d3df0);
  color: #fff;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

.btn-outline {
  background: rgba(120, 145, 255, 0.07);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(120, 145, 255, 0.14);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16.5px;
}

.btn-block {
  width: 100%;
}

/* ============ sections / cards ============ */
.section {
  padding: 46px 0 8px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 23px;
  font-weight: 800;
  padding-left: 14px;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.section-link {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
}

.section-link:hover {
  text-decoration: underline;
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card-hover {
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.card-hover:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============ badges / stars ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.2);
  color: #c0a4ff;
}

.badge-gold {
  background: rgba(255, 197, 49, 0.16);
  color: #ffd76b;
}

.stars .star {
  color: var(--dim);
  font-size: 14px;
}
.stars .star.on {
  color: var(--gold);
}

/* ============ game card ============ */
.game-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.game-thumb {
  position: relative;
  aspect-ratio: 640 / 548;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-emoji {
  font-size: 52px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.game-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  z-index: 1;
}

.game-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.game-title {
  font-size: 16.5px;
  font-weight: 800;
}

.game-body .badge {
  align-self: flex-start;
}

.game-tagline {
  font-size: 12.5px;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-meta {
  font-size: 11.5px;
  color: var(--dim);
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--line-strong);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--text);
  padding: 15px 18px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(65, 216, 255, 0.14);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.faq-question {
  flex: 1;
}

.faq-chevron {
  color: var(--dim);
  transition: transform 0.15s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 18px 16px 54px;
  color: var(--muted);
  font-size: 13.5px;
}

.faq-item.open .faq-a {
  display: block;
}

/* ============ modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 20, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 28px;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(120, 145, 255, 0.1);
  border: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  z-index: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal-box .modal-thumb {
  aspect-ratio: 640 / 320;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
}

.modal-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
}

.modal-row dt {
  width: 90px;
  color: var(--dim);
  font-weight: 700;
  flex-shrink: 0;
}

.modal-row dd {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-diff {
  color: var(--muted);
  font-size: 12.5px;
}

/* ============ page hero ============ */
.page-hero {
  position: relative;
  padding: 56px 0 40px;
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(124, 77, 255, 0.3), transparent 60%),
    radial-gradient(520px 280px at 72% 85%, rgba(255, 197, 49, 0.12), transparent 60%),
    radial-gradient(500px 260px at 15% 20%, rgba(47, 125, 255, 0.2), transparent 55%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.page-hero .hero-accent {
  background: linear-gradient(135deg, #5c9dff, #41d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .hero-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}


.hero-line {
  display: block;
}


/* ============ home: features ============ */
.home-features-section {
  padding-top: 34px;
}

.home-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-feature-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
}

.home-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-feature h3 {
  font-size: 16px;
}

.home-feature p {
  color: var(--muted);
  font-size: 13px;
}

/* ============ home: arcade banner ============ */
.home-arcade {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 34px;
  min-height: 220px;
}

.home-arcade-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.home-arcade-info {
  position: relative;
  max-width: 480px;
}

.home-arcade-neon {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.home-arcade-info h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 6px 0 10px;
}

.home-arcade-info p {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(2, 6, 30, 0.8);
}

.home-arcade-info .home-arcade-note {
  display: inline-block;
  margin-top: -6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 28, 0.72);
  font-size: 12.5px;
}

/* ============ home: steps ============ */
.home-step {
  text-align: center;
}

.home-step-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 145, 255, 0.1);
  overflow: hidden;
}

.home-step-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.home-step h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.home-step p {
  color: var(--muted);
  font-size: 12.5px;
}

/* ============ games: filter bar ============ */
.games-filterbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.games-filter-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.games-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.games-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(120, 145, 255, 0.06);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.games-cat:hover {
  color: var(--text);
  background: rgba(120, 145, 255, 0.12);
}

.games-cat.active {
  color: var(--cyan);
  border-color: rgba(65, 216, 255, 0.5);
  background: rgba(65, 216, 255, 0.1);
}

.games-cat-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.games-search {
  position: relative;
  width: 220px;
}

.games-search input {
  width: 100%;
  background: rgba(6, 12, 40, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  padding: 9px 38px 9px 16px;
  font-size: 13.5px;
  outline: none;
}

.games-search input:focus {
  border-color: var(--primary-2);
}

.games-search input::placeholder {
  color: var(--dim);
}

.games-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
}

.games-sorts {
  display: flex;
  gap: 6px;
}

.games-sort {
  background: none;
  border: none;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.games-sort:hover {
  color: var(--text);
}

.games-sort.active {
  color: var(--cyan);
  background: rgba(65, 216, 255, 0.1);
}

/* ============ games: featured ============ */
.games-featured {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  padding: 26px;
}

.games-featured-ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 95, 162, 0.4);
}

.games-featured .game-thumb {
  border-radius: var(--radius-sm);
  aspect-ratio: 640 / 548;
}

.games-featured-label {
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
}

.games-featured-titlerow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 10px;
}

.games-featured-title {
  font-size: 26px;
  font-weight: 900;
}

.games-featured-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.games-featured-metas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.games-featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.games-meta-label {
  color: var(--dim);
  font-weight: 700;
  font-size: 12.5px;
}

.games-featured-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ games: usage cards ============ */
.games-usage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.games-usage-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.games-usage-icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.games-usage h3 {
  font-size: 14.5px;
  margin-bottom: 5px;
}

.games-usage p {
  color: var(--muted);
  font-size: 12.5px;
}

/* ============ guide layout ============ */
.guide-layout {
  display: grid;
  grid-template-columns: 220px 1fr 250px;
  gap: 24px;
  padding-top: 34px;
  align-items: start;
}

.guide-sidebar,
.guide-rail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.guide-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  padding: 9px 12px;
  border-radius: 9px;
  transition: color 0.15s, background 0.15s;
}

.guide-menu-item:hover {
  color: var(--text);
  background: rgba(120, 145, 255, 0.1);
}

.guide-promo {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

.guide-promo h3 {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.guide-promo p {
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 12px;
}

.guide-promo img {
  max-height: 110px;
  margin-bottom: 12px;
}

.guide-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(400px 200px at 85% 20%, rgba(124, 77, 255, 0.3), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 30px;
}

.guide-hero h1 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #5c9dff, #41d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide-hero-sub {
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
  margin-top: 8px;
}

.guide-bubble-wrap {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.guide-bubble {
  background: rgba(65, 216, 255, 0.1);
  border: 1px solid rgba(65, 216, 255, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 220px;
}

.guide-bubble strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.guide-bubble-bot {
  width: 84px;
  flex-shrink: 0;
}

.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: 84px;
}

.guide-h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-left: 12px;
  position: relative;
}

.guide-h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.guide-step {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
}

.guide-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.guide-step-num {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.guide-step-title {
  font-size: 13.5px;
  font-weight: 800;
}

.guide-step-ico {
  display: block;
  height: 64px;
  margin-bottom: 10px;
}

.guide-step-ico img {
  height: 100%;
  object-fit: contain;
}

.guide-step p {
  color: var(--muted);
  font-size: 12px;
}

/* guide: play tabs */
.guide-play-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.guide-play-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  padding: 22px;
}

.guide-play-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-play-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guide-play-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}

.guide-play-ico img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.guide-ic-gold { background: rgba(255, 197, 49, 0.14); }
.guide-ic-purple { background: rgba(139, 92, 246, 0.18); }
.guide-ic-green { background: rgba(47, 214, 123, 0.14); }
.guide-ic-pink { background: rgba(255, 95, 162, 0.16); }

.guide-play-step h4 {
  font-size: 14px;
  margin-bottom: 3px;
}

.guide-play-step p {
  color: var(--muted);
  font-size: 12.5px;
}

.guide-play-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-play-art-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.guide-play-caption {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.guide-play-notice {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 197, 49, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 197, 49, 0.06);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* guide: right rail */
.guide-rail-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.guide-rail-title {
  font-size: 14.5px;
  margin-bottom: 12px;
}

.guide-help-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-help-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 9px;
  transition: color 0.15s, background 0.15s;
}

.guide-help-row:hover {
  color: var(--text);
  background: rgba(120, 145, 255, 0.1);
}

.guide-help-arrow {
  margin-left: auto;
  color: var(--dim);
}

.guide-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.guide-spec-table th {
  text-align: left;
  color: var(--dim);
  font-weight: 700;
  padding: 7px 8px 7px 0;
  white-space: nowrap;
  vertical-align: top;
  width: 74px;
}

.guide-spec-table td {
  padding: 7px 0;
  color: var(--muted);
}

.guide-spec-table tr + tr th,
.guide-spec-table tr + tr td {
  border-top: 1px solid var(--line);
}

.guide-contact {
  text-align: center;
}

.guide-contact p {
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 12px;
}

.guide-contact img {
  max-height: 90px;
  margin-bottom: 12px;
}

/* ============ footer ============ */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 28, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 44px 24px 30px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  font-size: 18px;
}

.footer-social span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
}

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

/* footer: required disclosures (age, helpline, terms, privacy, operator) */
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-notice strong {
  color: var(--text);
}

.footer-legal a {
  color: var(--cyan);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 600;
}

.footer-company {
  color: var(--dim);
}

.footer-copy {
  text-align: center;
  color: var(--dim);
  font-size: 12.5px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
}

/* ============ casino theme (headline content) ============ */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border: 1px solid var(--age-line);
  border-radius: 999px;
  background: var(--age-soft);
  color: var(--age);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-line-gold {
  background: linear-gradient(135deg, #ffe58f, #ffc531 45%, #ff8f3f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title-gold::before {
  background: var(--age-badge);
}

.section-sub {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.section-divider {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.home-feature-emoji {
  font-size: 28px;
}

/* casino cards */
.cz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cz-card-box {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--age-line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow: 0 14px 34px rgba(2, 6, 30, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cz-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2, 6, 30, 0.55), 0 0 0 1px rgba(255, 197, 49, 0.35);
}

.cz-body {
  padding: 20px 22px 24px;
}

.cz-type {
  color: var(--age);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cz-name {
  margin: 6px 0 6px;
  font-size: 24px;
  font-weight: 900;
}

.cz-tagline {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.cz-features {
  margin-top: 14px;
  list-style: none;
}

.cz-features li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.cz-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--age);
}

.cz-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* casino art images (800x600 source, cropped from the top so faces stay in frame) */
.cz-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-3);
}

.cz-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.3s;
}

.cz-card-box:hover .cz-art img {
  transform: scale(1.04);
}

/* ============ hero background (Home, Games) ============ */
.page-hero-bg {
  padding-top: 0;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* image sized so the "Havfun Casino" sign sits right of the copy */
.hero-stage-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../assets/casino/casino-hero-bg.jpg') 0% 22% / 140% auto no-repeat, var(--bg);
  /* fade the whole layer out at the bottom so it blends into the notice panels area */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

/* contrast shade: dark on the copy side, clear on the right, fades into the page at the bottom */
.hero-stage-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 38, 0.88) 0%, rgba(5, 10, 38, 0.7) 30%, rgba(5, 10, 38, 0.3) 52%, rgba(5, 10, 38, 0.05) 70%, transparent 100%),
    linear-gradient(180deg, rgba(5, 10, 38, 0.35) 0%, transparent 25%);
}

/* stepped blur: four layers, each blurrier and narrower, masked from the left */
.hero-blur {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blur-1 {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 72%);
  mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 72%);
}

.hero-blur-2 {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 48%, transparent 62%);
  mask-image: linear-gradient(90deg, #000 0%, #000 48%, transparent 62%);
}

.hero-blur-3 {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 52%);
  mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 52%);
}

.hero-blur-4 {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 26%, transparent 42%);
  mask-image: linear-gradient(90deg, #000 0%, #000 26%, transparent 42%);
}

.hero-copy {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-copy > * {
  max-width: 600px;
}

/* drop-shadow (not text-shadow) keeps gradient-filled headline text bright */
.hero-copy h1 {
  filter: drop-shadow(0 2px 10px rgba(2, 6, 30, 0.8));
}

.hero-copy .hero-sub {
  text-shadow: 0 1px 10px rgba(2, 6, 30, 0.85);
}

.page-hero-bg .hero-copy .hero-sub {
  color: #c9d4f5;
}

/* ============ in-game purchases ============ */
.page-hero-compact {
  padding: 46px 0 36px;
}

.page-hero-compact .hero-sub {
  max-width: 760px;
}

.notice-text a {
  color: var(--age);
  font-weight: 700;
  white-space: nowrap;
}

.pc-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pc-fact-icon {
  font-size: 26px;
}

.pc-fact h3 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.pc-fact p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.pc-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  scroll-margin-top: 90px;
}

.pc-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-3);
  font-size: 24px;
}

.pc-icon-img {
  overflow: hidden;
  border: 1px solid var(--age-line);
  background: radial-gradient(circle at 50% 45%, rgba(255, 229, 143, 0.38), rgba(255, 197, 49, 0.1) 75%);
}

.pc-icon-img img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.pc-name {
  font-size: 18px;
  font-weight: 800;
}

.pc-meta {
  margin-top: 2px;
  color: var(--age);
  font-size: 13px;
  font-weight: 700;
}

.pc-blurb {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.pc-ex-label {
  margin-top: 16px;
  color: var(--dim);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc-examples {
  list-style: none;
  margin-top: 6px;
}

.pc-examples li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  column-gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

/* item icon spans both text rows */
.pc-ex-icon {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  padding: 4px;
  border-radius: 12px;
  /* light enough that dark items (e.g. the witch hat) stay visible */
  background: radial-gradient(circle at 50% 45%, rgba(234, 240, 255, 0.34), rgba(234, 240, 255, 0.1) 75%);
  object-fit: contain;
}

.pc-ex-name {
  font-size: 14px;
  font-weight: 700;
}

.pc-ex-price {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.pc-ex-chips {
  grid-column: 2 / -1;
  margin-top: -6px;
  color: var(--muted);
  font-size: 12.5px;
}

.pc-terms h2 {
  margin-bottom: 10px;
  font-size: 19px;
}

.pc-terms ul {
  margin-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pc-terms p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.pc-terms a {
  color: var(--cyan);
  text-decoration: underline;
}

.pc-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  list-style: none;
}

.pc-highlights a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: border-color 0.15s, transform 0.15s;
}

.pc-highlights a:hover {
  border-color: var(--age-line);
  transform: translateY(-2px);
}

.pc-highlights .pc-icon {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.pc-hl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pc-hl-name {
  font-size: 14.5px;
  font-weight: 800;
}

.pc-hl-price {
  color: var(--age);
  font-size: 12.5px;
  font-weight: 700;
}

/* ============ guide: arcade center overview ============ */
.guide-h3 {
  margin: 30px 0 8px;
  font-size: 18px;
}

.guide-lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.guide-arcade-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.guide-arcade-type {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.guide-arcade-ico {
  font-size: 26px;
}

.guide-arcade-type h4 {
  margin: 8px 0 4px;
  font-size: 15px;
}

.guide-arcade-type p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ============ responsible play cards (home + guide) ============ */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* the guide's centre column is narrow — two cards per row */
.guide-main .rp-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.rp-card-adult {
  border-color: var(--age-line);
  background: linear-gradient(180deg, rgba(255, 197, 49, 0.1), var(--bg-2));
}

.rp-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-3);
  font-size: 22px;
}

.rp-ico-adult {
  background: var(--age-badge);
  color: var(--age-ink);
  font-size: 16px;
  font-weight: 900;
}

.rp-card h4 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.rp-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.rp-card a {
  color: var(--cyan);
}

/* ============ legal pages (terms / privacy) ============ */
.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 44px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-doc h1 {
  color: var(--text);
  font-size: 32px;
}

.legal-doc h1 + p {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.legal-doc > div {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-doc > div:first-child {
  padding-top: 0;
  border-top: 0;
  padding-bottom: 22px;
}

.legal-doc h2 {
  color: var(--text);
  font-size: 19px;
  margin-bottom: 12px;
}

.legal-doc h3 {
  color: var(--text);
  font-size: 15px;
  margin: 16px 0 6px;
}

.legal-doc p + p,
.legal-doc ul + p {
  margin-top: 10px;
}

.legal-doc ul,
.legal-doc ol {
  margin: 8px 0 0 20px;
}

.legal-doc a {
  color: var(--cyan);
  text-decoration: underline;
}

.legal-doc li + li {
  margin-top: 4px;
}

.legal-doc strong {
  color: var(--text);
  font-weight: 700;
}

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .hero-stage-media {
    background-size: cover;
    background-position: 50% 30%;
  }
  .hero-stage-media::after {
    background: linear-gradient(180deg, rgba(5, 10, 38, 0.5) 0%, rgba(5, 10, 38, 0.62) 55%, rgba(5, 10, 38, 0.5) 100%);
  }
  .hero-blur-1,
  .hero-blur-2 {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-blur-1 {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .hero-blur-2,
  .hero-blur-3,
  .hero-blur-4 {
    display: none;
  }
  .hero-copy {
    min-height: 0;
  }
  .pc-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notice-panels {
    grid-template-columns: 1fr;
  }
  .cz-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .rp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(4, 8, 30, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .games-featured,
  .guide-play-body {
    grid-template-columns: 1fr;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar,
  .guide-rail {
    position: static;
  }
  .guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-arcade {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pc-facts {
    grid-template-columns: 1fr;
  }
  .pc-grid {
    grid-template-columns: 1fr;
  }
  .rp-grid,
  .guide-main .rp-grid,
  .guide-arcade-types {
    grid-template-columns: 1fr;
  }
  .age-bar p {
    font-size: 12.5px;
  }
  .age-bar-more {
    display: block;
  }
  .notice-panel {
    gap: 14px;
    padding: 14px;
  }
  .notice-badge {
    width: 54px;
    height: 54px;
    font-size: 19px;
  }
  .notice-badge.notice-badge-nocash {
    font-size: 29px;
  }
  .notice-badge-nocash::after {
    width: 42px;
  }
  .notice-title {
    font-size: 17px;
  }
  .legal-doc {
    padding: 26px 20px;
  }
  .legal-doc h1 {
    font-size: 26px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .header-actions .btn-cyan {
    display: none;
  }
  .guide-steps {
    grid-template-columns: 1fr;
  }
  .guide-hero {
    grid-template-columns: 1fr;
  }
}
