
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080818;
  --bg2: #0d0d20;
  --bg3: #12122a;
  --border: rgba(255,255,255,.08);
  --muted: rgba(255,255,255,.5);
  --muted2: rgba(255,255,255,.35);
  --red: #c8192e;
  --red2: #e01d35;
  font-size: 16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ── NAV ─────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  height: 60px; padding: 0 28px;
  background: rgba(8,8,24,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -.01em;
}
.nav-logo img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.nav-center { display: flex; align-items: center; gap: 2px; margin-left: 24px; }
.nav-center a, .nav-center button {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 6px 14px; border-radius: 8px;
  background: none; border: none; transition: all .15s;
  display: flex; align-items: center; gap: 6px;
}
.nav-center a:hover, .nav-center button:hover, .nav-center a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-btn {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 9px;
  border: none; cursor: pointer; transition: all .15s;
}
.nav-btn-discord { background: #5865f2; color: #fff; }
.nav-btn-discord:hover { background: #4752c4; }
.nav-btn-discord svg { width: 16px; height: 16px; fill: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: rgba(255,255,255,.7); border-radius: 1px; transition: all .2s; }
.mob { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 199; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.mob.open { display: flex; }
.mob a { font-size: 20px; font-weight: 600; color: rgba(255,255,255,.6); padding: 12px 32px; border-radius: 10px; width: 260px; text-align: center; transition: all .15s; }
.mob a:hover { color: #fff; background: rgba(255,255,255,.07); }

/* ── PAGE WRAP ───────────────────── */
.page-wrap { padding-top: 60px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ── HERO ────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
/* VIDEO BACKGROUND like InPvP */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* Dark gradient overlay on video */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(8,8,24,.45) 0%, rgba(8,8,24,.2) 40%, rgba(8,8,24,.7) 75%, #080818 100%),
    linear-gradient(to right, rgba(8,8,24,.5) 0%, transparent 40%, transparent 60%, rgba(8,8,24,.5) 100%);
}
/* Fallback when no video: animated dark bg */
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% 10%, rgba(60,30,100,.7) 0%, rgba(20,10,50,.9) 45%, #080818 80%),
    linear-gradient(160deg, #080818 0%, #0a0520 50%, #080818 100%);
  animation: bgShift 14s ease-in-out infinite alternate;
}
@keyframes bgShift { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(15deg); } }

/* Grid like InPvP */
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.8) 0%, transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 3;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.hero-sub {
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 18px;
}
/* EXACT InPvP big title style */
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.02em; margin-bottom: 32px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-title em { font-style: normal; }

/* Player count badge — exactly like InPvP */
.hero-stat {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.1);
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 28px; color: rgba(255,255,255,.8);
}
.hero-stat img { width: 22px; height: 22px; border-radius: 50%; object-fit: contain; image-rendering: pixelated; }
.hero-stat-num { color: #fff; font-weight: 800; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1e7d32; color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 15px 34px; border-radius: 12px;
  border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(30,125,50,.4);
  transition: all .2s;
}
.hero-btn:hover { background: #2e9c42; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(30,125,50,.5); }
.hero-btn svg { width: 18px; height: 18px; fill: #fff; }

/* ── PROJECT CARDS ───────────────── */
.projects-section { padding: 80px 0 40px; }
.projects-section h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  letter-spacing: -.01em; margin-bottom: 32px; text-align: center;
}
/* Individual project cards — tall cards like InPvP */
.proj-card {
  position: relative; border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 420px;
  min-height: 420px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none; color: #fff;
  transition: transform .3s, box-shadow .3s;
}
.proj-card:hover { transform: scale(1.003); box-shadow: 0 24px 64px rgba(0,0,0,.6); }
.proj-card-img {
  position: relative; overflow: hidden; min-height: 340px;
}
.proj-card-img img, .proj-card-img video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.proj-card:hover .proj-card-img img { transform: scale(1.04); }
.proj-card-img-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s;
}
.proj-card:hover .proj-card-img-bg { transform: scale(1.04); }
.proj-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(13,13,32,.95) 100%);
}
.proj-card-info {
  background: var(--bg2); padding: 36px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.proj-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.1);
  padding: 5px 12px; border-radius: 20px; width: fit-content; margin-bottom: 16px;
}
.proj-tag svg { width: 12px; height: 12px; }
.proj-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
}
.proj-logo-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.proj-logo-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; }
.proj-logo-icon img { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.proj-est { font-size: 12px; color: var(--muted2); font-weight: 600; }
.proj-name { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.proj-cc { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 14px 0; }
.proj-cc-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
.proj-cc-num { font-weight: 800; color: #fff; }
.proj-tagline { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.proj-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.proj-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.proj-pill { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.proj-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1e7d32; color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: 10px;
  width: fit-content; transition: all .18s;
  border: none; cursor: pointer;
}
.proj-btn:hover { background: #2e9c42; transform: translateY(-1px); }
.proj-btn svg { width: 14px; height: 14px; fill: currentColor; }
.proj-btn.red { background: var(--red); }
.proj-btn.red:hover { background: var(--red2); }
/* reversed card */
.proj-card.rev { grid-template-columns: 420px 1fr; }
.proj-card.rev .proj-card-img-overlay { background: linear-gradient(to left, transparent 50%, rgba(13,13,32,.95) 100%); }
.proj-card.rev .proj-card-info { order: -1; }
/* stats bar */
.stats-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 20px 28px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; margin: 16px 0;
  font-size: 14px; color: var(--muted); cursor: pointer; transition: background .2s;
}
.stats-bar:hover { background: rgba(255,255,255,.05); color: #fff; }
.stats-bar a { color: inherit; }

/* ── PARTNER BADGE ───────────────── */
.partner-section {
  padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.partner-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.partner-badge {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.partner-badge img { width: 100%; height: 100%; object-fit: cover; }
.partner-title { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; line-height: 1.4; max-width: 600px; }
.partner-title strong { color: #4ade80; }

/* ── ABOUT ───────────────────────── */
.about-section { padding: 100px 0; }
.about-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted2); margin-bottom: 20px; }
.about-h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -.01em;
  line-height: 1.1; margin-bottom: 22px;
}
.about-h2 em { font-style: normal; color: #fff; }
.about-p { font-size: 15.5px; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }

/* ── VALUES ──────────────────────── */
.values-section { padding: 0 0 100px; }
.values-h3 { font-size: 26px; font-weight: 800; margin-bottom: 32px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  padding: 28px 24px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 16px;
  transition: all .25s;
}
.value-card:hover { border-color: rgba(255,255,255,.15); transform: translateY(-4px); background: rgba(255,255,255,.05); }
.value-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── SAFETY / QUALITY ────────────── */
.safety-section {
  padding: 100px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(200,25,46,.03) 50%, transparent 100%);
}
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.safety-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted2); margin-bottom: 16px; }
.safety-h2 { font-size: clamp(26px, 3.5vw, 44px); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; margin-bottom: 22px; }
.safety-p { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.safety-p strong { color: #fff; }
.safety-feats { display: flex; flex-direction: column; gap: 26px; }
.safety-feat { display: flex; gap: 16px; }
.safety-feat-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(200,25,46,.1); border: 1px solid rgba(200,25,46,.2);
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.safety-feat-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.safety-feat h4 { font-size: 15px; font-weight: 800; margin-bottom: 5px; }
.safety-feat p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── FOOTER ──────────────────────── */
.site-footer { padding: 60px 0 36px; border-top: 1px solid var(--border); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.foot-logo img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.foot-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 220px; }
.foot-col h5 { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted2); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul li a { font-size: 14px; color: var(--muted); transition: color .15s; }
.foot-col ul li a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.7; }
.foot-socials { display: flex; gap: 14px; }
.foot-socials a { color: rgba(255,255,255,.35); transition: color .2s; display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); }
.foot-socials a:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.foot-socials svg { width: 17px; height: 17px; }

/* ── UTILITY / SHARED ────────────── */
[data-sr] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-sr].in { opacity: 1; transform: none; }
[data-sr][data-d="1"] { transition-delay: .1s; }
[data-sr][data-d="2"] { transition-delay: .2s; }
[data-sr][data-d="3"] { transition-delay: .3s; }

/* Inner page hero */
.page-hero {
  padding: 100px 0 64px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -80px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(200,25,46,.15) 0%, transparent 60%);
}
.page-hero-label { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: 16px; }
.page-hero p { font-size: 16px; color: var(--muted); max-width: 520px; line-height: 1.75; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 11px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: all .18s; }
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn-green { background: #1e7d32; color: #fff; box-shadow: 0 6px 20px rgba(30,125,50,.35); }
.btn-green:hover { background: #2e9c42; transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(200,25,46,.35); }
.btn-red:hover { background: var(--red2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.07); color: #fff; border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ── RESPONSIVE ──────────────────── */
@media (max-width: 1024px) {
  .proj-card { grid-template-columns: 1fr; min-height: auto; }
  .proj-card.rev { grid-template-columns: 1fr; }
  .proj-card.rev .proj-card-info { order: 0; }
  .proj-card-img-overlay { background: linear-gradient(to bottom, transparent 40%, rgba(13,13,32,.97) 100%) !important; }
  .proj-card-img { min-height: 280px; }
  .safety-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-center, .nav-btn { display: none; }
  .hamburger { display: flex; }
  .container, .container-sm { padding: 0 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 16px; }
  .page-hero { padding: 72px 0 48px; }
}
