/* GameCodeAssets — single-page landing. No frameworks, no watermark. */
:root {
  --accent: #ff6a1a;
  --accent-2: #ff9d4d;
  --accent-deep: #ea5b0c;
  --bg: #0b0c10;
  --bg-2: #101219;
  --card: #14161f;
  --card-2: #191c27;
  --text: #f2f4f8;
  --text-muted: #9aa3b2;
  --border: rgba(255,255,255,0.07);
  --radius: 18px;
  --maxw: 1120px;
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }

h1,h2,h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.grad { color: var(--accent); }

.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head p { color: var(--text-muted); margin-top: 16px; font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  border: 1px solid transparent;
}
.btn-primary { color: #fff; background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px) scale(1.03); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px) scale(1.03); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,12,16,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 10px 22px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ---- Hero ---- */
.hero { padding: 120px 0 90px; text-align: center; overflow: hidden; }
.hero-logo { width: min(440px, 82%); margin: 0 auto 28px; filter: drop-shadow(0 10px 40px rgba(0,0,0,.5)); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 20px; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- About ---- */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); }
.about-img::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--border); pointer-events: none;
}
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.06rem; }
.about-text p:first-of-type { color: var(--text); font-size: 1.18rem; }

/* ---- Assets ---- */
.assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.asset {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.asset:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.asset-media { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--border); }
.asset-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.asset:hover .asset-media img { transform: scale(1.05); }
.asset-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.asset-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.asset-body p { color: var(--text-muted); margin-bottom: 22px; flex: 1; }

/* ---- Contact / CTA ---- */
.cta { text-align: center; }
.cta-box {
  max-width: 760px; margin: 0 auto; padding: 64px 40px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--border); position: relative;
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.cta-email { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; font-size: 1.15rem; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 44px 0; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo img { height: 34px; opacity: .9; }
.socials { display: flex; gap: 18px; }
.socials a { color: var(--text-muted); display: inline-flex; transition: color .2s, transform .2s; }
.socials a:hover { color: var(--accent); transform: translateY(-3px); }
.socials svg { width: 24px; height: 24px; fill: currentColor; }
.copyright { color: var(--text-muted); font-size: .88rem; width: 100%; text-align: center; margin-top: 8px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img { order: -1; }
  .assets-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; align-items: stretch;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { text-align: center; border-top: 1px solid var(--border); }
  .nav-links li a { display: block; padding: 16px; }
  .nav-links .btn { margin: 14px 24px; justify-content: center; }
  .nav-toggle { display: block; }
}
