/* ============================================================
   NYSERA STUDIOS — style.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg:          #0a0a0f;
  --bg-card:     #0f0f1a;
  --bg-nav:      rgba(10, 10, 15, 0.85);
  --purple:      #7c3aed;
  --purple-light:#a855f7;
  --cyan:        #06b6d4;
  --cyan-light:  #22d3ee;
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --border:      rgba(124, 58, 237, 0.25);
  --glow-purple: 0 0 40px rgba(124, 58, 237, 0.4);
  --glow-cyan:   0 0 40px rgba(6, 182, 212, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.section-title span {
  color: var(--purple-light);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 100px 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 70px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text);
}

.nav-logo span {
  color: var(--purple-light);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  overflow: hidden;
}

/* Animated background gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 70% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
  animation: heroPulse 6s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--cyan);
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--text);
  text-shadow: var(--glow-purple);
  margin-bottom: 0.2rem;
  animation: fadeUp 0.9s ease both;
}

.hero-title-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s ease both;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-tagline em { color: var(--text); font-style: italic; }

.btn {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.75);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  box-shadow: var(--glow-cyan);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   GAMES
   ============================================================ */
#games { background: var(--bg); }

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

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

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-purple);
  border-color: rgba(124, 58, 237, 0.6);
}

.game-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.game-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.9;
}

.card-img-1 { background: linear-gradient(135deg, #1a0533, #2d1b69); }
.card-img-2 { background: linear-gradient(135deg, #001a24, #003d55); }
.card-img-3 { background: linear-gradient(135deg, #1a0011, #4a0033); }

.coming-soon-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
}

.game-card-body {
  padding: 1.5rem;
}

.game-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.game-platforms {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.platform-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid;
}

.tag-pc    { color: var(--purple-light); border-color: var(--purple); }
.tag-mobile{ color: var(--cyan-light);   border-color: var(--cyan); }

.game-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d1a 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-story p strong { color: var(--text); }

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--purple-light);
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.founder-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1.2rem;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--glow-purple);
  border: 2px solid var(--purple);
}

.founder-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.founder-role {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================================================
   JOBS
   ============================================================ */
#jobs { background: var(--bg); }

.jobs-empty {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 4rem 2rem;
  text-align: center;
}

.jobs-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.jobs-empty h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.jobs-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: linear-gradient(180deg, #0d0d1a 0%, var(--bg) 100%);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-title,
.contact-inner .section-subtitle { text-align: center; }

.contact-email {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  transition: all 0.3s;
}

.contact-email:hover {
  background: rgba(6, 182, 212, 0.08);
  box-shadow: var(--glow-cyan);
}

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

.social-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}

.footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.footer-logo span { color: var(--purple-light); }

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 70px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.9rem 2rem;
    width: 100%;
    text-align: center;
  }

  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-row { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .games-grid { grid-template-columns: 1fr; }
  .stats-row { justify-content: center; }
}
