@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #0D0D0D;
  --accent: #E74836;
  --accent-dark: #c03a29;
  --text: #E5E5E5;
  --text-muted: #B0B0B0;
  --text-dim: #606060;
  --border: rgba(231, 72, 54, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --heading: 'Bebas Neue', sans-serif;
  --body: 'Barlow', sans-serif;
  --tr: 0.3s ease;
  --max-w: 1200px;
  --header-h: 70px;
}

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

html {
  scroll-behavior: smooth;
}

html.hide #preloader {
  display: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.fixed {
  overflow: hidden;
}

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

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

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

.section-title {
  font-family: var(--heading);
  font-size: 54px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--text);
}

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

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 700px;
  margin-bottom: 52px;
  line-height: 1.65;
}

/* ─── PRELOADER ─── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader img {
  width: 64px;
  height: 64px;
}

/* ─── HEADER ─── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--tr), border-color var(--tr), backdrop-filter var(--tr);
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

#header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

#desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

#desktop-nav .nav-link {
  font-family: var(--heading);
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--tr);
  position: relative;
}

#desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--tr);
}

#desktop-nav .nav-link:hover {
  color: var(--text);
}

#desktop-nav .nav-link:hover::after {
  width: 100%;
}

/* ─── BURGER ─── */
.burger-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--tr), opacity var(--tr);
  transform-origin: center;
}

.burger-btn.act span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
  opacity: 0;
}

.burger-btn.act span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
#mobile-menu {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--tr);
}

#mobile-menu.opened {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

#mobile-menu .nav-link {
  font-family: var(--heading);
  font-size: 38px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--tr);
}

#mobile-menu .nav-link:hover {
  color: var(--accent);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 35%, rgba(10,10,10,0.45) 70%, rgba(10,10,10,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 14px;
}

.hero-text h1 {
  font-family: var(--heading);
  font-size: 82px;
  line-height: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-text h1 .accent {
  display: block;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 500px;
}

@keyframes btn-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.btn-cta {
  display: inline-block;
  font-family: var(--heading);
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 15px 44px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: opacity var(--tr), transform var(--tr);
  animation: btn-pulse 2s ease-in-out infinite;
}

.btn-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  animation: none;
}

.hero-character {
  flex: 0 0 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-character img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(231, 72, 54, 0.2));
}

/* ─── ABOUT ─── */
.about {
  background: var(--bg-2);
  padding: 100px 0;
}

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

.about-img {
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--border);
  z-index: 0;
  pointer-events: none;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.about-text .section-title {
  margin-bottom: 28px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ─── WORLD ─── */
.world {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.world-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.world-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.world-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
}

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

.world .section-title {
  text-align: center;
}

.world .section-sub {
  text-align: center;
  margin: 12px auto 56px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.world-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 20px;
  text-align: center;
  transition: background var(--tr), border-color var(--tr);
  position: relative;
  overflow: hidden;
}

.world-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--tr);
}

.world-card:hover {
  background: rgba(231, 72, 54, 0.07);
  border-color: var(--border);
}

.world-card:hover::before {
  transform: scaleX(1);
}

.world-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.world-card h3 {
  font-family: var(--heading);
  font-size: 19px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}

.world-footer-text {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* ─── COMBAT ─── */
.combat {
  background: var(--bg-3);
  padding: 100px 0;
}

.combat .section-title {
  margin-bottom: 12px;
}

.combat .section-sub {
  margin-bottom: 52px;
}

.combat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.combat-card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--tr), transform var(--tr);
}

.combat-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.combat-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.combat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.combat-card:hover .combat-card-img img {
  transform: scale(1.05);
}

.combat-card-num {
  font-family: var(--heading);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 14px 16px 4px;
  line-height: 1;
}

.combat-footer {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.3px;
}

.combat-card h3 {
  font-family: var(--heading);
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  padding: 4px 16px 18px;
  line-height: 1.25;
  flex-grow: 1;
}

/* ─── FAQ ─── */
.faq {
  background: var(--bg-2);
  padding: 100px 0;
}

.faq .section-title {
  margin-bottom: 52px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--tr), background var(--tr);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
}

.faq-item:hover {
  border-color: var(--border);
  background: rgba(231, 72, 54, 0.03);
}

.faq-num {
  font-family: var(--heading);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}

.faq-body h3 {
  font-family: var(--heading);
  font-size: 21px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
  padding-top: 4px;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── CONTACT ─── */
.contact {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
}

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

.contact .section-title {
  text-align: center;
  margin-bottom: 12px;
}

.contact-intro {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 28px;
}

.contact-email {
  display: inline-block;
  font-family: var(--heading);
  font-size: 34px;
  letter-spacing: 2px;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: opacity var(--tr);
  margin-bottom: 28px;
}

.contact-email:hover {
  opacity: 0.7;
}

.contact-tagline {
  color: var(--text-dim);
  font-size: 15px;
  font-style: italic;
}

/* ─── FOOTER ─── */
footer {
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 0;
}

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

footer p {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color var(--tr);
}

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

/* ─── COOKIES ─── */
#cookies-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.97);
  border-top: 1px solid var(--border);
  z-index: 998;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

#cookies-banner p {
  color: var(--text-muted);
  font-size: 14px;
}

#cookies-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookies-btns {
  display: flex;
  gap: 12px;
}

.cookies-btns button {
  font-family: var(--heading);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 9px 22px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text);
  transition: background var(--tr);
}

.cookies-btns button:hover {
  background: var(--accent);
}

/* ─── LEGAL PAGES ─── */
.legal-page {
  padding: calc(var(--header-h) + 60px) 0 80px;
  min-height: 100vh;
  background: var(--bg-2);
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-family: var(--heading);
  font-size: 52px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-content .legal-meta {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 48px;
  letter-spacing: 0.5px;
}

.legal-content h2 {
  font-family: var(--heading);
  font-size: 26px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin: 36px 0 12px;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px 20px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 66px;
  }

  .hero-character {
    flex: 0 0 360px;
  }

  .section-title {
    font-size: 46px;
  }

  .world-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  #desktop-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero-content {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-top: 20px;
    gap: 0;
  }

  .hero-character {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 52px;
  }

  .hero-text p {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.9) 60%, rgba(10,10,10,0.98) 100%);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .combat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 40px;
  }

  .faq-item {
    padding: 20px;
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .faq-num {
    font-size: 32px;
  }

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

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 42px;
  }

  .section-title {
    font-size: 34px;
  }

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

  .contact-email {
    font-size: 24px;
  }

  #cookies-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-pills {
    gap: 8px;
  }

  .pill {
    font-size: 11px;
  }
}
