/* =========================================================
 * Playt (playt.homes) - Core stylesheet
 * All custom classes / variables use the g021- prefix.
 * Mobile-first canvas: 320-430px.
 * Palette: #FF1493 accent on #1a1a1a / #333333 dark base.
 * =======================================================*/

:root {
  --g021-bg: #0f0f12;
  --g021-bg-soft: #1a1a1f;
  --g021-bg-card: #23232b;
  --g021-bg-card-2: #2c2c36;
  --g021-brand: #FF1493;
  --g021-brand-2: #ff5bb0;
  --g021-brand-deep: #c0006f;
  --g021-dark: #333333;
  --g021-text: #f6f6fa;
  --g021-text-soft: #c9c9d4;
  --g021-text-mute: #8b8b99;
  --g021-line: rgba(255, 255, 255, 0.08);
  --g021-line-strong: rgba(255, 20, 147, 0.45);
  --g021-radius: 14px;
  --g021-radius-lg: 20px;
  --g021-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --g021-shadow-brand: 0 8px 22px rgba(255, 20, 147, 0.35);
  --g021-header-h: 56px;
  --g021-bottom-h: 64px;
  --g021-max-w: 480px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(120% 60% at 50% -10%, #2a0f1d 0%, var(--g021-bg) 60%);
  color: var(--g021-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g021-brand-2); text-decoration: none; }
a:hover { color: var(--g021-brand); }

.g021-wrap {
  max-width: var(--g021-max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
}

/* =========================== HEADER =========================== */
.g021-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--g021-header-h);
  background: linear-gradient(180deg, #1c0011 0%, #160016 100%);
  border-bottom: 1px solid var(--g021-line-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.g021-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.g021-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.g021-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 20, 147, 0.6);
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: var(--g021-shadow-brand);
}

.g021-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.g021-brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: #fff;
}
.g021-brand-name b { color: var(--g021-brand); }
.g021-brand-tag {
  font-size: 10px;
  color: var(--g021-text-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g021-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g021-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--g021-line);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}
.g021-icon-btn:hover { background: rgba(255, 20, 147, 0.18); transform: translateY(-1px); }
.g021-icon-btn svg { width: 20px; height: 20px; display: block; }

.g021-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 0 14px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.g021-btn:active { transform: translateY(1px); }

.g021-btn-login {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.g021-btn-login:hover { background: rgba(255, 255, 255, 0.12); }

.g021-btn-register {
  background: linear-gradient(135deg, var(--g021-brand) 0%, var(--g021-brand-deep) 100%);
  color: #fff;
  box-shadow: var(--g021-shadow-brand);
}
.g021-btn-register:hover { filter: brightness(1.08); }

/* =========================== SLIDE MENU =========================== */
.g021-menu-panel {
  position: fixed;
  top: var(--g021-header-h);
  left: 0;
  right: 0;
  z-index: 70;
  max-height: 0;
  overflow: hidden;
  background: #160016;
  border-bottom: 1px solid var(--g021-line);
  transition: max-height 0.32s ease;
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.55);
}
.g021-menu-panel.g021-menu-open {
  max-height: 80vh;
  overflow-y: auto;
}
.g021-menu-inner {
  padding: 14px 12px 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.g021-menu-link {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--g021-line);
  color: var(--g021-text-soft);
  font-size: 14px;
  font-weight: 600;
}
.g021-menu-link:hover { background: rgba(255, 20, 147, 0.14); color: #fff; }
.g021-menu-section-title {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g021-brand-2);
  margin: 6px 2px;
}

/* =========================== HERO CAROUSEL =========================== */
.g021-hero {
  position: relative;
  margin: 12px 0 4px;
  border-radius: var(--g021-radius-lg);
  overflow: hidden;
  box-shadow: var(--g021-shadow);
  border: 1px solid var(--g021-line-strong);
}
.g021-hero-viewport { overflow: hidden; }
.g021-hero-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.g021-hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
}
.g021-hero-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.g021-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.g021-hero-caption b { color: var(--g021-brand-2); }

.g021-hero-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.g021-hero-arrow {
  pointer-events: auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
}
.g021-hero-arrow svg { width: 16px; height: 16px; }

.g021-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
}
.g021-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
  padding: 0;
  cursor: pointer;
}
.g021-hero-dot.g021-hero-dot-active { background: var(--g021-brand); width: 18px; border-radius: 4px; }

/* =========================== SECTIONS =========================== */
.g021-section {
  margin: 22px 0 8px;
}
.g021-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
}
.g021-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.g021-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--g021-brand), var(--g021-brand-deep));
  border-radius: 3px;
}
.g021-section-more {
  font-size: 12px;
  color: var(--g021-text-soft);
  font-weight: 600;
}
.g021-section-more:hover { color: var(--g021-brand-2); }

