/* ============================================================
   ETERNEL — Global Stylesheet
   Design: Dark gaming, purple accents, premium UGC studio
   ============================================================ */

/* ── Local font ── */
@font-face {
  font-family: 'Neulis Neue';
  src: url('../police ecriture/fonnts.com-Neulis_Neue_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Google Fonts (corps de texte uniquement) ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --bg:           #0a0a0a;
  --bg-alt:       #111111;
  --surface:      #1a1a1a;
  --surface-2:    #222222;
  --accent:       #ffffff;
  --accent-light: #e0e0e0;
  --accent-glow:  #ffffff;
  --text:         #ffffff;
  --text-sec:     #ffffff;
  --text-muted:   #cccccc;
  --border:       #2a2a2a;
  --border-light: #3a3a3a;

  --font-head: 'Neulis Neue', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-glow: 0 0 30px rgba(255,255,255,.08);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
}

/* ── 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.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: #0a0a0a;
  padding: 8px 16px;
  z-index: 1000;
  transition: transform .2s, opacity .2s;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(255,255,255,.1);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 30px rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid #ffffff;
}
.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255,255,255,.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--accent-light);
  border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  box-shadow: 0 0 20px rgba(255,255,255,.25);
  transform: translateY(-2px);
}

/* ── Section labels ── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}

/* ── Headings ── */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

/* ── Gradient text ── */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  margin: 16px 0 32px;
}

/* ──────────────────────────────────────────
   HEADER
   ────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
  padding: 0 24px;
}
#site-header.scrolled {
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 32px;
  position: relative;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.header-logo-text { display: none; }

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-right: 16px;
  margin-left: auto;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sec);
  text-transform: uppercase;
  transition: all 0.2s;
  background: rgba(255,255,255,0.05);
}
.lang-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
}
.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  color: var(--text-sec);
}
.lang-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.lang-dropdown a.active {
  color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .lang-switcher { 
    margin-left: -8px; 
    margin-right: auto; 
    order: -1; 
  }
  .lang-btn span { display: none; }
  .lang-btn { padding: 8px; }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-sec);
  transition: color .2s, background .2s;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.header-cta {
  flex-shrink: 0;
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 0 15px rgba(255,255,255,0.1) !important;
  letter-spacing: .05em;
}
.header-cta:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.06); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(24px);
  padding: 100px 32px 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 899;
  transform: scale(1.05);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { 
  display: flex; 
  transform: scale(1);
  opacity: 1;
}
.mobile-menu a {
  padding: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-sec);
  transition: all .3s ease;
  width: 100%;
  text-align: center;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .btn { 
  opacity: 1; 
  transform: translateY(0); 
  transition: all 0.4s ease 0.25s; 
}
.mobile-menu a:hover,
.mobile-menu a.active { 
  color: var(--text); 
  transform: scale(1.1);
}
.mobile-menu .btn { 
  margin-top: 32px; 
  width: 100%; 
  max-width: 280px; 
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px;
  background: transparent !important;
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open .btn {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease 0.25s;
}

/* ──────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.45) 50%,
    rgba(10,10,15,.92) 100%
  );
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,255,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-content h1 { margin-bottom: 24px; }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-sec);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Static dark hero (for sub-pages) */
.hero-static {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
}
.hero-static .hero-glow { top: 0; opacity: .7; }
.hero-static h1 { margin-bottom: 16px; }
.hero-static p {
  font-size: 1.1rem;
  color: var(--text-sec);
  max-width: 600px;
  margin: 0 auto;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-indicator span { display: block; width: 1px; height: 40px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollBounce 1.8s ease-in-out infinite; }
@keyframes scrollBounce {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.6); opacity: .4; }
}

/* ──────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────── */
section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .divider { margin: 16px auto 32px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-sec); max-width: 560px; }
.section-header.centered p { margin: 0 auto; }

/* ──────────────────────────────────────────
   PLATFORMS LOGOS
   ────────────────────────────────────────── */
.platforms-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}
.platform-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 120px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .3s;
  padding: 20px 32px;
}
.platform-item:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 20px rgba(255,255,255,.2);
  transform: translateY(-4px);
}
.platform-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter .3s;
}
.platform-item:hover img { filter: none; }

