:root {
  --hx-navy-900: #0f1828;
  --hx-navy-800: #16233a;
  --hx-navy-700: #22395b;
  --hx-line: #334d72;
  --hx-sky: #7ec7ff;
  --hx-gold: #f5b43d;
  --hx-gold-strong: #e9991d;
  --hx-text: #eaf3ff;
  --hx-muted: #afc2db;
  --hx-card: rgba(22, 35, 58, 0.9);
  --hx-shadow: rgba(6, 12, 25, 0.45);
  --hx-discord: #5865f2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 90%;
}

body,
button,
input,
textarea,
select {
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-label,
.section-title,
.brand-copy strong,
.brand-copy small,
.server-title,
.server-ip,
.stat-card span,
.stat-card strong,
.season-two-card span,
.live-pill {
  font-family: "Minecraftia", monospace;
  letter-spacing: 0.02em;
}

body {
  color: var(--hx-text);
  background: var(--hx-navy-900);
  overflow-x: hidden;
  font-size: 1.28rem;
  line-height: 1.32;
}

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.bg-image {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat url("bg.jpg");
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.05);
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.05);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(126, 199, 255, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(7, 14, 23, 0.22), rgba(7, 14, 23, 0.92));
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(12, 20, 34, 0.92);
  border-bottom: 1px solid var(--hx-line);
}

.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--hx-gold), #ffd879, var(--hx-gold));
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--hx-text);
  min-width: 0;
}

.brand-logo,
.server-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px var(--hx-shadow);
  flex-shrink: 0;
}

.brand-copy strong {
  display: block;
  font-size: 1.82rem;
  line-height: 1;
}

.brand-copy small {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hx-sky);
}

.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--hx-navy-700);
  color: var(--hx-text);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  min-height: 42px;
  font-size: 1.15rem;
  cursor: pointer;
}

.nav-links {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 76px;
  display: grid;
  gap: 0.42rem;
  list-style: none;
  padding: 0.6rem;
  margin: 0;
  background: rgba(11, 19, 33, 0.98);
  border: 1px solid var(--hx-line);
  border-radius: 12px;
  transform: scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-links.open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--hx-text);
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  font-size: 1.25rem;
}

.nav-links a:hover {
  background: rgba(126, 199, 255, 0.14);
  color: #ffffff;
}

.section {
  padding: 1.4rem 0;
}

.hero,
.page-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
}

.hero-inner {
  padding: 0.4rem 0 1.3rem;
}

.hero-label {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hx-sky);
}

.hero h1,
.page-hero h1 {
  margin: 0.55rem 0 0.78rem;
  font-size: clamp(2.7rem, 10vw, 5rem);
  line-height: 1.02;
  text-shadow: 0 10px 26px rgba(5, 10, 18, 0.6);
}

.hero-text,
.hero-sub-detail {
  margin: 0;
  max-width: 760px;
  color: var(--hx-muted);
  font-size: 1.38rem;
}

.hero-text,
.hero-sub-detail,
.server-meta,
.feature-card p,
.mode-card p,
.community-box p,
.event-card p,
.discord-box p {
  line-height: 1.4;
}

.hero-sub-detail {
  margin-top: 0.35rem;
  color: #ffd995;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-gold {
  color: #1a1310;
  background: linear-gradient(180deg, #ffd06d, var(--hx-gold-strong));
  border: 1px solid #f4cb72;
  box-shadow: 0 10px 22px rgba(245, 180, 61, 0.36);
}

.btn-dark {
  color: var(--hx-text);
  background: rgba(17, 28, 45, 0.88);
  border: 1px solid rgba(126, 199, 255, 0.45);
}

.btn-discord {
  color: #ffffff;
  background: linear-gradient(180deg, #7b86ff, var(--hx-discord));
  border: 1px solid #9ca6ff;
}

.server-banner {
  margin-top: 1rem;
  background: var(--hx-card);
  border: 1px solid var(--hx-line);
  border-radius: 14px;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.82rem;
  align-items: center;
  box-shadow: 0 14px 34px var(--hx-shadow);
}

.server-copy {
  min-width: 0;
}

.server-title {
  margin: 0;
  color: var(--hx-sky);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.server-ip {
  margin: 0.16rem 0 0.2rem;
  font-size: 2rem;
  word-break: break-word;
}

.server-meta {
  margin: 0;
  color: var(--hx-muted);
  font-size: 1.2rem;
}

.live-pill {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.1rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(86, 183, 124, 0.19);
  border: 1px solid rgba(123, 228, 158, 0.6);
  color: #b8ffc9;
  font-size: 1rem;
}

.stats-section {
  padding-top: 0;
}

.stat-grid,
.feature-grid,
.mode-grid,
.season-two-grid,
.event-grid {
  display: grid;
  gap: 0.74rem;
}

.stat-card,
.feature-card,
.mode-card,
.season-two-card,
.community-box,
.event-card,
.discord-box {
  background: var(--hx-card);
  border: 1px solid var(--hx-line);
  border-radius: 14px;
  padding: 0.95rem;
  box-shadow: 0 10px 26px var(--hx-shadow);
}

.stat-card span {
  display: block;
  color: var(--hx-sky);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.7rem;
}

.section-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 7.5vw, 3.4rem);
}

.feature-card h3,
.mode-card h3,
.event-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
}

.feature-card p,
.mode-card p,
.season-two-card p,
.community-box p,
.event-card p,
.discord-box p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 1.25rem;
}

.mode-card-highlight {
  border-color: rgba(245, 180, 61, 0.9);
  background: linear-gradient(
    155deg,
    rgba(245, 180, 61, 0.2),
    rgba(22, 35, 58, 0.95) 44%,
    rgba(22, 35, 58, 0.9)
  );
  box-shadow: 0 0 0 1px rgba(245, 180, 61, 0.22), 0 10px 26px var(--hx-shadow);
}

.mode-card-highlight h3 {
  color: #ffe59e;
}

.mode-card-highlight p {
  color: var(--hx-text);
}

.season-two {
  padding-top: 0.5rem;
}

.season-two-intro {
  margin: 0 0 0.8rem;
  max-width: 820px;
  color: var(--hx-muted);
  font-size: 1.3rem;
  line-height: 1.4;
}

.season-two-card span {
  display: block;
  color: var(--hx-gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.season-two-card h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.7rem;
}

.community-preview,
.community {
  padding-bottom: 2.1rem;
}

.community-box h2,
.discord-box h2 {
  margin: 0 0 0.42rem;
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.site-footer {
  border-top: 1px solid var(--hx-line);
  background: rgba(11, 19, 33, 0.9);
}

.site-footer p {
  margin: 0;
  padding: 1rem 0;
  color: var(--hx-muted);
  text-align: center;
  font-size: 1.2rem;
}

@media (min-width: 860px) {
  .container {
    width: min(1120px, 100% - 3.4rem);
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: none;
    background: transparent;
    padding: 0;
  }

  .nav-links a {
    padding: 0.48rem 0.72rem;
  }

  .section {
    padding: 2.1rem 0;
  }

  .hero,
  .page-hero {
    min-height: calc(100vh - 84px);
  }

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

  .live-pill {
    grid-column: auto;
    justify-self: end;
    margin-top: 0;
  }

  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-card-highlight {
    grid-column: span 2;
  }

  .season-two-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-box,
  .discord-box {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}




