@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #080d09;
  --bg-soft: #0d140f;
  --surface: #111913;
  --surface-2: #172119;
  --line: rgba(137, 170, 70, 0.24);
  --line-strong: rgba(154, 193, 74, 0.48);
  --green: #94b83f;
  --green-light: #bad66a;
  --text: #f1f2e9;
  --muted: #a8b0a5;
  --dark: #050806;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(119, 153, 51, .13), transparent 32rem),
    linear-gradient(180deg, #080d09 0%, #0b110c 52%, #070b08 100%);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  box-shadow: inset 0 0 150px rgba(0,0,0,.6);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 19;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 70px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(4,8,5,.93), rgba(4,8,5,.72));
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.34rem;
  letter-spacing: .11em;
}

.brand small {
  color: var(--green);
  font-size: .58rem;
  letter-spacing: .2em;
  margin-top: 5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #c4cbc2;
  font-size: .88rem;
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 1px;
  background: var(--green);
  transition: right .25s ease;
}

.desktop-nav a:hover::after {
  right: 0;
}

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

.lang-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  color: var(--text);
  background: rgba(255,255,255,.03);
  font-weight: 700;
  cursor: pointer;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .11em;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #0d120b;
  background: linear-gradient(135deg, #b4d45e, #739629);
  border-color: #b0cf5a;
  box-shadow: 0 12px 40px rgba(113,151,44,.22);
}

.button-dark {
  color: var(--text);
  background: rgba(4,7,5,.78);
  border-color: rgba(255,255,255,.17);
}

.button-ghost {
  min-height: 42px;
  padding-inline: 19px;
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(140,177,60,.07);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px 28px 54px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("../images/zenvalley-hero.png") center center / cover no-repeat;
  transform: scale(1.018);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,6,4,.78), rgba(4,7,5,.18) 48%, rgba(3,6,4,.75)),
    linear-gradient(180deg, rgba(4,7,5,.38), rgba(4,7,5,.18) 45%, #080d09 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1100px);
  text-align: center;
  margin-top: 22px;
}

.eyebrow,
.section-kicker {
  color: var(--green-light);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .27em;
  font-size: .8rem;
}

.hero-logo {
  width: clamp(190px, 24vw, 330px);
  margin: 18px auto 10px;
  filter: drop-shadow(0 20px 45px rgba(0,0,0,.66));
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .96;
  letter-spacing: .035em;
  text-shadow: 0 5px 30px rgba(0,0,0,.55);
}

