@charset "UTF-8";
/*!
 * PTT Gaming APK - Mobile Palette
 * File: css/ptt-gaming-apk-palette-d98e7b.css
 * Scope: header, expandable menu, hero carousel, game grids, content
 *        modules, extended footer, footer and fixed bottom navigation.
 * All custom classes and CSS variables use the `cd98e7-` prefix.
 */

/* ------------------------------------------------------------------ *
 * Design tokens
 * ------------------------------------------------------------------ */
:root {
  --cd98e7-bg:          #273746;   /* deep navy - primary surface */
  --cd98e7-bg-soft:     #2d4051;   /* raised surface */
  --cd98e7-bg-deep:     #1d2a35;   /* darker recess */
  --cd98e7-bg-card:     #324656;   /* card surface */
  --cd98e7-text:        #FAF0E6;   /* primary text - warm cream */
  --cd98e7-text-soft:   #DCDCDC;   /* secondary text */
  --cd98e7-muted:       #95A5A6;   /* tertiary text / borders */
  --cd98e7-accent:      #2E8B57;   /* sea green - brand accent */
  --cd98e7-accent-soft: #3aa86a;
  --cd98e7-accent-deep: #235f3c;
  --cd98e7-line:        rgba(220, 220, 220, 0.16);
  --cd98e7-line-strong: rgba(220, 220, 220, 0.28);
  --cd98e7-shadow:      0 10px 28px rgba(0, 0, 0, 0.35);
  --cd98e7-radius-sm:   10px;
  --cd98e7-radius:      16px;
  --cd98e7-radius-lg:   22px;
  --cd98e7-header-h:    62px;
  --cd98e7-bottomnav-h: 64px;
  --cd98e7-tap:         44px;
  --cd98e7-canvas:      480px;
  --cd98e7-ease:        cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------ *
 * Base reset (mobile-first, phone canvas only)
 * ------------------------------------------------------------------ */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cd98e7-text);
  background:
    radial-gradient(1200px 600px at 50% -10%, #2f4555 0%, var(--cd98e7-bg) 55%, var(--cd98e7-bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

img { max-width: 100%; display: block; }
a { color: var(--cd98e7-accent-soft); text-decoration: none; }
a:hover, a:focus { color: var(--cd98e7-text); }

h1, h2, h3, h4 {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.28;
  color: var(--cd98e7-text);
  margin: 0 0 12px;
}

p { margin: 0 0 12px; color: var(--cd98e7-text-soft); }
ul, ol { margin: 0 0 14px; padding-left: 20px; color: var(--cd98e7-text-soft); }
li { margin-bottom: 6px; }

:focus-visible {
  outline: 2px solid var(--cd98e7-accent-soft);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Centered phone canvas on wider screens. */
.cd98e7-canvas {
  width: 100%;
  max-width: var(--cd98e7-canvas);
  min-height: 100vh;
  position: relative;
  background: var(--cd98e7-bg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

/* Reserve space for fixed header and bottom nav. */
.cd98e7-main {
  padding-top: calc(var(--cd98e7-header-h) + 6px);
  padding-bottom: calc(var(--cd98e7-bottomnav-h) + 28px);
}

/* Visually hidden helper for screen-reader-only labels. */
.cd98e7-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ *
 * Top header (LOGO-dominant action bar)
 * ------------------------------------------------------------------ */
.cd98e7-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cd98e7-canvas);
  height: var(--cd98e7-header-h);
  background: linear-gradient(180deg, rgba(45, 64, 81, 0.98) 0%, rgba(39, 55, 70, 0.96) 100%);
  border-bottom: 1px solid var(--cd98e7-line);
  backdrop-filter: blur(10px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.cd98e7-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

.cd98e7-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--cd98e7-line-strong);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  background: var(--cd98e7-bg-deep);
}

.cd98e7-brand-text { min-width: 0; }
.cd98e7-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--cd98e7-text);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd98e7-brand-tag {
  font-size: 10.5px;
  color: var(--cd98e7-accent-soft);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.1;
  font-weight: 600;
}

.cd98e7-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.cd98e7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cd98e7-tap);
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--cd98e7-ease),
              color .25s var(--cd98e7-ease),
              border-color .25s var(--cd98e7-ease),
              transform .15s var(--cd98e7-ease);
  font-family: inherit;
  text-transform: uppercase;
}
.cd98e7-btn:active { transform: scale(0.96); }

.cd98e7-btn--login {
  background: transparent;
  color: var(--cd98e7-text);
  border-color: var(--cd98e7-line-strong);
}
.cd98e7-btn--login:hover, .cd98e7-btn--login:focus {
  background: rgba(220, 220, 220, 0.08);
  color: var(--cd98e7-text);
}

