:root {
  --bg: #0a0a0f;
  --brand: #530280;
  --brand-soft: #c173e6;
  --brand-bright: #8b3ab8;
  --text: #e6f3ff;
  --text-dim: #bcd0f5;
  --bg: #0b0f1a;
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
  margin: 0
}

body {
  margin: 0;
  font: 16px / 1.5 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 1200px at 50% -10%,
      color-mix(in oklab, var(--brand) 20%, transparent), transparent), var(--bg);
}

a {
  color: var(--text);
  text-decoration: none
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column
}

/* Sticky header akin to preview */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke)
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1
}

.brand-badge {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 24px rgba(83, 2, 128, 0.6)
}

.brand-twisted {
  background: linear-gradient(90deg, #ffffff, #8b3ab8, #530280);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.nav a,
.nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s
}

.nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-soft)
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1)
}

.nav .kofi {
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-weight: 800
}

.nav .kofi:hover {
  filter: brightness(0.95)
}

/* Main content */
main {
  flex: 1;
  display: block;
  padding: 24px 0
}

.hero {
  padding: 28px 0 12px
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 44px)
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3.5vw, 28px);
  color: var(--brand-soft)
}

p {
  line-height: 1.6;
  color: var(--text)
}

.lead {
  color: var(--text-dim)
}

/* Buttons like preview */
.btn {
  appearance: none;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(83, 2, 128, 0.35);
  display: inline-flex;
  gap: 8px;
  align-items: center
}

.btn:hover {
  background: var(--brand-bright)
}

.btn.secondary {
  background: var(--card);
  border: 1px solid var(--stroke)
}

/* Cards with glass look like preview's GlassCard */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35)
}

.card.hero-card {
  padding: 28px 22px
}

.card .note {
  font-size: 12px;
  opacity: 0.75
}

/* Hero decorative orbs */
.hero-card .orb {
  position: absolute;
  filter: blur(40px);
  border-radius: 50%
}

.hero-card .orb-1 {
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: color-mix(in oklab, var(--brand) 35%, transparent)
}

.hero-card .orb-2 {
  left: -70px;
  bottom: -70px;
  width: 280px;
  height: 280px;
  background: color-mix(in oklab, var(--brand-soft) 20%, transparent)
}

/* Grids */
.grid {
  display: grid;
  gap: 14px
}

.grid.games {
  grid-template-columns: repeat(1, 1fr)
}

@media(min-width:740px) {
  .grid.games {
    grid-template-columns: repeat(2, 1fr)
  }
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.shots img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  background: #0a0e19;
  border: 1px solid var(--stroke)
}

/* Footer pinned to bottom */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 18px 0;
  color: #c3d1ffbf;
  margin-top: 24px
}

.site-footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.muted {
  opacity: .72
}

.small {
  font-size: 12px;
  opacity: .8
}

/* Utility */
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-size: 12px
}