/* ── VARIABLES ── */
:root {
  --bg:       #e8e4d9;
  --blue:     #33658A;
  --orange:   #FF9F1C;
  --dark:     #1D201F;
  --light:    #ffffff;
  --blue-deep:#2a5474;
  --muted:    #6b6a62;
  --border:   #cbc8bc;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(232,228,217,0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--blue);
  text-transform: uppercase;
}

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

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

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: all 0.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); }

@media (max-width: 600px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(232,228,217,0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }

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

  .nav-links li { border-top: 1px solid var(--border); }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* ── PLANES ──
   Left plane: top 58%, rotating -10deg points its nose upper-right toward center.
   Right plane: top 22%, scaleX(-1) mirrors it to face left, rotate(10deg) tilts
   nose downward — combined result is nose pointing lower-left toward center.
   Both plane centers land on the same -10deg diagonal line.
── */
.plane-left,
.plane-right {
  position: absolute;
  width: clamp(160px, 22vw, 300px);
  pointer-events: none;
  z-index: 2;
}

.plane-left {
  top: 53%;
  left: -340px;
  transform: translateY(-50%);
  animation: flyInLeft 1.1s 0.1s cubic-bezier(0.22,0.8,0.4,1) forwards;
}

.plane-right {
  top: 25%;
  right: -340px;
  transform: translateY(-50%);
  animation: flyInRight 1.1s 0.1s cubic-bezier(0.22,0.8,0.4,1) forwards;
}

/* ── TRAIL — positioned by JS ── */
.hero-trail {
  position: absolute;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0px, var(--orange) 10px,
    transparent 10px, transparent 22px
  );
  transform-origin: left center;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}

/* ── SMOKE ── */
.smoke {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 32vw, 460px);
  height: clamp(90px, 14vw, 200px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255,159,28,0.25) 0%,
    rgba(255,159,28,0.10) 45%,
    transparent 70%
  );
  filter: blur(22px);
  z-index: 1;
  animation: smokeIn 1.4s 0.5s both;
}

/* ── HERO TEXT ── */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.5s 0.7s forwards;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--blue);
  opacity: 0;
  animation: fadeUp 0.5s 0.85s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero h1 .outline {
  -webkit-text-stroke: 2px var(--blue);
  color: transparent;
}

.hero-sub {
  max-width: 460px;
  margin: 0 auto 2.5rem;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  animation: fadeUp 0.5s 1s forwards;
  text-shadow: 0 1px 8px rgba(232,228,217,0.8);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.5s 1.15s forwards;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--blue); color: var(--light); }
.btn-primary:hover { background: var(--blue-deep); }

.btn-secondary { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--light); }

.btn-outline-light { background: transparent; color: var(--light); border: 1px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--orange); color: var(--orange); }

/* ── SECTION STRUCTURE ── */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 3rem;
  color: var(--dark);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── FEATURED GAME ── */
.featured-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.featured-game:hover { border-color: var(--blue); }

.game-logo-panel {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.game-logo-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.game-logo-placeholder {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.game-logo-placeholder span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.game-logo-placeholder::before,
.game-logo-placeholder::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
}
.game-logo-placeholder::before {
  top: -4px; left: -4px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}
.game-logo-placeholder::after {
  bottom: -4px; right: -4px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}

.game-name-big {
  position: relative;
  z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light);
}

.game-info-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: var(--bg);
}

.game-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light);
  background: var(--blue);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.game-info-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  line-height: 1;
  color: var(--dark);
}

.game-info-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 380px;
}

.game-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.game-meta-item {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.meta-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  min-width: 80px;
}

.meta-val { color: var(--muted); }

.game-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.about-avatar {
  background: var(--blue);
  border: 1px solid var(--blue);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

.avatar-label {
  position: relative;
  z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.about-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.05;
  color: var(--dark);
}

.about-content h3 span { color: var(--blue); }

.about-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--blue-deep);
  border: 1px solid var(--blue);
  margin-top: 2rem;
}

.stat {
  background: var(--blue);
  padding: 1.25rem;
  text-align: center;
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--orange);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
}

/* ── COMING SOON ── */
.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--blue-deep);
  border: 1px solid var(--blue);
}

.coming-grid-single {
  grid-template-columns: 1fr;
  max-width: 380px;
}

.coming-card {
  background: var(--blue);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.coming-card:hover { background: var(--blue-deep); }

.coming-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.coming-card:hover::after { transform: scaleX(1); }

.coming-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color 0.25s;
}

.coming-card:hover .coming-num { color: rgba(255,255,255,0.18); }

.coming-platform {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.coming-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--light);
}

.coming-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.pill {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--orange);
  color: var(--orange);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--blue);
  border: 1px solid var(--blue);
  text-decoration: none;
  color: var(--light);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.contact-link:hover { border-color: var(--orange); color: var(--orange); }

.contact-link-icon { font-size: 1.1rem; flex-shrink: 0; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--blue);
  border: 1px solid var(--blue);
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.social-link:hover { border-color: var(--orange); color: var(--orange); }


/* ── SUPPORT / DONATE ── */
.support-inner {
  max-width: 560px;
}

.support-inner p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.bmc-btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: var(--dark);
  transition: background 0.2s, transform 0.15s;
}

.bmc-btn:hover {
  background: #ffb340;
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes flyInLeft {
  from { left: -340px; }
  to   { left: -2%; }
}

@keyframes flyInRight {
  from { right: -340px; }
  to   { right: -2%; }
}

@keyframes smokeIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1.2rem; }
  .section-wrap { padding: 4rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 4rem; }
  .plane-left, .plane-right { width: clamp(100px, 28vw, 180px); }
  .featured-game { grid-template-columns: 1fr; }
  .game-info-panel { border-left: none; border-top: 1px solid var(--border); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .coming-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { flex-direction: column; align-items: flex-start; }
}