/* ========================================
   SEIXN GAMES — Global Stylesheet
   Dark/Cyber Aesthetic
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;900&family=Nunito:wght@300;400;500;600&display=swap');

/* ---- TOKENS ---- */
:root {
  --bg:          #06090F;
  --bg2:         #0B1120;
  --surface:     #0F1A2E;
  --card:        #132035;
  --border:      rgba(0,210,255,0.12);
  --accent:      #00D2FF;
  --accent-dim:  rgba(0,210,255,0.15);
  --accent2:     #3D8EF5;
  --text:        #DCE8F5;
  --muted:       #5A6E8C;
  --white:       #ffffff;
  --radius:      14px;
  --radius-sm:   8px;
  --font-head:   'Exo 2', sans-serif;
  --font-body:   'Nunito', sans-serif;
  --max-w:       1100px;
  --nav-h:       70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ---- NOISE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 0;
}

/* ---- LAYOUT ---- */
.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(6,9,15,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 100% - 2rem);
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}

nav ul a:hover { color: var(--accent); opacity: 1; }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,210,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.studio-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--white);
  text-transform: uppercase;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  margin: 1.5rem auto 2.5rem;
  max-width: 520px;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, opacity .18s;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(0,210,255,0.35);
}

.btn-primary:hover { box-shadow: 0 0 40px rgba(0,210,255,0.55); }

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

/* ---- SECTION ---- */
.section {
  padding: 5rem 0;
}

.section-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-body {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
}

/* ---- DIVIDER ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---- GAME CARD ---- */
.game-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.game-icon-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.game-icon {
  width: 200px;
  height: 200px;
  border-radius: 34px;
  background: linear-gradient(135deg, #0D2040 0%, #1A4080 50%, #0D2040 100%);
  border: 2px solid var(--border);
  box-shadow: 0 0 60px rgba(0,210,255,0.18), 0 20px 60px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.game-icon-art {
  font-size: 5rem;
  user-select: none;
  filter: drop-shadow(0 0 20px rgba(0,210,255,0.6));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-10px); }
}

.game-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}

.game-info { }

.game-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: .04em;
  margin-bottom: .3rem;
}

.game-genre {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.game-desc {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text);
}

.coming-soon-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .75rem;
  font-style: italic;
}

/* ---- FEATURES GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .25s, transform .25s;
}

.feature-card:hover {
  border-color: rgba(0,210,255,0.35);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}

.feature-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- LINKS SECTION ---- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: var(--text);
  transition: border-color .25s, transform .25s;
}

.link-card:hover {
  border-color: var(--accent);
  color: var(--text);
  opacity: 1;
  transform: translateY(-4px);
}

.link-card-icon {
  font-size: 1.6rem;
  margin-bottom: .25rem;
}

.link-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: .02em;
}

.link-card p {
  font-size: .85rem;
  color: var(--muted);
  flex: 1;
}

.link-card .link-arrow {
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .5rem;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.footer-copy {
  font-size: .78rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* ---- INNER PAGES ---- */
.page-hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,210,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}

.page-hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
}

.content-section {
  padding: 4rem 0;
}

.content-wrap {
  max-width: 740px;
}

.content-wrap h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin: 2.5rem 0 .75rem;
  letter-spacing: .02em;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}

.content-wrap h2:first-child { margin-top: 0; }

.content-wrap p {
  color: var(--muted);
  font-size: .97rem;
  margin-bottom: .85rem;
}

.content-wrap ul {
  color: var(--muted);
  font-size: .97rem;
  margin: .5rem 0 .85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.content-wrap a { font-weight: 600; }

.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .93rem;
  color: var(--text);
}

.info-box strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.step-list {
  counter-reset: steps;
  list-style: none !important;
  margin-left: 0 !important;
}

.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--muted);
}

.step-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-card-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}

.contact-card p { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav ul { display: none; }

  .game-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .game-tags { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }

  .links-grid { grid-template-columns: 1fr; }

  footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links { justify-content: center; }

  .contact-card { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .hero   { padding: 4rem 0 3.5rem; }
  .game-icon { width: 160px; height: 160px; }
  .game-icon-art { font-size: 4rem; }
}

/* ---- ANIMATIONS ON LOAD ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  animation: fadeUp .7s cubic-bezier(.22,1,.36,1) forwards;
}

.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .34s; }
.delay-4 { animation-delay: .46s; }
