:root {
  --bg: #1d1d1e;
  --bg-soft: #141415;
  --panel: #222223;
  --line: #2c2c2d;
  --orange: #ff6b1a;
  --orange-hover: #ff8c47;
  --text: #f2f2f0;
  --text-dim: #a3a3a1;
  --text-gray: #777778;
  --radius: 2px;
  --font-main: "Segoe UI", "Arial", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.site { min-height: 100vh; display: flex; flex-direction: column; }

.icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- NAV ---------- */
.nav {
  position: absolute;
  top: 1.125rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 100%;
  max-width: 122rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}
.nav-logo img { height: 2.5rem; width: auto; }
.nav-main { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  font-size: 0.938rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-donate {
  border: 1px solid var(--line);
  padding: 0.8125rem 1.625rem;
  font-size: 0.94rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--orange);
  transition: background .3s ease, color .3s ease;
}
.nav-donate:hover, .nav-donate.active {
  background: var(--bg-soft);
  color: var(--orange);
}

main { width: 100%; flex: 1; }

/* ---------- HERO ---------- */
.hero {
  padding: 8rem 1.5rem 0;
  overflow: hidden;
}
.hero-inner, .section-inner {
  width: 100%;
  max-width: 122rem;
  margin: 0 auto;
}
.hero-head { display: flex; align-items: flex-end; gap: 1rem; }
.hero-title {
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.85;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-text-stroke: 0;
  letter-spacing: 0.02em;
}
.hero-title span { display: block; }
.hero-brand {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--orange);
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 0.85;
  margin-bottom: 0.6rem;
}
.hero-body {
  margin-top: 1rem;
  border: 1px solid var(--line);
}
.hero-cols { display: grid; grid-template-columns: 34% 1fr; }
.tile {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--orange);
  color: #1d1d1e;
  font: inherit;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  padding: 1rem;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, font-size .3s ease;
}
.tile:hover { background: #3a3a3b; color: var(--orange); }
.tile .icon {
  position: absolute;
  bottom: 0.563rem;
  right: 0.563rem;
  width: 1.875rem;
  height: 1.875rem;
  transition: transform .3s ease;
}
.tile:hover .icon { transform: scale(1.4); transform-origin: bottom right; }
.tile-big { height: 7rem; font-size: 1rem; width: 100%; padding: 1.25rem; }
.hero-online-col { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-count-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
  border-bottom: 1px solid var(--line);
}
.hero-count-label {
  font-size: 0.822rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.hero-count { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 900; line-height: 0.85; margin-top: 0.5rem; }
.hero-count-line { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.hero-count-line .hero-count { margin-top: 0; }
.hero-status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
}
.hero-status-dot.off {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}
.hero-count.off { color: #ef4444; }
.hero-launch-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
}
.tile-launch { height: 7rem; align-items: center; justify-content: center; font-size: 1rem; }
.tile-launch .icon.icon-lg { position: static; width: 2.625rem; height: 2.625rem; margin-left: 1.25rem; transform: none; }
.tile-launch:hover .icon { transform: translate(6px, 6px); }
.hero-socials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 1rem 0.5rem;
  border-left: 1px solid var(--line);
}
.hero-socials-label { font-size: 0.9rem; color: var(--text-dim); }
.hero-socials-icons { display: flex; gap: 1.5rem; }
.social-icon { width: 2.375rem; height: 2.313rem; color: var(--text); transition: color .3s ease; }
.social-icon:hover { color: var(--orange); }
.social-icon svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- SECTION COMMON ---------- */
.section {
  padding: 0 1.5rem;
  margin-top: 6rem;
}
.section-title {
  font-size: clamp(1.8rem, 6vw, 6.4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 2rem;
}
.section-title.center { text-align: center; }
.section-sub { font-size: 1rem; font-weight: 300; color: var(--text-dim); margin-bottom: 2rem; }
.section-sub.center { text-align: center; max-width: 45rem; margin-left: auto; margin-right: auto; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: flex-start; }
.about-media { position: relative; }
.about-bigword { display: none; }
.about-clip { display: block; overflow: hidden; }
.about-bigword-clip {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.68rem, 6.38vw, 7.08rem);
  line-height: 0.85;
  color: #ffffff;
  -webkit-text-stroke: 0;
  white-space: nowrap;
  transform: translateY(-0.1em);
}
.about-photo { position: relative; margin-top: 1rem; }
.about-photo img { width: 100%; height: 17rem; object-fit: cover; }
.about-text {
  border: 1px solid var(--line);
  margin-top: 5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-text p { font-size: 0.875rem; font-weight: 300; line-height: 1.5; }
.about-text strong { font-weight: 600; }
.about-slogan { color: var(--text-gray); }
.tile-full {
  width: 100%;
  height: 4.25rem;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.tile-full .icon { position: static; width: 1.875rem; height: 1.875rem; transform: none; }
.tile-full:hover .icon { transform: scale(0.7); }

/* ---------- HOW TO ---------- */
.howto .section-title span { color: #ffffff; -webkit-text-stroke: 0; }
.howto-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.howto-step { display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--line); }
.step-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem 1.25rem; }
.step-num { font-size: 1.875rem; font-weight: 900; line-height: 0.9; }
.step-text { font-size: 0.85rem; font-weight: 300; line-height: 1.35; }
.step-stores { display: flex; gap: 0.5rem; padding: 0.5rem; border-left: 1px solid var(--line); }
.tile-store { width: 8rem; font-size: 0.875rem; padding: 1.25rem 0.75rem; }
.tile-store .icon { width: 2.5rem; height: 2.5rem; }
.howto-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.howto-step-col { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); padding: 1.5rem; }
.howto-step-col .step-num { margin-bottom: 0.5rem; }
.howto-step-col .tile-full { height: 5.438rem; }
.howto-step-col:nth-child(2) .tile-full { margin-top: 0.1em; }
.step-body-col { display: flex; flex-direction: column; gap: 0.5rem; }
.howto-tip { color: var(--text-gray); font-size: 1.25rem; font-weight: 300; margin-top: 1.5rem; }
.tile-choose { height: 9rem; width: 9rem; align-self: flex-end; font-size: 1rem; padding: 1rem; }
.tile-choose .icon { width: 2.5rem; height: 2.5rem; }
.howto-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s ease; }
.howto-media:hover img { filter: grayscale(0); }

