/* ============================================================
   NovaStriker — Gamer Portfolio  |  style.css
   Theme: dark (#0f0f1a) + neon purple (#bc13fe) & cyan (#00f3ff)
   ============================================================ */

:root {
  --bg: #0f0f1a;
  --bg-soft: #16162a;
  --surface: #1b1b30;
  --border: #2a2a45;
  --text: #e8e8f2;
  --text-dim: #9a9ab5;
  --purple: #bc13fe;
  --cyan: #00f3ff;
  --grad: linear-gradient(90deg, var(--purple), var(--cyan));
  --radius: 14px;
  --shadow-purple: 0 0 24px rgba(188, 19, 254, 0.35);
  --shadow-cyan: 0 0 24px rgba(0, 243, 255, 0.3);
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Poppins', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  /* subtle neon grid in the background */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(188, 19, 254, 0.12), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(0, 243, 255, 0.08), transparent 55%),
    linear-gradient(rgba(188, 19, 254, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

/* ---------------- Navbar ---------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(15, 15, 26, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s, text-shadow 0.25s;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 12px var(--cyan);
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--purple);
  border-radius: 999px;
  color: var(--text) !important;
  transition: box-shadow 0.25s, background 0.25s;
}

.nav-cta:hover {
  background: rgba(188, 19, 254, 0.15);
  box-shadow: var(--shadow-purple);
  text-shadow: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.25s;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: clamp(3.5rem, 10vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1150px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.catchphrase {
  margin: 1.1rem 0 1.8rem;
  font-size: 1.05rem;
  color: var(--text-dim);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  box-shadow: var(--shadow-cyan);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: var(--shadow-cyan);
}

.hero-avatar {
  position: relative;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 1;
  margin: 0;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-purple);
}

.hero-avatar figcaption {
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  padding: 0.35rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--purple);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

/* ---------------- Sections (shared) ---------------- */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 2.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: inline-block;
}

.section-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.about-grid p {
  color: var(--text-dim);
}

.about-grid strong {
  color: var(--text);
  font-weight: 600;
}

.stats {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  grid-column: 1 / -1;
}

.stats li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.8rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.stats li:hover {
  border-left-color: var(--purple);
  box-shadow: var(--shadow-cyan);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
}

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

.game-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.game-img {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.game-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.game-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.game-body p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* hover effects: lift, neon border, image zoom, top bar glow */
.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}

.game-card:hover::after {
  opacity: 1;
}

.game-card:hover .game-img img {
  transform: scale(1.07);
  filter: saturate(1.15) contrast(1.05);
}

/* ---------------- Battle Station ---------------- */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.3rem;
}

.setup-item {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.setup-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.5s, filter 0.4s;
}

.setup-item figcaption {
  padding: 0.9rem 1.1rem 1.1rem;
}

.setup-item figcaption h3 {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.setup-item figcaption p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.setup-item:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.setup-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

/* ---------------- Contact ---------------- */
.contact {
  text-align: center;
}

.contact .section-title {
  border-bottom: 0;
}

.contact-lead {
  color: var(--text-dim);
  margin-bottom: 2.2rem;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
}

.social svg {
  fill: currentColor;
}

.social:hover {
  transform: translateY(-3px);
}

.social-discord {
  color: #8ea2ff;
}
.social-discord:hover {
  border-color: #5865f2;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.35);
}

.social-twitch {
  color: #ff7b9c;
}
.social-twitch:hover {
  border-color: #9146ff;
  box-shadow: 0 0 20px rgba(145, 70, 255, 0.35);
}

.social-twitter {
  color: var(--text);
}
.social-twitter:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

/* ---------------- Footer ---------------- */
.footer {
  padding: 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

/* ---------------- Rocketjump Section ---------------- */
.rocketjump-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.rocketjump-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rocketjump-content p {
  color: var(--text-dim);
}

.rocketjump-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rocketjump-features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dim);
}

.rocketjump-features li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-size: 0.7rem;
  line-height: 1;
}

.rocketjump-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-cyan);
}

/* ---------------- Responsive Rocketjump Section ---------------- */
@media (max-width: 768px) {
  .rocketjump-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .rocketjump-image {
    order: -1;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 820px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-avatar {
    width: min(55vw, 240px);
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-links.open {
    max-height: 340px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    border: 0;
    border-radius: 0;
    margin: 0.6rem 1.4rem;
  }
}
