:root {
  --bg-main: #080f36;
  --bg-deep: #060925;
  --line: rgba(255, 255, 255, 0.14);
  --text-main: #f5f7ff;
  --text-soft: #b9c4f1;
  --yellow: #ffe34d;
  --green: #2cdf7a;
  --blue: #4a68ff;
  --panel: rgba(17, 25, 67, 0.84);
  --shadow: 0 22px 60px rgba(1, 5, 21, 0.45);
  --content: min(1360px, 95vw);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-main);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI Semibold", sans-serif;
  background:
    radial-gradient(1200px 600px at 8% -4%, rgba(74, 104, 255, 0.28), transparent 56%),
    radial-gradient(1200px 650px at 98% -3%, rgba(255, 227, 77, 0.2), transparent 58%),
    linear-gradient(165deg, var(--bg-main), var(--bg-deep));
}

.section-inner,
.topbar-inner {
  width: var(--content);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(6, 10, 33, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #0e1538;
  background: linear-gradient(140deg, var(--yellow), #ffca3c);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.18s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--yellow);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  padding: 32px 0;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  filter: blur(12px);
  pointer-events: none;
}

.hero-glow-left {
  width: 300px;
  height: 300px;
  left: -70px;
  top: 10%;
  background: radial-gradient(circle, rgba(74, 104, 255, 0.45), transparent 68%);
}

.hero-glow-right {
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: 6%;
  background: radial-gradient(circle, rgba(255, 227, 77, 0.32), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.hero-content,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-content {
  padding: clamp(20px, 4vw, 34px);
}

.hero-tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--yellow);
  color: #0d1435;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
  padding: 6px 11px;
}

.hero h1 {
  margin-top: 12px;
  font-family: "Impact", "Haettenschweiler", "Franklin Gothic Heavy", sans-serif;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-text {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.58;
  max-width: 68ch;
}

.meta-list {
  list-style: none;
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.04);
}

.meta-item + .meta-item {
  border-top: 1px solid var(--line);
}

.meta-label {
  color: var(--text-soft);
  font-weight: 600;
}

.meta-value {
  font-weight: 800;
}

.hero-actions {
  margin-top: 16px;
}

.download-btn {
  display: inline-block;
  width: min(100%, 380px);
  text-decoration: none;
  text-align: center;
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #032013;
  background: linear-gradient(180deg, #4bf695, var(--green));
  border-radius: 14px;
  padding: 15px 20px;
  box-shadow: 0 14px 26px rgba(44, 223, 123, 0.3);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.download-btn:hover,
.download-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.hero-note {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-panel {
  padding: clamp(16px, 3vw, 24px);
}

.panel-title {
  font-family: "Impact", "Haettenschweiler", "Franklin Gothic Heavy", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  font-size: 1.4rem;
}

.panel-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.panel-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
  background: linear-gradient(140deg, rgba(74, 104, 255, 0.26), rgba(255, 227, 77, 0.18));
}

.section {
  padding: 34px 0;
}

.section-head h2 {
  font-family: "Impact", "Haettenschweiler", "Franklin Gothic Heavy", sans-serif;
  font-size: clamp(1.8rem, 3.7vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-head p {
  margin-top: 8px;
  color: var(--text-soft);
}

.games .section-inner,
.info .section-inner {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 26px);
}

.game-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.game-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(3, 6, 24, 0.35);
}

.game-card img {
  display: block;
  width: 100%;
  height: auto;
}

.info-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.info-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.info-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px;
  font-weight: 800;
  position: relative;
}

.info-item summary::-webkit-details-marker {
  display: none;
}

.info-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
}

.info-item[open] summary::after {
  content: "-";
}

.info-content {
  border-top: 1px solid var(--line);
  padding: 13px 14px 14px;
  color: var(--text-soft);
  line-height: 1.62;
}

.info-content p + p {
  margin-top: 10px;
}

.info-content ul {
  margin-top: 10px;
  padding-left: 18px;
}

.info-content li + li {
  margin-top: 8px;
}

.footer {
  width: var(--content);
  margin: 10px auto 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 2.5vw;
    width: 210px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background: rgba(5, 9, 30, 0.97);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .top-nav.open {
    display: flex;
  }
}
