/* ============================================================
   Gamenest — static rebuild
   Design refresh (dark neon game-studio aesthetic).
   All content preserved from the original WordPress site.
   ============================================================ */

:root {
  --bg:        #100b0b;    /* warm near-black */
  --bg-alt:    #180f0e;
  --surface:   #211514;
  --surface-2: #2b1b18;
  --text:      #f5ece9;
  --muted:     #b7a29c;
  --line:      rgba(255,255,255,.08);
  --brand:     #fc5130;   /* coral orange */
  --brand-2:   #e0040b;   /* red */
  --brand-3:   #8a0208;   /* deep crimson (gradient depth) */
  --accent:    #ffa62b;   /* warm amber */
  --success:   #33cf7a;   /* green (form success only) */
  --radius:    16px;
  --maxw:      1180px;
  --shadow:    0 20px 50px rgba(0,0,0,.45);
  --font:      'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

section { position: relative; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.gradient-text {
  background: linear-gradient(100deg, var(--accent), var(--brand) 45%, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn-primary {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 10px 30px rgba(252,81,48,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(252,81,48,.5); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; transform: translateY(-3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11,12,20,.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; }
.brand img { height: 34px; width: auto; }
.brand small { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .95rem; color: var(--muted); font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brand); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  background: radial-gradient(1200px 600px at 75% 10%, rgba(224,4,11,.22), transparent 60%),
              radial-gradient(900px 500px at 10% 90%, rgba(252,81,48,.18), transparent 55%),
              var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); letter-spacing: -.02em; }
.hero .sub { color: var(--muted); font-size: 1.2rem; margin: 22px 0 34px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-size: 1.6rem; }
.hero-badge span { font-size: .78rem; color: var(--muted); }
.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ---------- Marquee (services strip) ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); overflow: hidden; }
.marquee { display: flex; gap: 60px; padding: 20px 0; white-space: nowrap; animation: scroll 22s linear infinite; }
.marquee span { font-weight: 700; font-size: 1.1rem; color: var(--muted); display: inline-flex; gap: 60px; }
.marquee span::after { content: '✦'; color: var(--brand); }
@keyframes scroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Generic section spacing ---------- */
.pad { padding: 100px 0; }
.pad-sm { padding: 70px 0; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(252,81,48,.5); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(252,81,48,.18), rgba(224,4,11,.18));
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin-top: 14px; display: grid; gap: 8px; }
.card ul li { color: var(--muted); font-size: .92rem; padding-left: 22px; position: relative; }
.card ul li::before { content: '▸'; position: absolute; left: 0; color: var(--brand); }

/* ---------- Game cards ---------- */
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .3s;
}
.game-card:hover { transform: translateY(-8px); }
.game-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card:hover .thumb img { transform: scale(1.08); }
.game-card .body { padding: 20px 22px 24px; }
.game-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.game-card p { color: var(--muted); font-size: .9rem; }
.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(11,12,20,.75); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* ---------- Pipeline / process ---------- */
.pipeline { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pipeline .step {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 16px 24px; border-radius: 999px; font-weight: 600;
}
.pipeline .step b { color: var(--brand); }
.pipeline .arrow { color: var(--muted); align-self: center; }

.process-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 26px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.process-item .num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-item h3 { font-size: 1.4rem; margin-bottom: 8px; }
.process-item p { color: var(--muted); }

/* ---------- Page banner ---------- */
.page-banner {
  padding: 160px 0 70px; text-align: center;
  background: radial-gradient(900px 400px at 50% 0%, rgba(224,4,11,.25), transparent 60%), var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-banner p { color: var(--muted); margin-top: 12px; }
.breadcrumb { color: var(--muted); font-size: .85rem; margin-top: 16px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stats .stat b { font-size: 2.4rem; display: block; }
.stats .stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.value-list { display: grid; gap: 22px; margin-top: 10px; }
.value-list .v h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value-list .v p { color: var(--muted); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px; padding: 60px; text-align: center;
  background: linear-gradient(120deg, rgba(252,81,48,.15), rgba(224,4,11,.15));
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { color: var(--muted); margin: 14px 0 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(252,81,48,.18), rgba(224,4,11,.18)); flex: none;
}
.info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: var(--muted); font-size: .92rem; }

form.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
.form-step-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 22px 0 14px; }
.form-step-title:first-child { margin-top: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text); font-family: inherit; font-size: .95rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); }
.budget-opts { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.budget-opts label {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .9rem; color: var(--text);
  transition: border-color .2s, background .2s;
}
.budget-opts label:hover { border-color: var(--brand); }
.budget-opts input { accent-color: var(--brand); width: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { color: var(--muted); font-size: .82rem; margin-top: 14px; }
.form-success { display: none; padding: 14px 16px; border-radius: 10px; background: rgba(51,207,122,.12); border: 1px solid var(--success); color: var(--success); margin-top: 16px; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; }
.footer-grid a { color: var(--muted); font-size: .95rem; display: block; margin-bottom: 10px; transition: color .2s; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); margin: 0; transition: .2s;
}
.socials a:hover { border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(11,12,20,.98); backdrop-filter: blur(14px);
    padding: 20px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s; align-items: stretch;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin: 14px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .cols-3, .cols-4, .cols-2, .footer-grid, .stats, .two-col, .budget-opts { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 1fr; gap: 8px; }
  .cta-band { padding: 40px 24px; }
  .pad { padding: 70px 0; }
}
