:root {
  --bg: #08080a;
  --panel: #131317;
  --line: #26262c;
  --text: #ecedf0;
  --muted: #9a9ca5;
  --silver: #d6d8dd;
  --accent: #f4c542;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
a { color: var(--silver); }
img { display: block; max-width: 100%; height: auto; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top nav a { margin-left: 22px; color: var(--muted); text-decoration: none; font-size: 15px; letter-spacing: .04em; }
.top nav a:hover { color: var(--text); }

/* Apps drop-down */
.top nav { display: flex; align-items: center; }
.dropdown { position: relative; margin-left: 22px; }
.dropdown summary {
  list-style: none; cursor: pointer; color: var(--muted); font-size: 15px; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px;
}
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.dropdown[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.dropdown summary:hover, .dropdown[open] summary { color: var(--text); }
.menu {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px;
  padding: 8px; background: #17171c; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
.top nav .menu a { display: flex; align-items: center; gap: 12px; margin: 0; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; letter-spacing: 0; }
.top nav .menu a:hover { background: #222229; }
.menu img { border-radius: 7px; }
.top nav .menu .all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--muted); }

/* hero */
.hero {
  min-height: 72vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: radial-gradient(ellipse at center, #1b1b21 0%, var(--bg) 70%);
}
.hero-logo { width: min(320px, 70vw); filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.18)); }
.tagline { margin: 28px 0 30px; color: var(--muted); font-size: 19px; letter-spacing: .14em; text-transform: uppercase; }

/* sections */
section, .section { padding: 72px 20px; }
.page-head { padding-bottom: 0; }
.page-head h1, .page-head .lead { max-width: 1080px; margin-left: auto; margin-right: auto; }
.page-head h1 { margin-top: 0; margin-bottom: 6px; font-size: 40px; }
.lead { color: var(--muted); margin-top: 0; }

/* app grid */
.app-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.app-card {
  display: flex; gap: 18px; align-items: center; padding: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s;
}
.app-card:hover { border-color: #3a3a42; transform: translateY(-2px); }
.app-card h3 { margin: 0 0 4px; font-size: 21px; }
.app-card p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.platform { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h2 {
  max-width: 1080px; margin: 0 auto 28px;
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* game card */
.game {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.game-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-icon { border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }
.game h1, .game h3 { margin: 0; font-size: 32px; }
.features { margin: 18px 0 0; padding-left: 20px; color: #c8cad0; }
.features li { margin: 6px 0; }
.sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.game p { color: #c8cad0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #1b1410; font-weight: 700; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--silver); border: 1px solid #3a3a42; font-weight: 600; }
.button.ghost:hover { border-color: var(--silver); }
.link { color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots img { border-radius: 16px; border: 1px solid var(--line); }

/* contact + footer */
.contact { text-align: center; }
.contact h2 { text-align: center; }
.contact p { color: #c8cad0; }
footer { padding: 32px 20px 48px; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .game { grid-template-columns: 1fr; padding: 24px; }
  .top { padding: 12px 16px; }
  .top nav a, .dropdown { margin-left: 16px; }
  .page-head h1 { font-size: 32px; }
  section { padding: 56px 16px; }
}
