:root {
  --bg: #030807;
  --bg-alt: #06120d;
  --card-bg: #071510;
  --border: #1c3a24;
  --accent: #8fe515;
  --accent-dark: #4caf1c;
  --white: #f4faf3;
  --muted: #a9bdb1;
  --radius: 14px;
  --max-width: 1280px;
  --font: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

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

.accent { color: var(--accent); }
.white { color: var(--white); }
.center { text-align: center; margin-top: 48px; }

a { text-decoration: none; color: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  text-transform: capitalize;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #061a07;
  box-shadow: 0 0 24px rgba(143,229,21,.25);
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(143,229,21,.45); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-small { padding: 10px 20px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 8, 7, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 84px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--white); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
  margin-right: auto;
}
.logo-icon { width: 32px; height: 32px; border-radius: 6px; }

.main-nav {
  display: flex;
  gap: 40px;
  font-size: 15px;
  color: #dfeee0;
  text-transform: capitalize;
}
.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 64px 0 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 30%, rgba(76,175,28,.18), transparent 70%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-style: italic;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
  font-size: 16px;
}

.hero-tags {
  margin-top: 28px;
  color: #dfeee0;
  font-size: 15px;
}

.hero-graphic img { width: 100%; }

.process-strip {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, rgba(143,229,21,.03), transparent);
}

.process-step {
  flex: 1;
  text-align: center;
}
.process-step h3 {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.process-icon svg { width: 28px; height: 28px; }
.process-step p {
  font-size: 14px;
  color: var(--muted);
  max-width: 220px;
  margin: 0 auto;
}
.process-arrow { color: var(--accent); font-size: 20px; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--muted);
  max-width: 640px;
  font-size: 16px;
  margin-bottom: 40px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.eyebrow span { width: 40px; height: 1px; background: var(--accent); display: inline-block; }

.divider-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 56px 0 32px;
}
.divider-heading span { flex: 1; height: 1px; background: var(--border); }
.divider-heading h3 {
  color: var(--accent);
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}
.divider-heading.left { justify-content: flex-start; }

/* Advantage grid */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advantage-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card-bg);
  transition: border-color .2s ease, transform .2s ease;
}
.advantage-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.advantage-icon svg { width: 24px; height: 24px; }
.advantage-card h4 { color: var(--accent); font-size: 18px; margin-bottom: 10px; }
.advantage-card p { color: var(--muted); font-size: 14.5px; }

/* Portfolio */
.portfolio-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.game-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.game-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 60px 1.4fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--card-bg);
  transition: border-color .2s ease;
}
.game-row:hover { border-color: var(--accent); }
.game-row-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.game-row-icon svg { width: 24px; height: 24px; }
.game-row-text h4 { color: var(--accent); font-size: 18px; margin-bottom: 6px; }
.game-row-text p { color: var(--muted); font-size: 14px; max-width: 320px; }
.game-row-actions { display: flex; flex-direction: column; gap: 10px; }
.game-row-thumbs { display: flex; gap: 10px; }
.game-row-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* About */
.about-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.about-intro p { color: var(--muted); max-width: 480px; font-size: 15.5px; }
.about-badge { display: flex; align-items: center; gap: 14px; }
.about-badge img { width: 40px; height: 40px; border-radius: 8px; }
.about-badge h4 { font-size: 16px; margin-bottom: 4px; }
.about-badge p { color: var(--muted); font-size: 14px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card-bg);
  position: relative;
}
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h4 { color: var(--accent); font-size: 15px; letter-spacing: .5px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; }
.value-card .tick {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin-top: 18px;
}

.experience-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-top: 90px;
  align-items: center;
}
.experience-text p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.experience-text .section-title { margin-top: 14px; }

.stats-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--card-bg);
}
.stat-icon { color: var(--accent); margin-bottom: 10px; }
.stat-icon svg { width: 24px; height: 24px; }
.stat h3 { font-size: 30px; color: var(--white); margin-bottom: 4px; }
.stat p { color: var(--muted); font-size: 13.5px; }

/* CTA */
.cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 90px 0;
}
.cta-text h2 { font-size: 34px; font-weight: 600; margin-bottom: 16px; }
.cta-text p { color: var(--muted); margin-bottom: 28px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-graphic img { border-radius: var(--radius); }

/* Footer */
.site-footer { padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tag { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h5 { color: var(--accent); font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { order: -1; max-width: 360px; margin: 0 auto; }
  .process-strip { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-header { grid-template-columns: 1fr; }
  .game-row { grid-template-columns: 1fr; text-align: center; }
  .game-row-icon { margin: 0 auto; }
  .game-row-thumbs { justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .experience-wrap { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 8px; height: 68px; }
  .logo-icon { width: 26px; height: 26px; }
  .logo-text { font-size: 14px; }
  .header-inner .btn-primary { padding: 8px 12px; font-size: 12px; gap: 4px; }
  .header-inner .btn-primary .arrow { display: none; }
  .hero-content h1 { font-size: 38px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}
