@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --pkt-bg: #0a0e1a;
  --pkt-surface: #121828;
  --pkt-card: #1a2236;
  --pkt-line: #2d3a55;
  --pkt-text: #eef2ff;
  --pkt-muted: #8b9cb8;
  --pkt-accent: #7c3aed;
  --pkt-accent2: #a3e635;
  --pkt-warn: #fbbf24;
  --pkt-radius: 16px;
  --pkt-font: 'Outfit', system-ui, sans-serif;
  --pkt-safe: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--pkt-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pkt-text);
  background: var(--pkt-bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(124, 58, 237, 0.18), transparent),
    linear-gradient(180deg, var(--pkt-bg) 0%, #060912 100%);
  min-height: 100vh;
  padding-bottom: calc(1rem + var(--pkt-safe));
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pkt-accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.pkt-wrap {
  width: min(100% - 1.25rem, 680px);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .pkt-wrap { max-width: 960px; }
}

/* Sticky mobile header */
.pkt-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--pkt-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pkt-line);
}

.pkt-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.6rem 0;
  flex-wrap: wrap;
}

.pkt-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.pkt-brand img {
  height: 38px;
  width: auto;
  max-width: min(140px, 42vw);
  object-fit: contain;
  border-radius: 10px;
}

.pkt-brand span {
  display: block;
  font-size: 0.68rem;
  color: var(--pkt-muted);
  line-height: 1.2;
}

.pkt-head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.pkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  min-height: 44px;
  min-width: 44px;
}

.pkt-btn:active { transform: scale(0.96); }

.pkt-btn-go {
  background: linear-gradient(135deg, var(--pkt-accent), #5b21b6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.pkt-btn-go:hover { box-shadow: 0 6px 26px rgba(124, 58, 237, 0.5); }

.pkt-btn-ghost {
  background: transparent;
  color: var(--pkt-text);
  border: 1px solid var(--pkt-line);
}

.pkt-btn-lg { padding: 0.82rem 1.45rem; font-size: 1.02rem; }

.pkt-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pkt-line);
  border-radius: 12px;
  background: var(--pkt-surface);
  color: var(--pkt-text);
  font-size: 1.2rem;
  cursor: pointer;
}

.pkt-nav {
  display: none;
  width: 100%;
  padding-bottom: 0.65rem;
}

.pkt-nav.pkt-open { display: block; }

.pkt-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
}

@media (min-width: 640px) {
  .pkt-nav ul { grid-template-columns: repeat(3, 1fr); }
}

.pkt-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: var(--pkt-surface);
  color: var(--pkt-text);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.pkt-nav a:hover {
  border-color: var(--pkt-line);
  text-decoration: none;
}

/* Hero — mobile game-first */
.pkt-hero {
  padding: 1.25rem 0 1.75rem;
}

.pkt-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pkt-hero-stack {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .pkt-hero-copy { flex: 1; }
  .pkt-hero-visual { flex: 0 0 min(320px, 42%); }
}

.pkt-chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pkt-accent) 25%, var(--pkt-card));
  color: var(--pkt-accent2);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.pkt-hero h1 {
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.22;
  margin: 0 0 0.75rem;
}

.pkt-lead {
  color: var(--pkt-muted);
  font-size: 1.02rem;
  margin: 0 0 1rem;
}

.pkt-hero-img {
  border-radius: var(--pkt-radius);
  overflow: hidden;
  border: 1px solid var(--pkt-line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.pkt-hero-img img { width: 100%; }

.pkt-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-top: 1.1rem;
}

@media (min-width: 480px) {
  .pkt-metrics { grid-template-columns: repeat(4, 1fr); }
}

.pkt-metric {
  background: var(--pkt-card);
  border: 1px solid var(--pkt-line);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}

.pkt-metric b {
  display: block;
  font-size: 1.05rem;
  color: var(--pkt-accent2);
}

.pkt-metric small {
  font-size: 0.72rem;
  color: var(--pkt-muted);
}

/* Content blocks */
.pkt-main { padding-bottom: 2rem; }

.pkt-panel {
  background: var(--pkt-card);
  border: 1px solid var(--pkt-line);
  border-radius: var(--pkt-radius);
  padding: 1.15rem 1.1rem;
  margin-bottom: 1rem;
}

.pkt-panel h2 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  color: var(--pkt-text);
}

.pkt-panel h3 {
  font-size: 1rem;
  margin: 1rem 0 0.45rem;
}

.pkt-panel p { margin: 0 0 0.75rem; }
.pkt-panel p:last-child { margin-bottom: 0; }

.pkt-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0.75rem 0;
}

.pkt-panel th,
.pkt-panel td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--pkt-line);
  text-align: left;
}

.pkt-panel th { color: var(--pkt-muted); font-weight: 500; }

.pkt-panel ol,
.pkt-panel ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.pkt-panel li { margin-bottom: 0.35rem; }

.pkt-note {
  background: color-mix(in srgb, var(--pkt-accent) 12%, var(--pkt-surface));
  border-left: 3px solid var(--pkt-accent);
  padding: 0.75rem 1rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.pkt-cta-band {
  text-align: center;
  padding: 1.35rem 1rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pkt-accent) 30%, var(--pkt-card)), var(--pkt-card));
  border: 1px solid var(--pkt-line);
  border-radius: var(--pkt-radius);
  margin: 1.25rem 0;
}

.pkt-cta-band p { margin: 0 0 0.85rem; }

/* Aux page title */
.pkt-page-head {
  padding: 1rem 0 0.5rem;
}

.pkt-crumb {
  font-size: 0.82rem;
  color: var(--pkt-muted);
  margin: 0 0 0.45rem;
}

.pkt-page-head h1 {
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  line-height: 1.28;
  margin: 0;
}

.pkt-section { padding-bottom: 1.5rem; }

/* Footer */
.pkt-foot {
  border-top: 1px solid var(--pkt-line);
  padding: 1.25rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--pkt-muted);
}

.pkt-sitemap {
  margin-top: 0.75rem;
  line-height: 1.85;
  font-size: 0.8rem;
}

.pkt-sitemap a { margin-right: 0.15rem; }

/* Desktop nav always visible */
@media (min-width: 900px) {
  .pkt-burger { display: none; }
  .pkt-nav {
    display: block;
    width: auto;
    padding: 0;
  }
  .pkt-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .pkt-nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }
  .pkt-head-row { flex-wrap: nowrap; }
}
