/* ===
   Yono Game — page sections
   hero, stats, floors, games grid, screenshots, countdown, editorial SEO,
   steps, contact, legal, sitemap, 404, game detail
   === */

/* --- HERO --- */
.hero { padding-block: clamp(36px, 5vw, 64px) var(--sec-y); }
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 .thin {
  display: block;
  font-size: var(--t-kick);
  font-weight: 700;
  letter-spacing: var(--tr-kick);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.hero-sub { margin-top: var(--s-5); max-width: 56ch; color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.13rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-tg { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: var(--t-xs);
  color: var(--text-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

.hero-mount { position: relative; }
.hero-mount .mount-card { padding: 10px; }
.hero-mount .shot { border-radius: calc(var(--r-panel) - 3px); overflow: hidden; background: var(--bg-3); }
.hero-mount .shot img { width: 100%; height: auto; }

/* Small floating stat cards beside the phone. */
.hero-chip {
  position: absolute;
  display: grid;
  gap: 1px;
  padding: 10px 14px;
  border-radius: var(--r-input);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: .68rem;
  color: var(--text-3);
  line-height: 1.35;
  z-index: 3;
}
.hero-chip b { display: block; font-size: .92rem; font-weight: 700; color: var(--text); }
.hero-chip.c1 { left: -22px; bottom: 104px; }
.hero-chip.c2 { left: -8px;  bottom: 26px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mount { max-width: 400px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-chip { padding: 8px 11px; font-size: .62rem; }
  .hero-chip.c1 { left: -8px; bottom: 88px; }
  .hero-chip.c2 { left: -4px; bottom: 14px; }
}

/* --- STATS --- */
.stat-strip { background: var(--bg-2); border-block: 1px solid var(--border); padding-block: var(--s-7); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { display: grid; justify-items: center; gap: 6px; text-align: center; }
.stat .k { font-size: var(--t-xs); color: var(--text-3); }

/* --- FLOORS --- */
.floors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .floors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .floors { grid-template-columns: 1fr; } }
.floor {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--d-ui) var(--e), box-shadow var(--d-ui) var(--e), border-color var(--d-ui) var(--e);
}
.floor:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-str); }
.floor .shot { border-radius: calc(var(--r-panel) - 4px); overflow: hidden; aspect-ratio: 16/10; background: var(--bg-3); }
.floor .shot img { width: 100%; height: 100%; object-fit: cover; }
.floor .go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--d-ui) var(--e);
}
.floor:hover .go { gap: 11px; }

/* Three-up with the middle card featured. */
.fan-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: stretch; }
@media (min-width: 981px) {
  .fan-3 > :nth-child(2) { border-color: var(--accent); box-shadow: var(--shadow); }
}
@media (max-width: 980px) { .fan-3 { grid-template-columns: 1fr; } }

/* --- GAMES GRID --- */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--s-4); }
@media (min-width: 760px) {
  .deal-grid > .g-cell:nth-child(5n) { grid-column: span 2; }
  .deal-grid > .g-cell:nth-child(5n) .g-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    gap: var(--s-4);
    align-items: center;
  }
  .deal-grid > .g-cell:nth-child(5n) .g-meta { padding: 0 12px 0 0; }
  .deal-grid > .g-cell:nth-child(5n) .g-name { font-size: 1.04rem; }
}
.games-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-6);
}
.search-wrap { position: relative; min-width: min(280px, 100%); }
.search-wrap input { padding-left: 38px; }
.search-wrap svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  fill: var(--text-3);
  pointer-events: none;
}
.g-empty { padding: var(--s-8) var(--s-6); text-align: center; color: var(--text-2); }
.cat-block + .cat-block { margin-top: var(--s-8); }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }

/* --- SCREENSHOTS --- */
.screens { background: var(--bg-2); border-block: 1px solid var(--border); }

/* --- COUNTDOWN --- */
.countdown { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.cd-unit { display: grid; justify-items: center; gap: 7px; }
.cd-digits { display: flex; gap: 5px; }
.digit {
  display: grid;
  place-items: center;
  width: 2.1em;
  height: 2.6em;
  border-radius: var(--r-input);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 750;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-variant-numeric: tabular-nums;
}
.cd-lbl { font-size: var(--t-xs); color: var(--text-3); }

/* --- EDITORIAL --- */
.editorial { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gutter); align-items: start; }
@media (max-width: 900px) { .editorial { grid-template-columns: minmax(0, 1fr); } }
.editorial-aside { position: sticky; top: 96px; display: grid; gap: var(--s-4); }
@media (max-width: 900px) { .editorial-aside { position: static; } }
.fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--t-sm);
}
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { color: var(--text-3); }
.fact-row dd { color: var(--text); font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }

.kw-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-6); }
.kw-cloud span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: .7rem;
  color: var(--text-3);
}

/* --- STEPS --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step .n {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 750;
  font-size: .9rem;
  margin-bottom: var(--s-4);
}

.timeline { display: grid; gap: var(--s-3); }
.tl-item { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: var(--s-3); } }
.tl-yr { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tr-kick); color: var(--accent); padding-top: 4px; }

/* --- SPLIT / MEDIA --- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4.5vw, 56px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.media-card { padding: 10px; }
.media-card .shot { border-radius: calc(var(--r-panel) - 3px); overflow: hidden; background: var(--bg-3); }
.media-card .shot img { width: 100%; height: auto; }

.mini-stats { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-5); }
.mini-stats div { display: grid; gap: 1px; }
.mini-stats b { font-size: 1.14rem; font-weight: 750; color: var(--text); font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: .72rem; color: var(--text-3); }

/* --- TESTIMONIALS --- */
.t-card { width: clamp(262px, 28vw, 330px); padding: var(--s-5); }
.t-card .stars { color: var(--gold); letter-spacing: .1em; margin-bottom: var(--s-2); }
.t-card q { display: block; color: var(--text-2); font-style: normal; font-size: var(--t-sm); }
.t-card q::before { content: "\201C"; }
.t-card q::after  { content: "\201D"; }
.t-card .who { margin-top: var(--s-4); display: grid; gap: 1px; }
.t-card .who b { color: var(--text); font-size: var(--t-sm); }
.t-card .who span { font-size: .72rem; color: var(--text-3); }

/* --- BANNER --- */
.banner-fig { padding: 10px; }
.banner-fig .shot { border-radius: calc(var(--r-panel) - 3px); overflow: hidden; }
.banner-fig .shot img { width: 100%; height: auto; }
.banner-fig figcaption { padding-top: 10px; text-align: center; font-size: var(--t-xs); color: var(--text-3); }

/* --- CTA --- */
.cta-final { text-align: center; }
.cta-final .btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }
.muted { color: var(--text-3); font-size: var(--t-xs); }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gutter); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.info-card + .info-card { margin-top: var(--s-3); }
.info-card h4 { margin-bottom: 6px; }
.channel-list { display: grid; gap: var(--s-2); margin-block: var(--s-4); }
.channel-list li { position: relative; padding-left: 22px; color: var(--text-2); font-size: var(--t-sm); }
.channel-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--live);
}
.tg-tag { display: inline-block; font-size: var(--t-xs); font-weight: 650; text-transform: uppercase; letter-spacing: var(--tr-kick); color: var(--live); margin-bottom: var(--s-2); }

/* --- PAGE HERO --- */
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(34px, 5vw, 60px); }
.page-hero .lead { max-width: 62ch; margin-top: var(--s-4); }

/* --- LEGAL --- */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--gutter); align-items: start; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } }
.toc { position: sticky; top: 96px; }
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 { margin-bottom: var(--s-2); font-size: var(--t-kick); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tr-kick); color: var(--text-3); }
.toc a { display: block; padding: 7px 0; font-size: var(--t-sm); color: var(--text-2); border-bottom: 1px solid var(--border); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--accent); }
.legal-meta { font-size: var(--t-xs); color: var(--text-3); margin-bottom: var(--s-5); }

/* --- SITEMAP --- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-5); }
@media (max-width: 900px) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .sitemap-grid { grid-template-columns: minmax(0,1fr); } }
.sitemap-grid a { display: block; padding: 8px 0; color: var(--text-2); border-bottom: 1px solid var(--border); font-size: var(--t-sm); }
.sitemap-grid a:hover { color: var(--accent); }

/* --- 404 --- */
.nf { min-height: 58vh; display: grid; place-items: center; text-align: center; padding-block: var(--sec-y); }
.nf .code { font-size: clamp(4rem, 13vw, 7.5rem); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.nf .btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }

/* --- GAME DETAIL --- */
.gd-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--gutter); align-items: start; }
@media (max-width: 900px) { .gd-grid { grid-template-columns: minmax(0,1fr); } }
.gd-art { padding: 10px; }
.gd-art .shot { border-radius: calc(var(--r-panel) - 3px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.gd-art .shot img { width: 100%; height: 100%; object-fit: cover; }
.gd-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-2); margin-block: var(--s-5); }
.gd-spec { padding: 11px 13px; border-radius: var(--r-input); background: var(--bg-2); border: 1px solid var(--border); }
.gd-spec dt { font-size: .7rem; color: var(--text-3); }
.gd-spec dd { font-weight: 700; color: var(--text); margin-top: 2px; font-variant-numeric: tabular-nums; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px,1fr)); gap: var(--s-4); }
