:root {
  --bg: #070b12;
  --bg-soft: #0e1624;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --text: #f8fafc;
  --muted: #aeb9ca;
  --muted-dark: #475569;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ffb423;
  --accent-2: #ff6a2a;
  --green: #36d399;
  --blue: #38bdf8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 180, 35, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: relative;
  overflow: hidden;
  padding: 22px clamp(24px, 3vw, 56px) 130px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 260px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 180, 35, 0.35), transparent),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.08) 88px 90px);
  filter: blur(1px);
  opacity: 0.22;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
}

.navbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1b1201;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 16px 24px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 2.2rem;
  font-weight: 700;
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.nav-links .nav-cta {
  background: var(--text);
  color: #111827;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.95fr);
  gap: clamp(42px, 5vw, 82px);
  align-items: center;
  width: 100%;
  max-width: 1680px;
  margin: 90px auto 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1040px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 6.4vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.rules-list p,
.join-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-text {
  max-width: 880px;
  margin-bottom: 32px;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #201300;
  box-shadow: 0 14px 36px rgba(255, 145, 34, 0.28);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-ghost.dark {
  color: #111827;
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.08);
}

.button-small {
  min-height: 40px;
  border-color: rgba(15, 23, 42, 0.16);
  background: #111827;
  color: var(--text);
  cursor: pointer;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.hero-stats article,
.feature-card,
.feature-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats article {
  padding: 24px 28px;
  border-radius: 24px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.8rem, 2.3vw, 2.5rem);
}

.hero-stats span {
  color: var(--muted);
  font-size: 1rem;
}

.hero-image {
  margin: 0;
}

.hero-image img {
  display: block;
  width: 100%;
  height: min(38vw, 520px);
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.section {
  padding: 104px clamp(24px, 3vw, 56px);
  background: #f8fafc;
  color: #101827;
}

.section-dark {
  background:
    radial-gradient(circle at 16% 0, rgba(255, 180, 35, 0.1), transparent 26rem),
    var(--bg);
  color: var(--text);
}

.section-server {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 180, 35, 0.16), transparent 24rem),
    #eef2f7;
}

.section-team {
  background:
    radial-gradient(circle at 12% 20%, rgba(56, 189, 248, 0.12), transparent 26rem),
    #f8fafc;
}

.section-gallery {
  background:
    radial-gradient(circle at 20% 0, rgba(255, 180, 35, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.12), transparent 26rem),
    linear-gradient(180deg, #111827, #0b1120);
  color: var(--text);
}

.section-heading {
  max-width: 780px;
}

.section-heading.center {
  max-width: 920px;
  margin: 0 auto 50px;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  max-width: 1760px;
  margin: 0 auto;
}

#rules .split {
  display: block;
  max-width: 1500px;
}

#rules .section-heading {
  position: static;
  max-width: 980px;
  margin: 0 auto 54px;
  text-align: center;
}

#rules .section-heading h2 {
  font-size: clamp(3rem, 5vw, 5.8rem);
}

#rules .section-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted-dark);
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
}

.split.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.92fr);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1760px;
  margin: 0 auto;
}

.feature-card {
  min-height: 250px;
  padding: 36px;
  border-radius: 30px;
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.feature-card p {
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
  line-height: 1.55;
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 180, 35, 0.14);
  color: var(--accent);
  font-weight: 900;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  max-width: 1760px;
  margin: 0 auto;
}

.team-column {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.1);
}

.team-column-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.team-column-heading span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: #111827;
  color: var(--accent);
  font-weight: 900;
}

.team-column-heading h3 {
  margin-bottom: 0;
  color: #101827;
  font-size: clamp(1.7rem, 2.3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.staff-grid {
  display: grid;
  gap: 14px;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #f8fafc;
}

.owner-card {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 35, 0.18), transparent 12rem),
    #fff7e6;
}

.person-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1f1300;
  font-size: 1.35rem;
  font-weight: 900;
}

.person-card strong {
  display: block;
  color: #101827;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  line-height: 1;
}

