/* RoGrade Studio — bold/playful gaming operator style */

:root {
  --bg: #0b0c14;
  --bg-alt: #12141f;
  --card: #171a29;
  --card-border: #262a40;
  --text: #f4f5fb;
  --text-dim: #a3a7c2;
  --accent: #7cff5e;
  --accent-2: #ff5ec4;
  --accent-3: #5ec8ff;
  --accent-grad: linear-gradient(120deg, #7cff5e 0%, #5ec8ff 50%, #ff5ec4 100%);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Background glow */
body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,255,94,0.12) 0%, rgba(94,200,255,0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,12,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0b0c14;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #0b0c14 !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-cta:hover { opacity: 0.9; }

.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 90px 0 70px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

h1.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1.hero-title .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-grad);
  color: #0b0c14;
}

.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  border-color: var(--card-border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

/* Stats strip */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 780px;
  margin: 0 auto 40px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}

.stat .num {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Section shared */
section { position: relative; z-index: 1; padding: 70px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.game-thumb {
  aspect-ratio: 500 / 280;
  overflow: hidden;
  background: #000;
}

.game-thumb img { width: 100%; height: 100%; object-fit: cover; }

.game-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }

.game-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 10px;
}

.game-body h3 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 800; }

.game-body p { color: var(--text-dim); font-size: 0.95rem; margin: 0 0 18px; flex: 1; }

.game-links { display: flex; gap: 12px; flex-wrap: wrap; }

.pill-link {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
}

.pill-link.primary { background: var(--accent); color: #0b0c14; border-color: transparent; }
.pill-link:hover { border-color: var(--accent); }

/* Model / value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.value-card {
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
}

.value-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.value-card h3 { font-size: 1.1rem; margin: 0 0 8px; font-weight: 700; }
.value-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

/* CTA band */
.cta-band {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}

.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 16px; font-weight: 800; }
.cta-band p { color: var(--text-dim); margin: 0 0 30px; }

/* Footer */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--card-border);
  padding: 46px 0 30px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* Page hero (about / game pages) */
.page-hero {
  padding: 60px 0 40px;
}

.breadcrumb {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--accent); }

/* About page specifics */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card h3 { margin-top: 0; font-size: 1.05rem; }

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.92rem;
  gap: 16px;
}

.info-row:last-child { border-bottom: none; }
.info-row .k { color: var(--text-dim); }
.info-row .v { text-align: right; font-weight: 600; }

/* Game detail page */
.game-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.game-hero img {
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.game-hero .kicker { margin-bottom: 10px; }
.game-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 18px; font-weight: 800; }
.game-hero p.desc { color: var(--text-dim); font-size: 1.05rem; white-space: pre-line; margin-bottom: 30px; }

.feature-list {
  list-style: none;
  padding: 0; margin: 0 0 30px;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .about-grid, .game-hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
