:root {
  --bg: #141c32;
  --bg-soft: #1e2a4a;
  --bg-elevated: #263556;
  --text: #ffffff;
  --muted: #b4c0e8;
  --primary: #9d6bff;
  --primary-2: #3dd6ff;
  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.24);
  --surface: rgba(255, 255, 255, 0.07);
  --surface-hover: rgba(255, 255, 255, 0.11);
  --glow-purple: rgba(157, 107, 255, 0.45);
  --glow-cyan: rgba(61, 214, 255, 0.35);
  --ok: #3ee88a;
  --container-w: min(1140px, 92vw);
  --grid-gap: 14px;
  --grid-cols: 3;
  --game-card-w: calc((var(--container-w) - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -5%, rgba(157, 107, 255, 0.42), transparent 38%),
    radial-gradient(circle at 92% 5%, rgba(61, 214, 255, 0.32), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(124, 77, 255, 0.15), transparent 45%),
    var(--bg);
  line-height: 1.45;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
.container { width: min(1140px, 92vw); margin: 0 auto; }
.topbar {
  position: sticky;
  top: max(14px, env(safe-area-inset-top, 0px));
  z-index: 10;
  max-width: min(1420px, calc(100vw - clamp(20px, 4vw, 56px)));
  margin: 0 auto 10px;
  padding: 0;
  background: transparent;
  border: none;
}
.topbar > .container.nav {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 999px;
  padding: 22px clamp(28px, 5vw, 56px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(30, 40, 68, 0.88);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 0 32px var(--glow-purple);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 1.32rem;
  text-decoration: none;
  color: #fff;
}
.logo-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}
.menu {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.menu a:hover { color: var(--primary-2); }
.menu a.is-active { color: #fff; text-shadow: 0 0 20px var(--glow-cyan); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 12px 22px;
  color: white; text-decoration: none; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 32px var(--glow-purple), 0 4px 16px var(--glow-cyan);
}
.btn.secondary {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}
.btn.secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(61, 214, 255, 0.45);
}
.hero { padding: 84px 0 56px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; color: var(--muted); font-size: 0.9rem;
  margin-bottom: 18px;
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(62, 232, 138, 0.28), 0 0 12px rgba(62, 232, 138, 0.5);
}
h1 { font-size: clamp(2rem, 6vw, 4rem); line-height: 1.08; margin-bottom: 14px; }
.page-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 10px; }
.lead { color: var(--muted); max-width: 760px; margin: 0 auto 30px; font-size: 1.06rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stats { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }
.section { padding: 58px 0; }
.section.narrow-top { padding-top: 36px; }
.section h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: 10px; }
.section .head-note { color: var(--muted); margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.card {
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.card.game-card { padding: 0; display: flex; flex-direction: column; }
.card.game-card.game-card--soft {
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 22px;
  height: 100%;
}
.card.game-card:not(.game-card--soft) { overflow: hidden; }
.game-thumb {
  position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}
.game-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.tag {
  display: inline-block; font-size: 0.76rem; color: #dce6ff; padding: 5px 10px;
  border: 1px solid var(--border); border-radius: 999px; margin-bottom: 10px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; min-height: 44px; }
.card.game-card p { min-height: 0; }

.game-soft-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: var(--bg-soft);
}
.game-soft-link:focus-visible {
  outline: none;
}
.game-soft-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.game-soft-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.35s ease, transform 0.45s ease;
}
.game-card--soft-focus-right .game-soft-bg {
  object-position: 70% center;
}
.game-soft-link:hover .game-soft-bg,
.game-soft-link:focus-visible .game-soft-bg {
  filter: blur(3px) saturate(1.03);
  transform: scale(1.02);
}
.game-soft-streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(61, 214, 255, 0.32) 0%, transparent 42%),
    linear-gradient(125deg, rgba(157, 107, 255, 0.22) 0%, transparent 35%);
  opacity: 0.85;
  mix-blend-mode: screen;
}
.game-soft-hover-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 3;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.game-soft-link:hover .game-soft-hover-bar,
.game-soft-link:focus-visible .game-soft-hover-bar {
  opacity: 1;
  transform: translateY(0);
}
.game-soft-ud {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6dffb0;
  text-shadow: 0 0 20px rgba(62, 232, 138, 0.55);
}
.game-soft-ud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(62, 232, 138, 0.3), 0 0 14px rgba(62, 232, 138, 0.65);
}
.game-card--on-update .game-soft-ud {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}
.game-card--on-update .game-soft-ud-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25), 0 0 14px rgba(245, 158, 11, 0.55);
}
.game-soft-go {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.game-soft-body {
  position: relative;
  margin-top: -20px;
  z-index: 4;
  padding: 20px 18px 18px;
  background: linear-gradient(
    180deg,
    rgba(38, 48, 78, 0.5) 0%,
    rgba(28, 36, 62, 0.42) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px 18px 21px 21px;
  border: none;
}
.game-soft-name {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f5f7ff;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.18);
}
.game-soft-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}
.game-soft-sub {
  color: rgba(164, 172, 200, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.game-soft-price {
  color: #3ee88a;
  white-space: nowrap;
}
.game-soft-price strong {
  color: #3ee88a;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(62, 232, 138, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .game-soft-bg,
  .game-soft-hover-bar,
  .game-soft-link {
    transition: none;
  }
  .game-soft-link:hover .game-soft-bg,
  .game-soft-link:focus-visible .game-soft-bg {
    filter: none;
    transform: none;
  }
}

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why-clay { text-align: center; }
.why-clay h2 { margin-bottom: 12px; }
.why-clay-lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.06rem;
  line-height: 1.55;
}
.why-clay-grid { text-align: left; margin-bottom: 0; }
.why-clay-grid .card p { min-height: 0; margin-bottom: 0; }
.why-clay-more { margin-top: 28px; text-align: center; }
.update-status {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.update-status .breadcrumb { text-align: left; }
.update-status-lead {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.06rem;
  line-height: 1.55;
}
.update-status-hint {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.update-status-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.pill--update { margin-top: 8px; margin-bottom: 22px; }
.dot--update {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.faq { display: grid; gap: 10px; }
details {
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 14px 16px;
}
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin-top: 8px; }
.cta {
  text-align: center; border: 1px solid var(--border); border-radius: 18px; padding: 30px;
  background: linear-gradient(140deg, rgba(157, 107, 255, 0.35), rgba(61, 214, 255, 0.22));
  border-color: var(--border-strong);
}
.quick-grid .card h3 { margin-bottom: 6px; }
.quick-grid .card p { min-height: 0; margin-bottom: 14px; }
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-2); }
.legal { max-width: 720px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 1.25rem; margin-bottom: 12px; color: var(--muted); }
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  color: var(--muted);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
footer h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 12px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--primary-2); text-shadow: 0 0 12px var(--glow-cyan); }
.footer-brand { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.footer-copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.9rem; }
@media (max-width: 920px) {
  :root { --grid-cols: 2; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --grid-cols: 1; }
  .menu { display: none; }
  .topbar {
    max-width: calc(100vw - 20px);
    top: max(10px, env(safe-area-inset-top, 0px));
  }
  .topbar > .container.nav {
    padding: 18px 22px;
    border-radius: 22px;
    grid-template-columns: 1fr;
    column-gap: 0;
    justify-items: center;
  }
  .topbar .logo {
    justify-self: center;
    letter-spacing: 0.12em;
  }
  .grid, .features, .quick-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
}