/* Category quick chips */
.g021-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.g021-chips::-webkit-scrollbar { display: none; }
.g021-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  color: var(--g021-text-soft);
  font-size: 13px;
  font-weight: 600;
}
.g021-chip:hover { color: #fff; border-color: var(--g021-line-strong); background: var(--g021-bg-card-2); }

/* =========================== GAME GRID =========================== */
.g021-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.g021-game {
  display: block;
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  border-radius: var(--g021-radius);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  color: var(--g021-text);
}
.g021-game:hover {
  transform: translateY(-2px);
  border-color: var(--g021-line-strong);
  box-shadow: 0 10px 18px rgba(255, 20, 147, 0.22);
}
.g021-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.g021-game-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--g021-text-soft);
  padding: 5px 4px 7px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g021-cat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  margin: 0 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,20,147,0.16), rgba(51,51,51,0.5));
  border: 1px solid var(--g021-line-strong);
}
.g021-cat-banner h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.4px;
}
.g021-cat-banner span { font-size: 11px; color: var(--g021-text-soft); }

/* =========================== INFO CARDS =========================== */
.g021-card {
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  border-radius: var(--g021-radius-lg);
  padding: 16px;
  margin: 10px 0;
}
.g021-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff;
}
.g021-card p {
  margin: 0 0 8px;
  color: var(--g021-text-soft);
  font-size: 14px;
}