/* ──────────────────────────────────────────
   GAMES GRID
   ────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 1;
  cursor: pointer;
  transition: all .3s;
}
.game-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255,255,255,.07), var(--shadow-card);
  transform: scale(1.03);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.game-card:hover img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}

/* Full game card (for games page) */
.games-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.game-card-full {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.game-card-full:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(255,255,255,.07), var(--shadow-card);
  transform: translateY(-6px);
}
.game-card-full .thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.game-card-full .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.game-card-full:hover .thumb img { transform: scale(1.06); }
.game-card-coming-soon {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 80px 0;
}
.game-platform-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.game-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game-card-body h3 { font-size: 1.1rem; }
.game-card-body p { font-size: .875rem; color: var(--text-sec); line-height: 1.6; flex: 1; }
.game-card-body .btn { margin-top: auto; align-self: flex-start; font-size: .85rem; padding: 10px 20px; }

/* ──────────────────────────────────────────
   RECRUITMENT SECTION
   ────────────────────────────────────────── */
.recruit-section {
  position: relative;
  overflow: hidden;
}
.recruit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
}
.recruit-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.recruit-text h2 { margin-bottom: 20px; }
.recruit-text p { color: var(--text-sec); margin-bottom: 32px; line-height: 1.75; }
.recruit-image {
  position: relative;
}
.recruit-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

/* ──────────────────────────────────────────
   B2B CARDS
   ────────────────────────────────────────── */
.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.b2b-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.b2b-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity .3s;
}
.b2b-card:hover { border-color: rgba(255,255,255,.4); box-shadow: var(--shadow-glow); }
.b2b-card:hover::before { opacity: 1; }
.b2b-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-light);
  font-size: 1.4rem;
}
.b2b-card h3 { margin-bottom: 16px; }
.b2b-card p { color: var(--text-sec); line-height: 1.75; }

/* ──────────────────────────────────────────
   PARTNER SECTION
   ────────────────────────────────────────── */
.partner-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .3s;
  min-width: 220px;
}
.partner-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.partner-card img {
  height: 50px;
  object-fit: contain;
  transition: filter .3s;
}
.partner-card:hover img { filter: none; }

/* ──────────────────────────────────────────
   NEWS CARDS
   ────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: rgba(255,255,255,.5);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}
.news-card .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-date {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.news-card-body h3 { font-size: 1.05rem; line-height: 1.4; }
.news-card-body p { font-size: .875rem; color: var(--text-sec); line-height: 1.65; flex: 1; }

/* ──────────────────────────────────────────
   FAQ ACCORDION
   ────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(255,255,255,.5); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color .2s;
}
.faq-question:hover { color: var(--accent-light); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: .85rem;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255,255,255,.25); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-sec);
  line-height: 1.75;
  font-size: .95rem;
}

/* ──────────────────────────────────────────
   GAME FILTER TABS
   ────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-sec);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .2s;
}
.filter-tab:hover {
  color: var(--text);
  border-color: var(--border-light);
}
.filter-tab.active {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255,255,255,.1);
}

/* ──────────────────────────────────────────
   FORMS
   ────────────────────────────────────────── */
