/* =============================================================================
   LUMEN NETWORK — Minecraft Community Template
   Soft dusk / IP-first — distinct from BlockCraft.
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --bg: #0b0f18;
  --bg-2: #101826;
  --bg-3: #162033;
  --text: #eef2f8;
  --text-2: #9aa8bf;
  --text-3: #66768f;
  --accent: #6ec8ff;
  --accent-warm: #f0b45a;
  --online: #6fdc8c;
  --border: rgba(238, 242, 248, 0.1);
  --border-strong: rgba(110, 200, 255, 0.35);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --header-h: 70px;
  --container: 1140px;
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #9adcff; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
ul { list-style: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #0b0f18;
  font-weight: 700;
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.demo-banner {
  position: relative;
  z-index: 300;
  background: #121a28;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-2);
}
.demo-banner a { font-weight: 700; margin-left: 0.35rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(11, 15, 24, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.logo strong {
  font-family: var(--display);
  font-size: 1.35rem;
}
.logo span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  display: block;
  padding: 0.45rem 0.8rem;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(110, 200, 255, 0.1);
}
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; flex-direction: column; }
  .nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    inset: var(--header-h) 0 0 0;
    background: rgba(11, 15, 24, 0.98);
    padding: 1.25rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 0.95rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav-actions { flex-direction: column; margin-top: 1rem; }
  .nav-actions .btn { width: 100%; }
}
body.nav-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #0b0f18;
}
.btn--primary:hover { background: #9adcff; color: #0b0f18; }
.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn--warm {
  background: var(--accent-warm);
  color: #1a1208;
}
.btn--warm:hover { background: #f7c678; color: #1a1208; }
.btn--lg { padding: 1rem 1.6rem; font-size: 0.95rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero — centered IP billboard */
.hero {
  position: relative;
  min-height: min(84vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.75);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(110, 200, 255, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(11, 15, 24, 0.55) 0%, rgba(11, 15, 24, 0.92) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(111, 220, 140, 0.12);
  border: 1px solid rgba(111, 220, 140, 0.3);
  color: var(--online);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 rgba(111, 220, 140, 0.5);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(111, 220, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 220, 140, 0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  max-width: 14ch;
  margin-bottom: 0.85rem;
}
.hero-lead {
  max-width: 34rem;
  color: var(--text-2);
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
}

.ip-billboard {
  width: min(100%, 560px);
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background: rgba(16, 24, 38, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.ip-billboard__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.45rem;
}
.ip-billboard__ip {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.85rem;
  word-break: break-all;
}
.ip-billboard__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.ip-billboard__meta strong { color: var(--text); }
.hero .btn-group { justify-content: center; }

.section { padding: 4.25rem 0; }
.section--soft {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.section-header {
  margin-bottom: 2rem;
  max-width: 38rem;
}
.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.55rem;
}
.section-header p { color: var(--text-2); }

/* Mode cards */
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mode-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.mode-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(11, 15, 24, 0.92));
}
.mode-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.mode-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.mode-card p {
  color: var(--text-2);
  font-size: 0.92rem;
}
@media (max-width: 800px) { .modes { grid-template-columns: 1fr; } }

/* Vote strip */
.vote-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 180, 90, 0.12), rgba(110, 200, 255, 0.08)),
    var(--bg-3);
  border: 1px solid rgba(240, 180, 90, 0.28);
}
.vote-strip h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.vote-strip p { color: var(--text-2); }
.vote-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .vote-strip { grid-template-columns: 1fr; text-align: center; }
  .vote-strip__actions { justify-content: center; }
}

/* Feature list soft */
.soft-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.soft-feature {
  padding: 1.35rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.soft-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.soft-feature p {
  color: var(--text-2);
  font-size: 0.92rem;
}
@media (max-width: 900px) { .soft-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .soft-features { grid-template-columns: 1fr; } }

/* Showcase split */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}
.showcase__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
}
.showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.showcase__copy {
  padding: 2rem 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase__copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.7rem;
}
.showcase__copy p {
  color: var(--text-2);
  margin-bottom: 1.25rem;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.35rem; }
.chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(110, 200, 255, 0.1);
  border: 1px solid var(--border-strong);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
@media (max-width: 800px) { .showcase { grid-template-columns: 1fr; } }

/* Page hero */
.page-hero {
  position: relative;
  padding: 4.75rem 0 3.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 24, 0.92), rgba(11, 15, 24, 0.7));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 0.65rem;
}
.page-hero p { max-width: 36rem; color: var(--text-2); }

.content-list { max-width: 760px; }
.content-item {
  padding: 1.35rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.content-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.content-item p { color: var(--text-2); }

.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.roster__card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.roster__mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3d7db8);
  color: #0b0f18;
  font-weight: 800;
  font-size: 0.95rem;
}
.roster__name {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.roster__role {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 760px) { .roster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .roster { grid-template-columns: 1fr; } }

.cta {
  text-align: center;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(110, 200, 255, 0.14), transparent 55%),
    var(--bg);
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.65rem;
}
.cta p {
  color: var(--text-2);
  max-width: 32rem;
  margin: 0 auto 1.6rem;
}
.cta .btn-group { justify-content: center; }

.site-footer {
  padding: 3rem 0 1.5rem;
  background: #080c14;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid > div > p {
  margin-top: 0.75rem;
  color: var(--text-3);
  font-size: 0.92rem;
  max-width: 22rem;
}
.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-credit {
  flex: 1 1 100%;
  margin: 0.5rem 0 0;
  text-align: center;
}
.footer-credit a {
  color: var(--text-3);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-credit a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { min-height: auto; }
}
