:root {
  --bg: #0b0f14;
  --bg-soft: #111826;
  --ink: #a4a6a7;
  --muted: #8b9094;
  --accent: #ff7a18;
  --accent-2: #22d3ee;
  --card: rgba(9, 12, 18, 0.78);
  --outline: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1a2433 0%, #0b0f14 55%, #090c12 100%);
  color: var(--ink);
  line-height: 1.6;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 6rem 7vw 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 10, 16, 0.9) 0%, rgba(6, 10, 16, 0.35) 55%, rgba(6, 10, 16, 0.9) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 45%);
}

.hero-noise {
  position: absolute;
  inset: -15%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44IiBudW1PY3RhdmVzPSIyIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjEiLz48L3N2Zz4=");
  opacity: 0.25;
  filter: blur(22.5px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 2;
  justify-self: center;
}

.logo {
  width: clamp(420px, 60vw, 980px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

h1 {
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  margin: 0;
  letter-spacing: 0.04em;
  color: #f3f5f6;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--muted);
  margin: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  gap: 0.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn.patreon {
  background: #000000;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.discord {
  background: #5865f2;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.btn.soft {
  background: rgba(34, 211, 238, 0.12);
  color: #c8f6ff;
  border-color: rgba(34, 211, 238, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.server-pill {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 1.2rem;
  border-radius: 0;
  background: rgba(8, 12, 18, 0.85);
  border: 1px solid var(--outline);
  font-size: 0.95rem;
}

.server-pill .label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 7vw;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

.hero-bottom-left,
.hero-bottom-right {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  transform: translateX(-50%);
}

.hero-bottom-left {
  left: 25vw;
}

.hero-bottom-right {
  left: 75vw;
}

.hero-bottom-right .button-row {
  flex-wrap: nowrap;
  gap: 0.75rem;
  flex-direction: row;
  align-items: center;
}

.panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
  padding: 0 7vw;
}

.feature-full {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 4rem 7vw;
  background-image: url("https://assets.playrustcompany.com/Images/Custom_made_map_Image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.feature-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 30%, rgba(8, 12, 18, 0.25), rgba(8, 12, 18, 0.65));
  z-index: 0;
}

.feature-panel {
  position: relative;
  z-index: 1;
  max-width: 720px;
  background: rgba(160, 160, 160, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem 2.75rem;
  text-align: center;
}

.feature-panel h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  color: #f1f3f5;
}

.feature-panel p {
  margin: 0;
  color: #d5d7da;
}

.feature-panel p + p {
  margin-top: 1rem;
}

.panel.reverse {
  direction: rtl;
}

.panel.reverse .panel-content,
.panel.reverse .panel-media {
  direction: ltr;
}

.panel-content {
  background: var(--card);
  padding: 2rem;
  border-radius: 0;
  border: 1px solid var(--outline);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.panel-content h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
}

.panel-content p {
  margin: 0;
  color: var(--muted);
}

.panel-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid var(--outline);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta {
  padding: 0 7vw 4rem;
}

.cta-inner {
  padding: 3rem;
  background: linear-gradient(130deg, rgba(255, 122, 24, 0.14), rgba(34, 211, 238, 0.1));
  border-radius: 0;
  border: 1px solid var(--outline);
  text-align: center;
}

.cta-inner h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 2rem 7vw 3rem;
  color: var(--muted);
  border-top: 1px solid var(--outline);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

@media (max-width: 720px) {
  .hero {
    padding: 5rem 8vw 6rem;
  }

  .scroll-hint {
    left: 8vw;
  }

  .hero-bottom-left,
  .hero-bottom-right {
    position: static;
    margin-top: 1.2rem;
  }

  .hero-bottom-right .button-row {
    justify-content: flex-start;
  }

  .panel {
    padding: 0 8vw;
  }

  .cta-inner {
    padding: 2.2rem 1.6rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