.cd98e7-btn--register {
  background: linear-gradient(135deg, var(--cd98e7-accent) 0%, var(--cd98e7-accent-soft) 100%);
  color: #FAF0E6;
  box-shadow: 0 6px 16px rgba(46, 139, 87, 0.35);
}
.cd98e7-btn--register:hover, .cd98e7-btn--register:focus {
  background: linear-gradient(135deg, var(--cd98e7-accent-soft) 0%, var(--cd98e7-accent) 100%);
  color: #FAF0E6;
}

.cd98e7-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--cd98e7-line-strong);
  background: transparent;
  color: var(--cd98e7-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s var(--cd98e7-ease), border-color .25s var(--cd98e7-ease);
}
.cd98e7-menu-btn:hover, .cd98e7-menu-btn:focus { background: rgba(220, 220, 220, 0.08); }
.cd98e7-menu-btn--active { background: rgba(46, 139, 87, 0.25); border-color: var(--cd98e7-accent-soft); }
.cd98e7-menu-btn svg { width: 20px; height: 20px; display: block; }

/* ------------------------------------------------------------------ *
 * Expandable navigation menu
 * ------------------------------------------------------------------ */
.cd98e7-menu {
  position: fixed;
  top: var(--cd98e7-header-h);
  left: 50%;
  transform: translate(-50%, -8px);
  width: 100%;
  max-width: var(--cd98e7-canvas);
  background: var(--cd98e7-bg-deep);
  border-bottom: 1px solid var(--cd98e7-line-strong);
  box-shadow: var(--cd98e7-shadow);
  padding: 10px 14px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--cd98e7-ease),
              transform .28s var(--cd98e7-ease),
              visibility .28s;
  z-index: 55;
  max-height: calc(100vh - var(--cd98e7-header-h));
  overflow-y: auto;
}
.cd98e7-menu--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cd98e7-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 10px;
}
.cd98e7-menu-title {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cd98e7-accent-soft);
  font-weight: 700;
  margin: 0;
}
.cd98e7-menu-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--cd98e7-line-strong);
  background: transparent;
  color: var(--cd98e7-text);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cd98e7-menu-close svg { width: 16px; height: 16px; }

.cd98e7-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cd98e7-menu-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  min-height: var(--cd98e7-tap);
  border-radius: var(--cd98e7-radius-sm);
  background: var(--cd98e7-bg-card);
  border: 1px solid var(--cd98e7-line);
  color: var(--cd98e7-text);
  transition: background-color .25s var(--cd98e7-ease), border-color .25s var(--cd98e7-ease), transform .15s var(--cd98e7-ease);
}
.cd98e7-menu-link:hover, .cd98e7-menu-link:focus {
  background: var(--cd98e7-bg-soft);
  border-color: var(--cd98e7-accent-soft);
  color: var(--cd98e7-text);
}
.cd98e7-menu-link:active { transform: scale(0.98); }
.cd98e7-menu-link b { font-size: 13px; font-weight: 700; color: var(--cd98e7-text); }
.cd98e7-menu-link span { font-size: 11px; color: var(--cd98e7-muted); line-height: 1.3; }

.cd98e7-menu-cta {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.cd98e7-menu-cta .cd98e7-btn { flex: 1; }

.cd98e7-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 24, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--cd98e7-ease), visibility .28s;
  z-index: 50;
}
.cd98e7-backdrop--visible { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ *
 * Hero carousel
 * ------------------------------------------------------------------ */
.cd98e7-hero {
  position: relative;
  margin: 14px 12px 4px;
  border-radius: var(--cd98e7-radius-lg);
  overflow: hidden;
  box-shadow: var(--cd98e7-shadow);
  border: 1px solid var(--cd98e7-line);
  background: var(--cd98e7-bg-deep);
}
.cd98e7-hero-viewport {
  overflow: hidden;
  border-radius: var(--cd98e7-radius-lg);
}
.cd98e7-hero-track {
  display: flex;
  transition: transform .55s var(--cd98e7-ease);
  will-change: transform;
}
.cd98e7-hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  cursor: pointer;
}
.cd98e7-hero-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.cd98e7-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(180deg, rgba(29,42,53,0) 0%, rgba(29,42,53,0.85) 60%, rgba(29,42,53,0.96) 100%);
  color: var(--cd98e7-text);
}
.cd98e7-hero-caption b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
}
.cd98e7-hero-caption span { font-size: 12px; color: var(--cd98e7-text-soft); }

.cd98e7-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.cd98e7-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(250, 240, 230, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color .25s var(--cd98e7-ease), width .25s var(--cd98e7-ease);
}
.cd98e7-hero-dot--active {
  background: var(--cd98e7-accent-soft);
  width: 18px;
  border-radius: 4px;
}

/* ------------------------------------------------------------------ *
 * Section scaffolding
 * ------------------------------------------------------------------ */