.person-card p {
  margin: 8px 0 0;
  color: var(--muted-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.regular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.regular-card {
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #f8fafc;
  color: #101827;
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rules-list article {
  position: relative;
  display: flex;
  min-height: 250px;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 180, 35, 0.13), transparent 12rem),
    #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.rules-list article:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.rules-list article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
}

.rules-list span {
  display: grid;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #111827, #273449);
  color: var(--accent);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  font-size: 1.55rem;
  font-weight: 900;
}

.rules-list h3 {
  margin-bottom: 14px;
  color: #101827;
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.rules-list p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: clamp(1.12rem, 1.25vw, 1.35rem);
  line-height: 1.55;
}

.server-dashboard {
  display: grid;
  gap: 18px;
  max-width: 1760px;
  margin: 0 auto;
}

.server-main-card,
.server-footer-row {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.1);
}

.server-main-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-xl);
}

.server-main-card h3 {
  max-width: 980px;
  margin-bottom: 10px;
  color: #101827;
  font-size: clamp(2.4rem, 4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.server-main-card p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 1.3rem;
}

.server-online-value {
  display: block;
  margin-top: 8px;
  color: #101827;
  font-size: clamp(3rem, 6vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.server-status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 22px;
  color: var(--muted-dark);
}

.server-footer-row strong,
.server-footer-row span:last-child {
  color: #101827;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  max-width: 1760px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  min-height: clamp(220px, 20vw, 360px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 180, 35, 0.22), rgba(56, 189, 248, 0.14)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  isolation: isolate;
  transform: translateZ(0);
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card:nth-child(4),
.gallery-card:nth-child(9),
.gallery-card:nth-child(11) {
  grid-column: span 2;
}

.gallery-card::before,
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-card::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 46%);
  opacity: 0.72;
}

.gallery-card::after {
  z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(255, 180, 35, 0.24), transparent 18rem);
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition:
    filter 220ms ease,
    transform 320ms ease;
}

.gallery-card:hover::after {
  opacity: 1;
}

.gallery-card:hover img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.045);
}

.gallery-card.is-missing::before {
  background:
    linear-gradient(135deg, rgba(255, 180, 35, 0.2), rgba(56, 189, 248, 0.14)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.04) 18px 20px);
}

.gallery-card.is-missing img {
  opacity: 0;
}

body.viewer-open {
  overflow: hidden;
}

.screenshot-viewer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 46px);
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.screenshot-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.screenshot-viewer img {
  display: block;
  max-width: min(100%, 1500px);
  max-height: 88vh;
  border: 1px solid var(--line);
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.58);
  transform: scale(0.98);
  transition: transform 180ms ease;
}

.screenshot-viewer.is-open img {
  transform: scale(1);
}

.screenshot-viewer-close {
  position: fixed;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.screenshot-viewer-close:hover,
.screenshot-viewer-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.join-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 180, 35, 0.92), rgba(255, 106, 42, 0.86)),
    #ffb423;
  color: #1f1300;
  box-shadow: 0 28px 90px rgba(255, 145, 34, 0.32);
}

.join-card .eyebrow,
.join-card p {
  color: rgba(31, 19, 0, 0.74);
}

.join-card h2 {
  margin-bottom: 12px;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(24px, 3vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .team-layout,
  .split.reverse,
  #rules .split {
    grid-template-columns: 1fr;
  }

  #rules .section-heading {
    position: static;
  }

  .rules-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rules-list article:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .hero {
    max-width: 860px;
  }

  .hero-image img {
    height: 520px;
  }

  .feature-grid,
  .gallery,
  .regular-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 760px) {
  .site-header {
    padding-top: 16px;
  }

  .navbar {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 11, 18, 0.94);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero {
    margin-top: 56px;
  }

  .hero-stats,
  .feature-grid,
  .gallery,
  .regular-grid,
  .rules-list {
    grid-template-columns: 1fr;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(7),
  .gallery-card:nth-child(9),
  .gallery-card:nth-child(11) {
    grid-column: auto;
    grid-row: auto;
  }

  .server-main-card,
  .server-footer-row,
  .join-card,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-actions,
  .join-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 3.1rem;
  }

  .hero-image img {
    height: 360px;
  }

}
