:root {
  --bg-0: #0a0708;
  --bg-1: #140a0c;
  --bg-2: #1c0f12;
  --surface: #221316;
  --line: rgba(255, 214, 160, 0.14);
  --gold: #e8c57a;
  --gold-2: #f3d9a0;
  --red: #c81e2a;
  --red-2: #ff3b4a;
  --text: #f6ebe3;
  --muted: #b7a49a;
  --ok: #3ecf8e;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --max: 1180px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 30, 42, 0.28), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(232, 197, 122, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 40%, #070506);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-2);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 7, 8, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 54px;
  height: 54px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--gold-2);
}

.nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-2), var(--red));
  color: #fff;
  box-shadow: 0 10px 28px rgba(200, 30, 42, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-gold {
  background: linear-gradient(135deg, #f3d9a0, #d4a84b);
  color: #2a1608;
}

.btn-gold:hover {
  color: #1a0d04;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 5, 6, 0.35) 0%, rgba(8, 5, 6, 0.55) 40%, rgba(8, 5, 6, 0.96) 100%),
    radial-gradient(700px 280px at 20% 80%, rgba(200, 30, 42, 0.35), transparent 70%);
}

.hero-content {
  padding: 5.5rem 0 3.5rem;
  max-width: 720px;
  animation: riseIn 0.9s ease both;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12vw, 7.5rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 0 0 0.6rem;
  background: linear-gradient(180deg, #fff6e4, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(232, 197, 122, 0.15);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 4.25rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  font-weight: 400;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.cats {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}

.cat {
  flex: 0 0 auto;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
  white-space: nowrap;
}

.cat:hover,
.cat.is-active {
  color: #2a1608;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.game {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.7s ease both;
}

.game:nth-child(2) { animation-delay: 0.04s; }
.game:nth-child(3) { animation-delay: 0.08s; }
.game:nth-child(4) { animation-delay: 0.12s; }
.game:nth-child(5) { animation-delay: 0.16s; }
.game:nth-child(6) { animation-delay: 0.2s; }

.game:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 197, 122, 0.35);
  box-shadow: var(--shadow);
}

.game img {
  aspect-ratio: 400 / 254;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.game:hover img {
  transform: scale(1.05);
}

.game figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.75rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  font-size: 0.86rem;
  font-weight: 700;
}

.promo-band {
  display: grid;
  gap: 1rem;
}

.promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 180px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.promo-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  max-width: 36ch;
}

.promo h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.promo p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.seo-article {
  display: grid;
  gap: 1.25rem;
}

.seo-article h2,
.seo-article h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 400;
}

.seo-article h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.seo-article h3 {
  font-size: 1.7rem;
  margin-top: 0.5rem;
}

.seo-article p,
.seo-article li {
  color: var(--muted);
}

.seo-article ul {
  padding-left: 1.15rem;
}

.seo-article strong {
  color: var(--text);
}

.features {
  display: grid;
  gap: 0.9rem;
}

.feature {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--gold-2);
  margin-bottom: 0.55rem;
}

.faq p {
  margin: 0;
  color: var(--muted);
}

.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: rgba(183, 164, 154, 0.55);
}

.cta-strip {
  margin: 1rem 0 4rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 197, 122, 0.28);
  background:
    radial-gradient(500px 160px at 100% 0%, rgba(200, 30, 42, 0.28), transparent 60%),
    linear-gradient(135deg, #1a0d10, #12090b);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-strip h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cta-strip p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-grid h3 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.35rem;
}

.footer-grid a {
  color: var(--muted);
}

.legal {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 720px) {
  .nav { display: flex; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-band { grid-template-columns: 1.2fr 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
