:root {
  --red: #e8231e;
  --red-dark: #c30000;
  --twitch: #9146ff;
  --discord: #5865f2;
  --ink: #08080a;
  --ink-soft: #121215;
  --card: #17171b;
  --border: rgba(255, 255, 255, .09);
  --text: #f4f4f6;
  --text-muted: #9d9da7;
  --white: #ffffff;
  --max-width: 1280px;
  --content-width: 760px;
  --font: 'Poppins', system-ui, sans-serif;
  --font-display: 'Rajdhani', var(--font);
  --font-impact: 'Anton', var(--font-display);
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Scroll-reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.about-side .reveal:nth-child(2) { transition-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Loading screen */
.site-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.has-js-loader .site-loader { display: flex; }
.site-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.site-loader-ring {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-loader-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(232,35,30,.2);
  border-top-color: var(--red);
  animation: loader-spin 1s linear infinite;
}
.site-loader-ring img {
  width: 42px;
  height: auto;
  animation: loader-pulse 1.4s ease-in-out infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(.92); }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader-ring::before { animation: none; }
  .site-loader-ring img { animation: none; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin: 0 0 12px;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.eyebrow-red { color: var(--red); }
.eyebrow-center { text-align: center; }

.section-title { font-size: clamp(1.7rem, 1.4rem + 1.8vw, 2.7rem); color: var(--white); margin-bottom: 16px; }
.section-title.center { text-align: center; }
.section-lead { color: var(--text-muted); }
.section-lead.center { text-align: center; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.content-links { display: flex; gap: 20px; }
.content-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.content-links a:hover { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(232, 35, 30, .6);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(232, 35, 30, .75); }
.btn-outline { border-color: rgba(255,255,255,.3); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-sm { border-color: var(--red); color: var(--red); padding: 8px 20px; font-size: 12px; }
.btn-outline-sm:hover { background: var(--red); color: var(--white); }
.btn-discord { background: var(--discord); color: var(--white); margin-bottom: 24px; }
.btn-discord:hover { transform: translateY(-2px); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn-row.center { justify-content: center; }

.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow,
.platform-btn:hover .arrow,
.content-links a:hover .arrow { transform: translateX(4px); }

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 100px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  transition: transform .15s ease, filter .15s ease;
}
.platform-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.platform-btn span { opacity: .8; }
.platform-twitch { background: var(--twitch); }
.platform-youtube { background: var(--red); }
.platform-tiktok { background: #111; border: 1px solid rgba(255,255,255,.15); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 8, 10, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, .97);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-impact);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo img { width: 30px; height: auto; }
.logo-dot { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
}

.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  transition: color .15s ease;
}
.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.header-nav a:hover { color: var(--white); }
.header-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.social-icons { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.social-icons a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .15s ease, color .15s ease;
}
.social-icons a:hover { transform: scale(1.12); color: var(--red); }
.social-icons-lg { gap: 22px; margin-top: 8px; }
.social-icons-lg a { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 90px;
}
.hero-glow {
  position: absolute;
  top: -250px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232,35,30,.32) 0%, rgba(232,35,30,0) 70%);
  pointer-events: none;
  animation: glow-float 9s ease-in-out infinite;
}
@keyframes glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
}
.hero-grid {
  position: relative;
  max-width: 780px;
}
.hero-title {
  font-family: var(--font-impact);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 2.4rem + 4.8vw, 6.2rem);
  line-height: .9;
  margin: 8px 0 12px;
  color: var(--white);
  letter-spacing: 3px;
  transform: scaleX(1.1);
  transform-origin: left center;
  display: inline-block;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  color: var(--white);
  margin: 0 0 20px;
  letter-spacing: .5px;
}
.hero-tagline .accent { color: var(--red); }
.hero-lead { color: var(--text-muted); max-width: 46ch; margin: 0; font-size: 16px; }

.hero-stats {
  margin-top: 64px;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-stat svg { color: var(--red); flex-shrink: 0; }
.hero-stat strong { color: var(--white); font-family: var(--font-display); font-size: 20px; }

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 56px auto 0;
  width: fit-content;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.scroll-cue svg { animation: bounce 1.6s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* About */
.about { padding: 96px 0; background: var(--ink-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 48px;
  align-items: start;
}
.about-text p { color: var(--text-muted); }
.about-side { display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.side-card:hover { transform: translateY(-4px); border-color: rgba(232,35,30,.4); }
.side-photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease;
}
.side-photo:hover { transform: translateY(-4px); border-color: rgba(232,35,30,.4); }
.side-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.side-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.side-icon { font-size: 15px; }
.side-facts { display: grid; gap: 14px; }
.side-facts div { display: flex; flex-direction: column; gap: 2px; }
.side-facts strong { font-family: var(--font-display); color: var(--red); font-size: 15px; }
.side-facts span { color: var(--text-muted); font-size: 12px; }

/* Live */
.live { padding: 96px 0; }
.live-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.live-embed {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color .3s ease;
}
.live-embed:hover { border-color: rgba(232,35,30,.4); }
.live-embed iframe { border: none; display: block; }
.live-text .section-title { display: flex; align-items: center; gap: 14px; }
.live-text p { color: var(--text-muted); margin-bottom: 24px; }
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(232,35,30,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,35,30,.6); }
  70% { box-shadow: 0 0 0 10px rgba(232,35,30,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,35,30,0); }
}

/* Contenus */
.contenus { padding: 96px 0; background: var(--ink-soft); }
.featured-video { margin-bottom: 24px; }
.featured-video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  max-width: var(--max-width);
}
.featured-video-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* Games */
.games { position: relative; padding: 96px 0; overflow: hidden; }
.games-bg-text {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  right: -20px;
  bottom: -10px;
  font-size: clamp(3rem, 2rem + 6vw, 7rem);
  color: rgba(255,255,255,.04);
  margin: 0;
  pointer-events: none;
  white-space: nowrap;
}
.game-feature {
  max-width: var(--content-width);
  margin: 40px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.game-feature:hover { transform: translateY(-4px); border-color: rgba(232,35,30,.4); }
.game-feature-icon { font-size: 40px; margin-bottom: 12px; transition: transform .3s ease; }
.game-feature:hover .game-feature-icon { transform: scale(1.15) rotate(-6deg); }
.game-feature h3 { color: var(--red); font-size: 26px; }
.game-feature p { color: var(--text-muted); margin-bottom: 24px; }
.games-note { text-align: center; color: var(--text-muted); font-size: 14px; max-width: 50ch; margin: 28px auto 0; position: relative; }

/* Partnership */
.partnership { padding: 96px 0; }
.partnership-grid { max-width: 720px; }
.partnership-text p { color: var(--text-muted); line-height: 1.8; margin: 0 0 28px; }
.partnership-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.partnership-stats div { display: flex; flex-direction: column; gap: 2px; }
.partnership-stats strong { font-family: var(--font-display); color: var(--red); font-size: 24px; }
.partnership-stats span { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.partnership-trust {
  font-size: 14px;
  color: var(--text-muted);
  border-left: 2px solid var(--red);
  padding-left: 14px;
  margin-bottom: 28px !important;
}
.partnership-trust strong { color: var(--white); }

/* Community */
.community { padding: 96px 0; background: var(--ink-soft); }
.community-grid { max-width: 640px; text-align: center; }
.community-grid .btn-discord { margin-left: auto; margin-right: auto; }
.community-grid .social-icons-lg { justify-content: center; }
.community-text p { color: var(--text-muted); margin-bottom: 24px; }

/* Contact */
.contact-cta { padding: 96px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
}
.contact-text p { color: var(--text-muted); margin-bottom: 28px; }
.contact-info { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 14px; }
.contact-info svg { color: var(--red); flex-shrink: 0; }
.contact-info a { color: var(--text-muted); text-decoration: none; }
.contact-info a:hover { color: var(--white); }
.contact-email-item { margin-bottom: 4px; }
.contact-email {
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .3px;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.contact-email:hover { color: var(--red) !important; }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { margin-bottom: 16px; }
.form-field label { color: rgba(255,255,255,.8); font-size: 13px; }
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--white);
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--red); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.4); }
.form-field textarea { resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-status { text-align: center; color: var(--white); margin-top: 12px; min-height: 1.2em; font-size: 14px; }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--border); position: relative; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 36px 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-impact); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--white); font-size: 21px; }
.footer-logo img { width: 22px; height: auto; }
.footer-tagline { color: var(--text-muted); font-size: 12px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: var(--white); }
.footer-bar { border-top: 1px solid var(--border); padding: 18px 24px; text-align: center; }
.footer-bar p { margin: 0; color: var(--text-muted); font-size: 12px; }
.footer-legal { margin-top: 6px !important; }
.footer-legal a { color: var(--text-muted); text-decoration: underline; }
.footer-legal a:hover { color: var(--white); }

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 500;
  box-shadow: 0 8px 24px -8px rgba(232, 35, 30, .6);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 1000px) {
  .about-grid,
  .live-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-side { flex-direction: row; flex-wrap: wrap; }
  .about-side .side-card { flex: 1 1 240px; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .about-side { flex-direction: column; }

  .nav-toggle { display: flex; }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 80vw);
    background: var(--ink-soft);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 300;
  }
  .header-nav.open { transform: translateX(0); }
  .header-nav a { font-size: 18px; }
  .header-actions .social-icons { display: none; }
}

@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .partnership-stats { gap: 20px; }
  .game-feature { padding: 32px 24px; }
}