.cd98e7-section {
  margin: 22px 12px 4px;
}
.cd98e7-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cd98e7-line);
}
.cd98e7-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--cd98e7-text);
  margin: 0;
  line-height: 1.25;
}
.cd98e7-section-title em {
  font-style: normal;
  color: var(--cd98e7-accent-soft);
}
.cd98e7-section-tag {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cd98e7-muted);
  white-space: nowrap;
}

.cd98e7-intro {
  margin: 18px 12px 4px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.14) 0%, rgba(50, 70, 86, 0.5) 100%);
  border: 1px solid var(--cd98e7-line);
  border-left: 3px solid var(--cd98e7-accent);
  border-radius: var(--cd98e7-radius);
}
.cd98e7-intro h1 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cd98e7-intro p {
  font-size: 13.5px;
  color: var(--cd98e7-text-soft);
  margin-bottom: 8px;
}
.cd98e7-intro p:last-child { margin-bottom: 0; }
.cd98e7-intro a {
  color: var(--cd98e7-accent-soft);
  font-weight: 600;
  border-bottom: 1px dashed rgba(58, 168, 106, 0.5);
}

/* ------------------------------------------------------------------ *
 * Game grids
 * ------------------------------------------------------------------ */
.cd98e7-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cd98e7-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: transform .15s var(--cd98e7-ease);
}
.cd98e7-game-item:active { transform: scale(0.94); }
.cd98e7-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cd98e7-bg-deep);
  border: 1px solid var(--cd98e7-line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.cd98e7-game-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cd98e7-game-name {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--cd98e7-text-soft);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* ------------------------------------------------------------------ *
 * Content modules (Payment, Security, Achievements, Comparison)
 * ------------------------------------------------------------------ */
.cd98e7-modules {
  margin: 22px 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cd98e7-module {
  background: var(--cd98e7-bg-card);
  border: 1px solid var(--cd98e7-line);
  border-radius: var(--cd98e7-radius);
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.cd98e7-module h2 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--cd98e7-text);
}
.cd98e7-module h2 em { font-style: normal; color: var(--cd98e7-accent-soft); }
.cd98e7-module p { font-size: 13px; color: var(--cd98e7-text-soft); margin-bottom: 10px; }
.cd98e7-module p:last-child { margin-bottom: 0; }
.cd98e7-module a { color: var(--cd98e7-accent-soft); font-weight: 600; }

.cd98e7-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.cd98e7-chip {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(46, 139, 87, 0.16);
  border: 1px solid rgba(46, 139, 87, 0.4);
  color: var(--cd98e7-text);
  font-weight: 600;
  letter-spacing: .2px;
}

.cd98e7-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.cd98e7-mini-card {
  background: var(--cd98e7-bg-deep);
  border: 1px solid var(--cd98e7-line);
  border-radius: var(--cd98e7-radius-sm);
  padding: 10px 12px;
}
.cd98e7-mini-card b {
  display: block;
  font-size: 12.5px;
  color: var(--cd98e7-accent-soft);
  margin-bottom: 3px;
  letter-spacing: .3px;
}
.cd98e7-mini-card span { font-size: 11.5px; color: var(--cd98e7-text-soft); line-height: 1.35; }

.cd98e7-steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  counter-reset: step;
}
.cd98e7-steps li {
  position: relative;
  padding: 7px 8px 7px 32px;
  font-size: 12.5px;
  color: var(--cd98e7-text-soft);
  counter-increment: step;
  border-bottom: 1px dashed var(--cd98e7-line);
}
.cd98e7-steps li:last-child { border-bottom: none; }
.cd98e7-steps li::before {
  content: counter(step);
  position: absolute;
  left: 4px; top: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cd98e7-accent);
  color: #FAF0E6;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cd98e7-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 12.5px;
}
.cd98e7-table th, .cd98e7-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--cd98e7-line);
  vertical-align: top;
}
.cd98e7-table th {
  color: var(--cd98e7-accent-soft);
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 700;
}
.cd98e7-table td { color: var(--cd98e7-text-soft); }
.cd98e7-table tr:last-child td { border-bottom: none; }

/* ------------------------------------------------------------------ *
 * Extended footer (horizontal shortcuts)
 * ------------------------------------------------------------------ */
.cd98e7-extended {
  margin: 26px 12px 4px;
  background: var(--cd98e7-bg-deep);
  border: 1px solid var(--cd98e7-line);
  border-radius: var(--cd98e7-radius-lg);
  padding: 18px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}
.cd98e7-ext-block { margin-bottom: 16px; }
.cd98e7-ext-block:last-child { margin-bottom: 0; }
.cd98e7-ext-title {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cd98e7-accent-soft);
  font-weight: 700;
  margin: 0 0 8px;
}
.cd98e7-ext-brand {
  font-size: 13px;
  color: var(--cd98e7-text-soft);
  line-height: 1.55;
}
.cd98e7-ext-brand b { color: var(--cd98e7-text); }

