/* ============================================================
   DPS — Download · Play · Share
   Art direction: deep-black esports canvas, tri-colour accent
   system (red = Download, silver = Play, blue = Share),
   chrome panels, glow + pixel-dust motifs from the logo.
   ============================================================ */

:root {
  /* Core canvas */
  --bg:            #05070c;
  --bg-2:          #090c14;
  --panel:         #0d1119;
  --panel-2:       #11161f;
  --line:          rgba(255,255,255,0.09);
  --line-strong:   rgba(255,255,255,0.16);

  /* Tri-colour brand */
  --red:           #e8222c;
  --red-glow:      #ff3b45;
  --silver:        #dfe4ea;
  --silver-2:      #aab2bd;
  --blue:          #1d84e6;
  --blue-glow:     #35a2ff;

  /* Text */
  --ink:           #eef1f6;
  --ink-soft:      #b7c0cd;
  --ink-mute:      #7c8593;

  --maxw:          1180px;
  --radius:        16px;
  --font-display:  'Oswald', 'Arial Narrow', sans-serif;
  --font-body:     'Barlow', system-ui, -apple-system, Segoe UI, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layered background: vertical gradient + red/blue corner glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(232,34,44,0.16), transparent 60%),
    radial-gradient(900px 600px at 88% 8%, rgba(29,132,230,0.16), transparent 60%),
    linear-gradient(180deg, #05070c 0%, #070a11 45%, #05070c 100%);
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Accent colour helpers ---------- */
.c-red    { color: var(--red-glow); }
.c-silver { color: var(--silver); }
.c-blue   { color: var(--blue-glow); }

/* ============ NAV ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 48px);
  background: linear-gradient(180deg, rgba(5,7,12,0.92), rgba(5,7,12,0.0));
  backdrop-filter: blur(6px);
}

.brand { text-decoration: none; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 2px;
}
.brand-mark span { text-shadow: 0 0 18px currentColor; }

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
}
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--red-glow), var(--blue-glow));
  transition: width .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}
.hero-glow {
  position: absolute;
  width: min(760px, 92vw);
  aspect-ratio: 1;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 62%);
  z-index: 0;
  pointer-events: none;
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(560px, 84vw);
  height: auto;
  filter: drop-shadow(0 18px 60px rgba(0,0,0,0.7));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.hero-tag {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: clamp(14px, 2.4vw, 20px);
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-tag span { text-shadow: 0 0 20px currentColor; }
.hero-tag .dot { color: var(--ink-mute); text-shadow: none; letter-spacing: 0; }

.hero-promise {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.02;
  font-size: clamp(38px, 8vw, 84px);
  background: linear-gradient(180deg, #ffffff 0%, #cfd6e0 46%, #8b94a2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 40px rgba(255,255,255,0.06);
}
.hero-sub {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(16px, 2.2vw, 19px);
}
.hero-cta {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 15px;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--red) 0%, #b81820 100%);
  box-shadow: 0 0 0 1px rgba(255,90,96,0.4), 0 10px 30px rgba(232,34,44,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,90,96,0.6), 0 14px 40px rgba(232,34,44,0.42);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue-glow);
  box-shadow: 0 10px 30px rgba(29,132,230,0.22);
}

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  z-index: 1;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--blue-glow);
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0%   { opacity: 0; top: 8px; }
  40%  { opacity: 1; }
  100% { opacity: 0; top: 24px; }
}

/* ============ SECTIONS ============ */
.section { padding: clamp(72px, 12vw, 130px) clamp(18px, 5vw, 48px); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  text-shadow: 0 0 16px currentColor;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
  font-size: clamp(28px, 5vw, 48px);
  margin: 12px 0 22px;
  color: var(--ink);
}
.lead {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--ink-soft);
  max-width: 720px;
}
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Promise ---------- */
.promise .section-inner { text-align: center; }
.promise .lead { margin-left: auto; margin-right: auto; }

.badge-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 44px auto;
  max-width: 900px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  text-align: left;
}
.badge-x {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 7px;
  background: rgba(232,34,44,0.14);
  color: var(--red-glow);
  font-weight: 700;
  font-size: 14px;
}
.badge.check .badge-x {
  background: rgba(29,132,230,0.16);
  color: var(--blue-glow);
}
.promise-close {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(17px, 2.3vw, 21px);
  color: var(--ink-soft);
}
.promise-close strong { color: var(--ink); }

/* ---------- Games ---------- */
.games .section-inner { text-align: center; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
  margin-top: 52px;
  text-align: left;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--panel) 0%, #0a0d14 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(400px 200px at 50% 120%, rgba(29,132,230,0.18), transparent 70%),
    #06090f;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.game-media img {
  width: 150px; height: 150px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}
.media-ants {
  background:
    radial-gradient(420px 220px at 50% 130%, rgba(120,200,90,0.14), transparent 70%),
    #06090f;
}
.ants-art { display: grid; place-items: center; gap: 10px; }
.ant-emoji { font-size: 66px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)); }
.ants-soon {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--ink-mute);
}

.game-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(22px, 3vw, 28px);
}
.status-pill {
  flex: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--blue-glow);
  background: rgba(29,132,230,0.12);
  border: 1px solid rgba(29,132,230,0.3);
  white-space: nowrap;
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: var(--ink-soft);
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.game-body > p { color: var(--ink-soft); font-size: 15.5px; }
.price-line {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: var(--ink);
}

.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.store-btn {
  display: flex;
  flex-direction: column;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  min-width: 118px;
}
.store-btn.disabled { opacity: 0.55; cursor: not-allowed; }
.store-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-mute);
}
.store-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- Studio ---------- */
.studio .section-inner { text-align: center; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 54px;
  text-align: left;
}
.pillar {
  padding: 30px 28px;
  background: linear-gradient(165deg, var(--panel), #0a0d14);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.5;
}
.pillar:nth-child(1) { color: var(--red-glow); }
.pillar:nth-child(2) { color: var(--silver); }
.pillar:nth-child(3) { color: var(--blue-glow); }
.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  opacity: 0.9;
  text-shadow: 0 0 20px currentColor;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
  margin: 10px 0 8px;
}
.pillar p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Follow ---------- */
.follow .section-inner { text-align: center; }
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 46px auto 0;
  max-width: 760px;
}
.follow-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.follow-card.soon { opacity: 0.7; cursor: default; }
.follow-card:not(.soon):hover {
  transform: translateY(-3px);
  border-color: var(--silver-2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}
.follow-card:not(.soon):hover .follow-meta { color: var(--ink-soft); }
.follow-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 18px;
  color: var(--ink);
}
.follow-meta { font-size: 13px; color: var(--ink-mute); }
.follow-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 20px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 2px;
}
.footer-mark span { text-shadow: 0 0 16px currentColor; }
.footer-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.footer-copy { margin-top: 14px; font-size: 13px; color: var(--ink-mute); }

/* ============ MOTION / A11Y ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 620px) {
  .nav { gap: 14px; }
  .nav a { font-size: 12px; letter-spacing: 1px; }
  .hero-tag { letter-spacing: 3px; gap: 8px; }
  .hero { padding-top: 100px; }
  .btn { padding: 13px 22px; }
}
@media (max-width: 420px) {
  .brand-mark { font-size: 22px; }
  .nav a::after { display: none; }
}