.g021-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.g021-feature {
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  border-radius: var(--g021-radius);
  padding: 14px 12px;
  text-align: center;
}
.g021-feature-ico {
  width: 38px; height: 38px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: rgba(255,20,147,0.14);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--g021-brand-2);
}
.g021-feature-ico svg { width: 22px; height: 22px; }
.g021-feature h4 { margin: 0 0 4px; font-size: 14px; color: #fff; }
.g021-feature p { margin: 0; font-size: 12px; color: var(--g021-text-soft); }

/* =========================== TESTIMONIALS =========================== */
.g021-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.g021-testi {
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  border-radius: var(--g021-radius);
  padding: 12px;
}
.g021-testi-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.g021-testi-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g021-brand), var(--g021-brand-deep));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}
.g021-testi-name { font-size: 12px; font-weight: 700; color: #fff; }
.g021-testi-stars { color: #ffcf3f; font-size: 11px; margin-left: auto; }
.g021-testi p { margin: 0; font-size: 12px; color: var(--g021-text-soft); line-height: 1.45; }

/* =========================== PROMO STRIP =========================== */
.g021-promo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.g021-promo-card {
  display: block;
  padding: 14px 12px;
  border-radius: var(--g021-radius);
  background: linear-gradient(135deg, rgba(255,20,147,0.18), rgba(51,51,51,0.65));
  border: 1px solid var(--g021-line-strong);
  color: #fff;
}
.g021-promo-card h4 { margin: 0 0 4px; font-size: 14px; }
.g021-promo-card p { margin: 0; font-size: 11px; color: var(--g021-text-soft); }

/* =========================== EXTENDED FOOTER =========================== */
.g021-ext-footer {
  margin-top: 26px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--g021-line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.g021-ext-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.g021-ext-link {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.g021-ext-link span { font-size: 11px; font-weight: 400; color: var(--g021-text-soft); margin-top: 2px; }
.g021-ext-link:hover { border-color: var(--g021-line-strong); color: var(--g021-brand-2); }

.g021-brand-blurb {
  background: var(--g021-bg-card);
  border: 1px solid var(--g021-line);
  border-radius: var(--g021-radius);
  padding: 14px;
  margin-bottom: 12px;
}
.g021-brand-blurb h4 { margin: 0 0 6px; font-size: 14px; color: #fff; }
.g021-brand-blurb p { margin: 0; font-size: 12px; color: var(--g021-text-soft); }

.g021-disclaimer {
  font-size: 11px;
  color: var(--g021-text-mute);
  padding: 8px 4px 0;
  line-height: 1.5;
}

/* =========================== FOOTER =========================== */
.g021-footer {
  background: #0a0008;
  border-top: 1px solid var(--g021-line);
  padding: 16px 0 calc(var(--g021-bottom-h) + 16px);
  color: var(--g021-text-soft);
  font-size: 12px;
}
.g021-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 8px 0 12px;
}
.g021-footer-links a { color: var(--g021-text-soft); }
.g021-footer-links a:hover { color: var(--g021-brand-2); }
.g021-footer-copy { color: var(--g021-text-mute); font-size: 11px; }

/* =========================== BOTTOM NAV =========================== */
.g021-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  height: var(--g021-bottom-h);
  display: flex;
  max-width: var(--g021-max-w);
  margin: 0 auto;
  background: linear-gradient(180deg, #1a0014 0%, #0a0008 100%);
  border-top: 1px solid var(--g021-line-strong);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.55);
}
.g021-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--g021-text-mute);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  padding: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}
.g021-bottom-nav-item:hover { color: var(--g021-text); }
.g021-bottom-nav-item svg { width: 22px; height: 22px; }
.g021-bottom-nav-active {
  color: var(--g021-brand);
  transform: translateY(-3px);
}
.g021-bottom-nav-active svg { filter: drop-shadow(0 4px 8px rgba(255,20,147,0.6)); }
.g021-bottom-nav-promo {
  color: var(--g021-brand-2);
}

/* =========================== LAYOUT HELPERS =========================== */
.g021-main { padding-bottom: 20px; }
.g021-container { padding: 0 12px; max-width: var(--g021-max-w); margin: 0 auto; }
.g021-spacer-16 { height: 16px; }
.g021-hide { display: none !important; }

/* =========================== DESKTOP FRAMING =========================== */
@media (min-width: 481px) {
  body { background: #050505; }
  .g021-shell {
    max-width: var(--g021-max-w);
    margin: 0 auto;
    background: var(--g021-bg);
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    position: relative;
  }
  .g021-header, .g021-bottom-nav { max-width: var(--g021-max-w); }
}

/* Slightly denser grid at the wider end of the mobile canvas. */
@media (min-width: 375px) {
  .g021-games { gap: 10px; }
  .g021-hero-slide img { height: 200px; }
}

/* =========================== EDITORIAL HELP PAGES =========================== */
.g021-article-main { padding: 14px 0 calc(var(--g021-bottom-h) + 24px); }
.g021-article-head { padding: 12px; margin-bottom: 8px; }
.g021-article-head h1 { margin: 0 0 8px; font-size: 25px; line-height: 1.15; color: #fff; }
.g021-article-head .g021-kicker { margin: 0; color: var(--g021-brand-2); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.g021-article-intro { color: var(--g021-text-soft); font-size: 15px; margin: 0; }
.g021-prose { padding: 0 12px; }
.g021-prose h2 { margin: 24px 0 8px; color: #fff; font-size: 19px; line-height: 1.25; }
.g021-prose h3 { margin: 18px 0 6px; color: var(--g021-brand-2); font-size: 15px; }
.g021-prose p { margin: 0 0 12px; color: var(--g021-text-soft); }
.g021-prose ul, .g021-prose ol { margin: 8px 0 14px; padding-left: 22px; color: var(--g021-text-soft); }
.g021-prose li { margin: 7px 0; }
.g021-answer { border-left: 3px solid var(--g021-brand); padding: 12px 13px; margin: 10px 0 15px; border-radius: 0 12px 12px 0; background: rgba(255,20,147,.08); }
.g021-answer h3 { margin-top: 0; color: #fff; }
.g021-callout { margin: 16px 0; padding: 15px; border: 1px solid var(--g021-line-strong); border-radius: var(--g021-radius); background: linear-gradient(135deg, rgba(255,20,147,.15), rgba(51,51,51,.5)); }
.g021-callout strong { color: #fff; }
.g021-table-wrap { overflow-x: auto; margin: 12px 0 16px; }
.g021-table { width: 100%; border-collapse: collapse; min-width: 300px; font-size: 13px; }
.g021-table th, .g021-table td { padding: 9px 8px; border: 1px solid var(--g021-line); text-align: left; vertical-align: top; }
.g021-table th { color: #fff; background: rgba(255,20,147,.14); }
.g021-table td { color: var(--g021-text-soft); }
.g021-inline-promo { display: block; min-height: 44px; margin: 16px 0; padding: 11px 13px; border-radius: 11px; background: rgba(255,20,147,.13); border: 1px solid var(--g021-line-strong); color: #fff; font-weight: 700; }
.g021-rating { color: #ffcf3f; letter-spacing: 2px; font-size: 17px; }
.g021-review-grid { display: grid; gap: 10px; }
.g021-review-note { padding: 13px; border-radius: 12px; background: var(--g021-bg-card); border: 1px solid var(--g021-line); }
.g021-review-note strong { color: #fff; }
.g021-article-footer { margin-top: 24px; padding: 0 12px; color: var(--g021-text-mute); font-size: 12px; }
.g021-article-footer a { color: var(--g021-brand-2); }
.g021-article-main .g021-bottom-nav { position: fixed; }
.g021-article-main + .g021-footer { padding-bottom: calc(var(--g021-bottom-h) + 16px); }
@media (min-width: 481px) { .g021-article-head, .g021-prose, .g021-article-footer { padding-left: 18px; padding-right: 18px; } }