.cd98e7-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.cd98e7-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 60px;
  padding: 8px 4px;
  border-radius: var(--cd98e7-radius-sm);
  background: linear-gradient(135deg, var(--cd98e7-accent-deep) 0%, var(--cd98e7-accent) 100%);
  border: 1px solid rgba(58, 168, 106, 0.5);
  color: #FAF0E6;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s var(--cd98e7-ease), filter .2s var(--cd98e7-ease);
}
.cd98e7-shortcut:active { transform: scale(0.95); }
.cd98e7-shortcut:hover, .cd98e7-shortcut:focus { filter: brightness(1.12); }
.cd98e7-shortcut svg { width: 18px; height: 18px; }
.cd98e7-shortcut span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.15;
}

.cd98e7-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.cd98e7-directory a {
  display: block;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--cd98e7-bg-card);
  border: 1px solid var(--cd98e7-line);
  font-size: 11.5px;
  color: var(--cd98e7-text);
  font-weight: 600;
  transition: background-color .25s var(--cd98e7-ease), border-color .25s var(--cd98e7-ease);
}
.cd98e7-directory a:hover, .cd98e7-directory a:focus {
  background: var(--cd98e7-bg-soft);
  border-color: var(--cd98e7-accent-soft);
  color: var(--cd98e7-text);
}

.cd98e7-disclaimer {
  font-size: 11px;
  color: var(--cd98e7-muted);
  line-height: 1.55;
  padding: 10px 12px;
  background: rgba(149, 165, 166, 0.08);
  border-radius: 10px;
  border: 1px dashed var(--cd98e7-line-strong);
}

/* ------------------------------------------------------------------ *
 * Footer (copyright)
 * ------------------------------------------------------------------ */
.cd98e7-footer {
  margin: 18px 12px 6px;
  padding: 14px 12px;
  border-top: 1px solid var(--cd98e7-line);
  text-align: center;
}
.cd98e7-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cd98e7-footer-brand img {
  width: 26px; height: 26px;
  border-radius: 6px;
  object-fit: cover;
}
.cd98e7-footer-brand b { font-size: 13px; color: var(--cd98e7-text); }
.cd98e7-footer-copy {
  font-size: 11px;
  color: var(--cd98e7-muted);
  line-height: 1.5;
}
.cd98e7-footer-copy a { color: var(--cd98e7-text-soft); }

/* ------------------------------------------------------------------ *
 * Fixed bottom navigation (outline functional bar)
 * ------------------------------------------------------------------ */
.cd98e7-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--cd98e7-canvas);
  height: var(--cd98e7-bottomnav-h);
  background: linear-gradient(180deg, rgba(45, 64, 81, 0.98) 0%, rgba(29, 42, 53, 0.99) 100%);
  border-top: 1px solid var(--cd98e7-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cd98e7-bottomnav::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(58, 168, 106, 0.5) 50%, transparent 100%);
}
.cd98e7-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--cd98e7-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 2px 4px;
  min-height: var(--cd98e7-tap);
  transition: color .25s var(--cd98e7-ease);
}
.cd98e7-nav-item svg { width: 22px; height: 22px; display: block; }
.cd98e7-nav-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
}
.cd98e7-nav-item:hover, .cd98e7-nav-item:focus { color: var(--cd98e7-text-soft); }
.cd98e7-nav-item.cd98e7-active { color: var(--cd98e7-text); }
.cd98e7-nav-item.cd98e7-active span { color: var(--cd98e7-accent-soft); font-weight: 800; }
.cd98e7-nav-item.cd98e7-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--cd98e7-accent-soft);
}
.cd98e7-nav-item--promo {
  color: var(--cd98e7-text-soft);
}
.cd98e7-nav-item--promo span { color: var(--cd98e7-accent-soft); }

/* ------------------------------------------------------------------ *
 * Reveal animation
 * ------------------------------------------------------------------ */
.cd98e7-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--cd98e7-ease), transform .5s var(--cd98e7-ease);
}
.cd98e7-reveal.cd98e7-revealed {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ *
 * Responsive tweaks (still phone canvas, 320-430px)
 * ------------------------------------------------------------------ */
@media (min-width: 360px) {
  .cd98e7-intro h1 { font-size: 24px; }
  .cd98e7-section-title { font-size: 19px; }
  .cd98e7-game-name { font-size: 11.5px; }
}
@media (min-width: 414px) {
  .cd98e7-game-grid { gap: 10px; }
  .cd98e7-hero-slide img { height: 220px; }
  .cd98e7-intro h1 { font-size: 26px; }
  .cd98e7-section-title { font-size: 20px; }
}

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .cd98e7-reveal { opacity: 1; transform: none; }
}