.form-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.form-group label .req { color: var(--accent-light); margin-left: 3px; }
.form-control {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: .925rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}
.form-control option { background: var(--surface); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control[type="file"] {
  padding: 10px 16px;
  cursor: pointer;
}

/* Multi-select checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-sec);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all .2s;
  user-select: none;
}
.checkbox-label:hover { border-color: var(--accent); color: var(--text); }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-label .check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  color: #fff;
  font-size: .7rem;
}
.checkbox-label input:checked ~ .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input:checked ~ span { color: var(--text); }

.form-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-actions .btn { align-self: flex-start; }
.form-legal {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-legal a { color: var(--accent-light); }
.form-legal a:hover { text-decoration: underline; }

.gdpr-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.gdpr-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
.gdpr-row label {
  font-size: .85rem;
  color: var(--text-sec);
  line-height: 1.6;
  cursor: pointer;
}
.gdpr-row a { color: var(--accent-light); }

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
#site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 24px 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo-wrap {
  margin-bottom: 20px;
}
.footer-brand .logo-wrap img {
  height: 50px;
  object-fit: contain;
}
.footer-brand p {
  font-size: .875rem;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .875rem;
  color: var(--text-sec);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-contact-email {
  font-size: .95rem;
  color: var(--accent-light);
  font-weight: 500;
}
.footer-contact-email:hover { color: var(--accent-light); text-decoration: underline; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.footer-bottom-logo img { height: 32px; opacity: .4; transition: opacity .2s; }
.footer-bottom-logo:hover img { opacity: .8; }

/* ──────────────────────────────────────────
   COOKIE BANNER
   ────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17,17,24,.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 24px;
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text h4 { font-size: .95rem; margin-bottom: 6px; }
.cookie-text p { font-size: .8rem; color: var(--text-sec); line-height: 1.6; }
.cookie-text a { color: var(--accent-light); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.cookie-actions button {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  transition: all .2s;
}
.cookie-accept { background: var(--accent); color: #0a0a0a; }
.cookie-accept:hover { background: var(--accent-light); }
.cookie-reject { background: transparent; color: var(--text-sec); border: 1px solid var(--border-light); }
.cookie-reject:hover { color: var(--text); border-color: var(--border-light); }
.cookie-prefs { background: transparent; color: var(--text-muted); font-size: .78rem; text-decoration: underline; }
.cookie-prefs:hover { color: var(--text-sec); }

/* Cookie preferences modal */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#cookie-modal.visible { display: flex; }
.cookie-modal-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal-inner h3 { margin-bottom: 24px; }
.cookie-category {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.cookie-category:last-of-type { border-bottom: none; }
.cat-info { flex: 1; }
.cat-info strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.cat-info span { font-size: .8rem; color: var(--text-sec); }
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-light);
  border-radius: 24px;
  cursor: pointer;
  transition: .3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
  transition: .3s;
}
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle input:disabled + .toggle-slider { opacity: .6; cursor: not-allowed; }
.cookie-modal-actions { display: flex; gap: 12px; margin-top: 28px; justify-content: flex-end; }

/* ──────────────────────────────────────────
   DECORATIVE / EXTRAS
   ────────────────────────────────────────── */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.placeholder-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,.02) 10px,
    rgba(255,255,255,.02) 20px
  );
}

/* Glowing top border for sections */
.glow-border-top {
  position: relative;
}

/* Page not found / empty state */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────
   PARTICLES (canvas)
   ────────────────────────────────────────── */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ──────────────────────────────────────────
   ANIMATIONS
   ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 20px rgba(255,255,255,.3); }
  50%      { box-shadow: 0 0 40px rgba(255,255,255,.6); }
}
.anim-fade-up  { animation: fadeUp .7s ease forwards; }
.anim-fade-in  { animation: fadeIn .6s ease forwards; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────────
   MARQUEE CAROUSEL
   ────────────────────────────────────────── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto 48px;
  max-width: 1040px; /* Exact width to see roughly 5 items (5 * 206px) */
  padding: 10px 0;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left  { left: -1px; width: 100px; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.marquee-fade-right { right: -1px; width: 100px; background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%); }

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  flex-shrink: 0;
  width: 190px;
  height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.marquee-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .marquee-item { width: 160px; height: 160px; }
  .marquee-fade-left, .marquee-fade-right { width: 60px; }
}

/* ──────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .news-grid    { grid-template-columns: 1fr 1fr; }
  .b2b-grid     { grid-template-columns: 1fr; }
  .recruit-inner { grid-template-columns: 1fr; }
  .recruit-image { display: none; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .header-nav, .header-cta, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  
  .hero-content {
    text-align: center;
    padding-top: 40px;
  }
  .hero-content h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-actions { 
    flex-direction: column; 
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-static { padding: 120px 0 60px; }
  .hero-static h1 { font-size: 2.2rem; }
  .hero-static p { font-size: 1rem; }

  .game-card-coming-soon { font-size: 1.5rem; padding: 40px 0; letter-spacing: 0.1em; }

  .form-container { padding: 32px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column-reverse; gap: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .games-catalog { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .platform-item { width: 140px; height: 80px; padding: 12px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; font-size: .8rem; }
  
  .section-header h2 { font-size: 1.75rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }

  .marquee-fade-left, .marquee-fade-right { width: 40px; }
  .marquee-item { width: 140px; height: 140px; }
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--accent);
  color: #0a0a0a;
  transform: translateY(-5px);
}

/* Mobile menu language switcher */
.mobile-lang {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s;
}
.mobile-menu.open .mobile-lang {
  opacity: 1;
  transform: translateY(0);
}
.mobile-lang a {
  width: 54px !important;
  height: 54px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.38) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.mobile-lang a:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.75) !important;
  transform: none !important;
}
.mobile-lang a.active {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
  transform: none !important;
}