/* ---------- SERVERS ---------- */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border: 1px solid var(--line);
  margin-top: 2rem;
}
.server-card {
  position: relative;
  min-height: 11rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .3s ease;
  padding: 1rem 1.25rem 2rem;
}
.server-card:hover { background: #2a2a2b; }
.server-bg { position: absolute; inset: 0; z-index: 0; }
.server-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1) brightness(1.1);
  transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}
.server-card:hover .server-bg img { opacity: 0.4; filter: grayscale(0); transform: scale(1.08); }
.server-top { position: relative; z-index: 1; display: flex; justify-content: space-between; }
.server-id { font-size: 1.188rem; font-weight: 200; display: flex; gap: 0.5rem; }
.server-copy { position: absolute; top: 1rem; right: 1.25rem; width: 1.75rem; height: 1.688rem; color: #4a4a4b; }
.server-name {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 2.5rem;
  font-size: 1.688rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.server-badge {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 1;
  background: var(--orange);
  color: #1d1d1e;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}
.server-online {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-right: 1rem;
  border-right: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
}
.server-online-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
}
.server-online-dot.off {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

/* ---------- CONTACT CENTER ---------- */
.contact { text-align: center; }
.contact .donate-title { text-align: center; }
.contact .donate-sub { margin-left: auto; margin-right: auto; }
.contact-form-wrap {
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
}
.contact .donate-fields { margin: 0 auto; }
.contacts { text-align: center; }
.contacts-cards { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-top: 2rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 1rem 1rem;
  border-right: 1px solid var(--line);
}
.contact-card:last-child { border-right: none; }
.contact-icon { width: 3.75rem; height: 3.75rem; color: var(--text); transition: color .3s ease, transform .6s ease; }
.contact-card:hover .contact-icon { color: var(--orange); transform: rotateY(360deg); }
.contact-icon svg { width: 100%; height: 100%; fill: currentColor; }
.contact-label { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-dim); transition: color .3s ease; }
.contact-card:hover .contact-label { color: var(--orange); }

/* ---------- DONATE ---------- */
.donate-title { font-size: clamp(2rem, 8vw, 7rem); font-weight: 900; text-transform: uppercase; line-height: 0.9; margin-top: 6rem; }
.donate-sub { font-size: 1rem; font-weight: 300; color: var(--text-dim); max-width: 40rem; margin: 1.5rem 0 3rem; }
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.donate-plan {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid var(--line);
  padding: 2rem;
  background: var(--panel);
}
.donate-plan.featured { border-color: var(--orange); box-shadow: 0 0 24px rgba(255,107,26,0.15); }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.plan-name { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.plan-price { font-size: 2rem; font-weight: 900; color: var(--orange); white-space: nowrap; }
.plan-list { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.25rem; font-size: 0.95rem; font-weight: 300; color: var(--text-dim); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 6px; height: 6px; background: var(--orange); }
.donate-plan .tile-full { height: 3.5rem; }
.donate-form { margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.donate-fields { display: flex; flex-direction: column; gap: 1.25rem; max-width: 34rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field span { font-size: 0.85rem; color: var(--text-dim); }
.field input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color .3s ease;
}
.field input:focus { border-color: var(--orange); }
.field textarea {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 0.875rem 1rem;
  outline: none;
  resize: vertical;
  transition: border-color .3s ease;
}
.field textarea:focus { border-color: var(--orange); }
.contact-result {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.4;
  display: none;
}
.contact-result.success { border-color: #4ade80; color: #4ade80; display: block; }
.contact-result.error { border-color: #ef4444; color: #ef4444; display: block; }
.donate-note { font-size: 0.82rem; color: var(--text-gray); line-height: 1.5; }
.donate-submit { height: 3.75rem; }

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  padding: 2.125rem 1.5rem;
}
.footer-inner {
  max-width: 122rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo img { height: 2rem; width: auto; }
.footer-legal { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-legal a { font-size: 0.75rem; color: var(--text-gray); transition: color .3s ease; }
.footer-legal a:hover { color: var(--orange); }

/* ---------- TOAST ---------- */
.toast-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 24rem;
}
.toast {
  max-width: 24rem;
  background: #fff;
  color: #1d1d1e;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: transform .35s ease, opacity .35s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { position: relative; top: 0; padding-top: 1rem; }
  .nav-right { width: auto; }
  .nav-main { gap: 0; }
  .nav-link { padding: 0.75rem 1rem; }
  .hero { padding-top: 3rem; }
  .hero-cols { grid-template-columns: 1fr; }
  .hero-count-col { border-bottom: none; padding: 1.5rem 0; }
  .hero-launch-row { grid-template-columns: 1fr; }
  .hero-socials { padding: 1.5rem 0; }
  .about-grid, .howto-grid { grid-template-columns: 1fr; }
  .about-photo img { height: 16rem; }
  .howto-two { grid-template-columns: 1fr; }
  .tile-choose { width: 100%; height: 6rem; }
  .contacts-cards { grid-template-columns: 1fr; }
  .contact-card { border-right: none; border-bottom: 1px solid var(--line); }
  .contact-card:last-child { border-bottom: none; }
}
@media (max-width: 520px) {
  .step-stores { flex-direction: column; border-left: none; border-top: 1px solid var(--line); }
  .tile-store { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .donate-grid { grid-template-columns: 1fr; }
}