.hero p {
  max-width: 730px;
  margin: 20px auto 0;
  color: #d0d6ce;
  font-size: clamp(.96rem, 1.6vw, 1.13rem);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.server-strip {
  margin: 46px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  background: rgba(5,9,6,.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.server-strip > div {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 22px;
  border-right: 1px solid rgba(255,255,255,.09);
}

.server-strip > div:last-child {
  border-right: 0;
}

.server-strip small {
  color: #7f8c7d;
  font-size: .63rem;
  letter-spacing: .16em;
}

.server-strip strong {
  margin-top: 3px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: .08em;
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 0 rgba(177,210,88,.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(177,210,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(177,210,88,0); }
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 24px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-hint span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--green-light);
  animation: scroll 1.8s infinite;
}

@keyframes scroll {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: 115px 0;
}

.section h2 {
  max-width: 930px;
  margin: 12px auto 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  text-align: center;
}

.section-kicker {
  text-align: center;
}

.intro {
  text-align: center;
}

.lead {
  max-width: 790px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-grid article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 118px;
  border-right: 1px solid var(--line);
}

.stat-grid article:last-child {
  border-right: 0;
}

.stat-grid strong {
  color: var(--green);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.stat-grid span {
  color: #cbd2c9;
}

.paths {
  width: 100%;
  padding-inline: clamp(22px, 5vw, 90px);
  background:
    linear-gradient(180deg, transparent, rgba(24,34,25,.6) 48%, transparent);
}

.path-grid {
  max-width: 1320px;
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.path-card {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.path-card::before,
.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.path-card::before {
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.path-card:hover::before {
  transform: scale(1.045);
}

.path-card::after {
  background: linear-gradient(180deg, rgba(2,4,3,.05), rgba(3,6,4,.92) 85%);
}

.path-card.pve::before {
  background-image:
    linear-gradient(rgba(31,54,31,.08), rgba(31,54,31,.1)),
    url("../images/zenvalley-hero.png");
  background-position: 27% center;
}

.path-card.pvp::before {
  background-image:
    linear-gradient(rgba(62,30,23,.1), rgba(62,30,23,.12)),
    url("../images/zenvalley-hero.png");
  background-position: 78% center;
}

.path-number {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 28px;
  color: rgba(255,255,255,.17);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 5rem;
  font-weight: 800;
}

.path-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.path-content > span {
  color: var(--green-light);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: .3em;
}

.path-content h3 {
  margin: 10px 0 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: .03em;
}

.path-content p {
  max-width: 500px;
  margin: 0;
  color: #b9c1b6;
}

.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article {
  min-height: 245px;
  padding: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(138,172,61,.055), rgba(255,255,255,.012)),
    var(--surface);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(138,172,61,.1), rgba(255,255,255,.02)),
    var(--surface);
}

.feature-icon {
  color: var(--green);
  font-size: 1.9rem;
}

.feature-grid h3 {
  margin: 22px 0 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  letter-spacing: .05em;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.rules-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(10,16,11,.95), rgba(22,33,23,.92)),
    url("../images/zenvalley-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.rules-panel .section-kicker,
.rules-panel h2 {
  text-align: left;
}

.rules-panel h2 {
  margin: 9px 0 15px;
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
}

.rules-panel p {
  max-width: 740px;
  color: var(--muted);
  margin: 0;
}

.final-cta {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto 90px;
  min-height: 175px;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 24px 42px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(3,6,4,.55);
}

.final-cta img {
  width: 125px;
}

.final-cta div {
  display: flex;
  flex-direction: column;
  font-family: "Barlow Condensed", sans-serif;
  line-height: .95;
}

.final-cta span {
  color: #c8d0c5;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.final-cta strong {
  color: var(--green-light);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

footer {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 50px clamp(22px, 5vw, 80px);
  border-top: 1px solid rgba(255,255,255,.08);
  background: #050806;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 74px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  letter-spacing: .1em;
}

.footer-brand span {
  color: var(--green);
  font-size: .62rem;
  letter-spacing: .18em;
}

.footer-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: .84rem;
}

footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #687066;
  font-size: .75rem;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  max-width: calc(100% - 36px);
  padding: 13px 18px;
  color: #10150e;
  background: var(--green-light);
  border: 1px solid #d2e999;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: .25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .server-strip {
    grid-template-columns: 1fr 1fr;
  }

  .server-strip > div:nth-child(2) {
    border-right: 0;
  }

  .server-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .path-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 460px;
  }

  .feature-grid {
    max-width: 750px;
    margin-inline: auto;
  }

  .rules-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta {
    grid-template-columns: 100px 1fr;
  }

  .final-cta .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .site-header {
    height: 68px;
    padding-inline: 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand small {
    display: none;
  }

  .button-ghost {
    display: none;
  }

  .hero {
    min-height: 940px;
    padding: 96px 17px 52px;
  }

  .hero-image {
    background-position: 50% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3,6,4,.34), rgba(3,6,4,.54) 38%, #080d09 92%),
      linear-gradient(90deg, rgba(3,6,4,.55), transparent, rgba(3,6,4,.55));
  }

  .hero-logo {
    width: 210px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .server-strip {
    grid-template-columns: 1fr;
  }

  .server-strip > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .server-strip > div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 30px, 1180px);
    padding: 82px 0;
  }

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

  .stat-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-grid article:last-child {
    border-bottom: 0;
  }

  .paths {
    width: 100%;
    padding-inline: 15px;
  }

  .path-card {
    min-height: 420px;
  }

  .path-content {
    padding: 28px;
  }

  .feature-grid article {
    padding: 27px;
  }

  .rules-panel {
    padding: 30px 24px;
  }

  .final-cta {
    width: calc(100% - 30px);
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 22px;
  }

  .final-cta img {
    margin: auto;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  footer > p {
    grid-column: auto;
  }
}
