:root {
  --bg: #0b0d12;
  --bg-2: #12151c;
  --card: #161a23;
  --border: #252a36;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --radius: 16px;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .logo { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(16px, calc((100% - var(--max)) / 2));
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo { font-size: 1.4rem; font-weight: 700; }
.logo span { color: var(--accent); }
.nav nav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.nav nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124, 92, 255, .35); }
.btn-small { padding: 7px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* LAYOUT */
main > section { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding-top: 96px !important; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: 6px; }
.center { text-align: center; justify-content: center; margin-top: 32px; }

/* HERO */
.hero { padding-top: 120px !important; padding-bottom: 40px !important; }
.eyebrow { color: var(--accent-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); margin: 14px 0 20px; }
.grad { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* GAME CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-dcko { background: linear-gradient(135deg, #ff3d6e, #7c5cff); }
.thumb-featurd { background: linear-gradient(135deg, #00d4ff, #0057ff); }
.thumb-paper { background: linear-gradient(135deg, #ffb340, #ff6a3d); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 1.4rem; margin: 10px 0 8px; }
.card-body p { color: var(--muted); font-size: .97rem; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: .75rem; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); color: var(--muted); }
.links { margin-top: 16px; }
.link { color: var(--accent-2); font-weight: 600; font-size: .95rem; }
.link:hover { text-decoration: underline; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
[hidden] { display: none !important; }

/* FEATURED PROJECT */
.section-head .eyebrow { margin-bottom: 6px; }
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.feature-media { aspect-ratio: auto; min-height: 100%; font-size: 3.2rem; }
.feature-body { padding: 28px 30px 32px; }
.feature-pitch { color: var(--text); font-size: 1.1rem; margin: 14px 0 22px; }
.feature-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.bullets { padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.bullets li::marker { color: var(--accent-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.stats div { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; }
.stats span { color: var(--muted); font-size: .8rem; }
.feature .links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 16 / 9; }
}

/* VIDEO */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.video {
  aspect-ratio: 9 / 16; border-radius: var(--radius);
  background: linear-gradient(160deg, #1d2130, #10131a); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted);
}
.video span { font-size: 2.2rem; color: var(--text); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(124,92,255,.25); padding-left: 4px; }
.video-grid .tiktok-embed { margin: 0 !important; }

/* ABOUT */
.about-body { max-width: 700px; }
.about-body p { color: var(--muted); font-size: 1.08rem; }
.skills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.skills li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: .9rem; }

/* CONTACT */
.contact { text-align: center; padding-bottom: 96px !important; }
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.contact p { color: var(--muted); margin-top: 8px; }

.footer { border-top: 1px solid var(--border); text-align: center; padding: 28px 16px; color: var(--muted); font-size: .9rem; }

@media (max-width: 600px) {
  .nav nav { gap: 14px; font-size: .88rem; }
  .nav nav a[href="#about"] { display: none; }
  .hero { padding-top: 72px !important; }
  .section { padding-top: 72px !important; }
}
