/* ============================================
   KORAX.ro — Counter-Strike 2 Community
   Tokens
   ============================================ */
:root {
  --bg: #0a0b09;
  --bg-alt: #0e110d;
  --panel: #12150f;
  --panel-border: #24291f;
  --line: #1d211a;

  --green-deep: #1f3320;
  --green: #4c7a44;
  --green-strong: #5c8f4f;
  --green-bright: #8ab26b;

  --text: #e9ece4;
  --text-muted: #96a08e;
  --text-dim: #6d766a;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

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

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

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}

/* Faint tactical grid across the whole page */
.tactical-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(76, 122, 68, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 122, 68, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black 0%, transparent 70%);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 9, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--green);
  color: var(--green-bright);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  transform: skew(-6deg);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo-dot { color: var(--green-bright); font-weight: 400; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a:not(.nav-cta) {
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta):hover { color: var(--text); }

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--green);
  color: var(--green-bright);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--green);
  color: #0a0b09;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 96px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--green);
  opacity: 0.5;
  pointer-events: none;
}

.rifle-silhouette {
  position: absolute;
  right: -60px;
  bottom: -10px;
  width: 640px;
  opacity: 0.09;
  transform: scaleX(-1);
}

.crosshair {
  position: absolute;
  width: 180px;
  opacity: 0.14;
}

.crosshair-1 { top: 12%; left: 4%; width: 130px; }
.crosshair-2 { bottom: 8%; left: 40%; width: 90px; opacity: 0.1; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow-line {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--green-bright);
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 2px solid var(--green);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
  color: var(--text);
}

.hero-accent { color: var(--green-bright); }

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #080907;
}

.btn-primary:hover {
  background: var(--green-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--panel-border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-bright);
}

.btn-large {
  padding: 17px 34px;
  font-size: 16px;
}

.icon-discord {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   Sections (shared)
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--green-bright);
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 2px solid var(--green);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin: 0 0 48px;
  max-width: 34ch;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 18px;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p {
  color: var(--text-muted);
  max-width: 58ch;
}

.about-copy p + p { margin-top: 16px; }

.about-panel {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 6px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.03em;
}

.panel-row:last-child { border-bottom: none; }

.panel-row span:first-child {
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 12px;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-bright);
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(138, 178, 107, 0.15);
}

/* ============================================
   Features
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  background: var(--bg-alt);
  padding: 36px 30px;
}

.feature-index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 12px;
  color: var(--green-bright);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* ============================================
   CTA section
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 110px 0;
}

.cta-wrap {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.cta-wrap .section-kicker {
  display: inline-block;
  border-left: none;
  padding-left: 0;
}

.cta-sub {
  color: var(--text-muted);
  margin: 0 0 34px;
}

.cta-rifle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  max-width: none;
  color: var(--green);
  opacity: 0.06;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-mark {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.footer-logo .logo-text { font-size: 15px; }

.footer-note {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
}

.footer-discord {
  font-size: 14px;
  color: var(--green-bright);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
}

.footer-discord:hover { color: var(--text); border-color: var(--text); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .rifle-silhouette { width: 420px; opacity: 0.07; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }

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

  .nav a:not(.nav-cta) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta { margin-top: 16px; }

  .nav-toggle { display: flex; }

  .hero { padding: 80px 0 64px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .btn-large { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
