/* =========================================================
   VEDRANT MC
   OCEAN PREMIUM INTERFACE
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");


/* =========================================================
   ROOT
========================================================= */

:root {
  --bg: #061019;
  --bg-soft: #081620;
  --panel: rgba(10, 29, 42, 0.72);
  --panel-solid: #0a1b27;
  --panel-light: #0d2331;

  --blue: #4f8eaa;
  --blue-light: #79afc5;
  --blue-muted: #2f6178;
  --blue-dark: #15394a;

  --text: #edf7fa;
  --text-soft: #9eb3bd;
  --text-muted: #627984;

  --border: rgba(145, 196, 216, 0.12);
  --border-hover: rgba(121, 175, 197, 0.34);

  --success: #78bda2;
  --danger: #d07878;
  --warning: #c9aa70;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --header-height: 82px;

  --font-main: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: none;
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--blue);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-muted);
  border-radius: 20px;
}


/* =========================================================
   BACKGROUND
========================================================= */

.site-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -10;
  overflow: hidden;
}

.ocean-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
}

.glow-one {
  top: -260px;
  right: -170px;
  background: #4b91ad;
}

.glow-two {
  bottom: -330px;
  left: -260px;
  background: #1c617d;
}

.grid-overlay {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);

  background-size: 55px 55px;

  mask-image:
    linear-gradient(to bottom, black, transparent 90%);
}


/* =========================================================
   LOADING
========================================================= */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #050d14;

  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  width: min(360px, calc(100% - 50px));
  text-align: center;
}

.loading-logo-wrap {
  width: 105px;
  height: 105px;
  margin: 0 auto 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.loading-logo-wrap::before,
.loading-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;

  border: 1px solid rgba(121, 175, 197, 0.18);
  border-radius: 50%;

  animation: loadingOrbit 5s linear infinite;
}

.loading-logo-wrap::after {
  inset: -22px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 8s;
}

.loading-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;

  filter:
    drop-shadow(0 0 25px rgba(79, 142, 170, 0.28));
}

.loading-eyebrow {
  display: block;

  color: var(--blue-light);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4px;

  margin-bottom: 10px;
}

.loading-content h1 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -1px;
}

.loading-content p {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 8px;
}

.loading-track {
  height: 2px;
  margin-top: 35px;

  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.loading-track span {
  display: block;
  width: 0;
  height: 100%;

  background: var(--blue-light);
  transition: width 0.2s ease;
}

.loading-meta {
  margin-top: 10px;

  display: flex;
  justify-content: space-between;

  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes loadingOrbit {
  to {
    transform: rotate(360deg);
  }
}


/* =========================================================
   PAGE TRANSITION
========================================================= */

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 2px;
  z-index: 9000;

  pointer-events: none;
}

.page-transition span {
  display: block;
  height: 100%;
  width: 0;

  background: var(--blue-light);

  box-shadow:
    0 0 15px rgba(121, 175, 197, 0.65);
}

.page-transition.active span {
  animation: transitionLine 0.6s ease;
}

@keyframes transitionLine {
  0% {
    width: 0;
    margin-left: 0;
  }

  60% {
    width: 100%;
    margin-left: 0;
  }

  100% {
    width: 0;
    margin-left: 100%;
  }
}


/* =========================================================
   LAYOUT
========================================================= */

.section-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.main-content {
  padding-top: var(--header-height);
}

.page {
  display: none;
  min-height: 80vh;
}

.page.active {
  display: block;
  animation: pageEnter 0.55s ease;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* =================================
   REMOVE BLUE TAP HIGHLIGHT MOBILE
================================= */

* {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  height: var(--header-height);

  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  background: rgba(6, 16, 25, 0.74);
  backdrop-filter: blur(20px);

  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  background: none;

  display: flex;
  align-items: center;
  gap: 13px;

  text-align: left;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand div {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
}

.brand span {
  margin-top: 3px;

  color: var(--text-muted);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 11px 14px;

  background: transparent;
  color: var(--text-muted);

  border-radius: 8px;

  font-size: 11px;
  font-weight: 700;

  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(121, 175, 197, 0.07);
}

.nav-link.active {
  box-shadow:
    inset 0 -1px 0 var(--blue-light);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 112px;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--warning);

  box-shadow:
    0 0 12px rgba(201, 170, 112, 0.6);
}

.status-dot.online {
  background: var(--success);

  box-shadow:
    0 0 12px rgba(120, 189, 162, 0.6);
}

.status-dot.offline {
  background: var(--danger);

  box-shadow:
    0 0 12px rgba(208, 120, 120, 0.6);
}

.header-status div {
  display: flex;
  flex-direction: column;
}

.header-status small {
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.header-status strong {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 1px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: calc(100vh - var(--header-height));

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;

  gap: 70px;
  padding-block: 80px;
}

.hero-badge {
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 9px 13px;

  border: 1px solid var(--border);
  border-radius: 100px;

  background: rgba(121, 175, 197, 0.04);

  color: var(--blue-light);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;

  background: var(--success);
  border-radius: 50%;

  box-shadow:
    0 0 0 0 rgba(120, 189, 162, 0.5);

  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow:
      0 0 0 8px rgba(120, 189, 162, 0);
  }
}

.hero-copy h1 {
  margin-top: 28px;

  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: -5px;
}

.hero-copy h1 span {
  display: block;
  color: var(--blue);
}

.hero-copy p {
  max-width: 590px;

  margin-top: 28px;

  color: var(--text-soft);

  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 35px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-button,
.secondary-button {
  min-height: 51px;
  padding: 0 21px;

  border-radius: 10px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;

  transition:
    transform 0.25s ease,
    border 0.25s ease,
    background 0.25s ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;

  background: var(--blue);
  color: #fff;

  box-shadow:
    0 15px 35px rgba(31, 81, 103, 0.22);
}

.primary-button:hover {
  transform: translateY(-3px);
  background: #5b99b3;
}

.secondary-button {
  background: transparent;
  color: var(--text-soft);

  border: 1px solid var(--border);
}

.secondary-button:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  color: var(--text);
}

.hero-mini-info {
  margin-top: 40px;

  display: flex;
  align-items: center;
  gap: 25px;
}

.hero-mini-info > span {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.hero-mini-info div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-mini-info small {
  color: var(--text-muted);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-mini-info strong {
  font-size: 11px;
}


/* =========================================================
   SERVER MONITOR
========================================================= */

.server-monitor {
  padding: 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(14, 38, 53, 0.78),
      rgba(6, 18, 27, 0.88)
    );

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.25);

  position: relative;
  overflow: hidden;
}

.server-monitor::before {
  content: "";

  position: absolute;
  width: 300px;
  height: 300px;

  top: -170px;
  right: -100px;

  background: var(--blue);
  filter: blur(100px);
  opacity: 0.12;
}

.monitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.monitor-header div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.monitor-header span {
  color: var(--text-muted);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.monitor-header h3 {
  font-family: var(--font-display);
  font-size: 17px;
}

.server-badge {
  padding: 8px 11px;

  border-radius: 100px;

  font-size: 8px !important;
  letter-spacing: 1px !important;
}

.server-badge.checking {
  background: rgba(201, 170, 112, 0.08);
  color: var(--warning);
}

.server-badge.online {
  background: rgba(120, 189, 162, 0.08);
  color: var(--success);
}

.server-badge.offline {
  background: rgba(208, 120, 120, 0.08);
  color: var(--danger);
}

.monitor-core {
  min-height: 310px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.server-orbit {
  width: 145px;
  height: 145px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;

  border-radius: 50%;
  border: 1px solid rgba(121, 175, 197, 0.15);
}

.orbit-one {
  inset: 0;
  border-style: dashed;
  animation: orbitSpin 18s linear infinite;
}

.orbit-two {
  inset: 15px;
  animation: orbitSpin 12s linear infinite reverse;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.server-logo-core {
  width: 88px;
  height: 88px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 25px;

  background: rgba(121, 175, 197, 0.06);
  border: 1px solid var(--border);

  box-shadow:
    0 0 45px rgba(79, 142, 170, 0.15);
}

.server-logo-core img {
  width: 67px;
  height: 67px;
  object-fit: contain;
}

.player-count {
  margin-top: 25px;
  text-align: center;
}

.player-count > span {
  color: var(--text-muted);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.player-count strong {
  margin-top: 5px;

  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;

  font-family: var(--font-display);
  font-size: 34px;
}

.player-count strong small {
  color: var(--text-muted);
  font-size: 15px;
}

.player-count p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 10px;
}

.server-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.address-card {
  min-width: 0;

  padding: 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255,255,255,0.025);

  border: 1px solid var(--border);
  border-radius: 11px;

  text-align: left;

  transition: 0.25s ease;
}

.address-card:hover {
  border-color: var(--border-hover);
  background: rgba(121, 175, 197, 0.05);
}

.address-card span {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.address-card small {
  color: var(--text-muted);

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.address-card strong {
  max-width: 150px;

  overflow: hidden;
  text-overflow: ellipsis;

  font-size: 9px;
  white-space: nowrap;
}

.address-card b {
  color: var(--blue-light);

  font-size: 8px;
  letter-spacing: 1px;
}


/* =========================================================
   SECTIONS
========================================================= */

.content-section {
  padding-block: 100px;
}

.section-heading {
  margin-bottom: 45px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;
}

.section-heading div > span {
  color: var(--blue-light);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading h2 {
  margin-top: 9px;

  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -2px;
}

.section-heading > p {
  max-width: 330px;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.large-about-card {
  min-height: 480px;
  padding: 45px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(79, 142, 170, 0.14),
      transparent 40%
    ),
    var(--panel);

  position: relative;
  overflow: hidden;
}

.card-number {
  position: absolute;
  top: 35px;
  left: 40px;

  color: var(--text-muted);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.large-about-card h3 {
  max-width: 550px;

  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -3px;
}

.large-about-card h3 span {
  display: block;
  color: var(--blue);
}

.large-about-card p {
  max-width: 570px;

  margin-top: 24px;

  color: var(--text-soft);

  font-size: 12px;
  line-height: 1.8;
}

.large-about-card button {
  width: fit-content;

  margin-top: 30px;
  padding: 0;

  background: transparent;
  color: var(--blue-light);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.feature-stack {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 30px;

  display: flex;
  gap: 24px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--panel);

  transition: 0.3s ease;
}

.feature-card:hover {
  transform: translateX(5px);
  border-color: var(--border-hover);
}

.feature-card > span {
  color: var(--blue-light);

  font-family: var(--font-display);
  font-size: 12px;
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
}

.feature-card p {
  margin-top: 9px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.7;
}


/* =========================================================
   QUICK JOIN
========================================================= */

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.join-card {
  padding: 35px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--panel);
}

.join-card.featured {
  background:
    linear-gradient(
      145deg,
      rgba(25, 65, 83, 0.45),
      rgba(8, 24, 35, 0.75)
    );
}

.join-top {
  display: flex;
  justify-content: space-between;

  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.join-top b {
  color: var(--text-muted);
}

.join-card h3 {
  margin-top: 50px;

  font-family: var(--font-display);
  font-size: 28px;
}

.join-card > p {
  max-width: 440px;

  margin-top: 14px;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.8;
}

.join-address {
  margin-top: 35px;
  padding: 17px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255,255,255,0.025);

  border: 1px solid var(--border);
  border-radius: 10px;
}

.join-address span {
  font-size: 11px;
  font-weight: 700;
}

.join-address button {
  background: transparent;
  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.bedrock-data {
  margin-top: 30px;

  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 10px;
}

.bedrock-data div {
  padding: 15px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: rgba(255,255,255,0.025);
}

.bedrock-data small {
  color: var(--text-muted);

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.bedrock-data strong {
  font-size: 10px;
}

.full-copy-button {
  width: 100%;
  min-height: 45px;

  margin-top: 10px;

  background: var(--blue-muted);
  color: #fff;

  border-radius: 9px;

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}


/* =========================================================
   MEDIA
========================================================= */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.media-card {
  padding: 28px;

  display: flex;
  align-items: center;
  gap: 20px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--panel);

  transition: 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.media-card > span {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(121, 175, 197, 0.07);

  border: 1px solid var(--border);
  border-radius: 14px;

  color: var(--blue-light);

  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.media-card div {
  flex: 1;
}

.media-card small {
  color: var(--text-muted);

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.media-card h3 {
  margin-top: 5px;

  font-family: var(--font-display);
  font-size: 16px;
}

.media-card > b {
  color: var(--blue-light);
}


/* =========================================================
   FAQ
========================================================= */

.faq-container {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  min-height: 84px;

  display: flex;
  align-items: center;

  background: transparent;
  text-align: left;
}

.faq-number {
  width: 65px;

  color: var(--text-muted);

  font-size: 9px;
  font-weight: 700;
}

.faq-question strong {
  flex: 1;

  font-family: var(--font-display);
  font-size: 15px;
}

.faq-plus {
  color: var(--blue-light);
  font-size: 23px;

  transition: transform 0.3s ease;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.faq-answer p {
  max-width: 800px;

  padding:
    0 60px 0 65px;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.9;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 30px;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
  padding-top: 100px;
  padding-bottom: 70px;
}

.page-hero > span {
  color: var(--blue-light);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.page-hero h1 {
  margin-top: 15px;

  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.9;
  letter-spacing: -6px;
}

.page-hero h1 b {
  color: var(--blue);
}

.page-hero p {
  max-width: 520px;

  margin-top: 28px;

  color: var(--text-muted);

  font-size: 13px;
  line-height: 1.8;
}


/* =========================================================
   CATEGORY
========================================================= */

.category-tabs {
  display: flex;
  gap: 7px;

  margin-bottom: 35px;
  padding-bottom: 15px;

  border-bottom: 1px solid var(--border);

  overflow-x: auto;
}

.category-button {
  min-width: max-content;

  padding: 11px 18px;

  background: transparent;
  color: var(--text-muted);

  border: 1px solid transparent;
  border-radius: 8px;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;

  transition: 0.25s ease;
}

.category-button.active {
  background: rgba(121, 175, 197, 0.08);
  color: var(--blue-light);

  border-color: var(--border);
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
  padding-bottom: 100px;
}

.product-card {
  min-height: 420px;
  padding: 27px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      160deg,
      rgba(13, 35, 49, 0.76),
      rgba(7, 20, 29, 0.85)
    );

  position: relative;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    border 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.product-card::before {
  content: "";

  position: absolute;

  width: 160px;
  height: 160px;

  top: -90px;
  right: -80px;

  background: var(--blue);
  filter: blur(75px);
  opacity: 0.08;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-type {
  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.product-badge {
  padding: 6px 8px;

  background: rgba(121, 175, 197, 0.07);
  color: var(--text-soft);

  border: 1px solid var(--border);
  border-radius: 100px;

  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}

.product-tier {
  margin-top: 35px;

  color: var(--text-muted);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.product-card h3 {
  margin-top: 8px;

  font-family: var(--font-display);
  font-size: 29px;
  letter-spacing: -1px;
}

.product-description {
  min-height: 56px;

  margin-top: 12px;

  color: var(--text-muted);

  font-size: 10px;
  line-height: 1.7;
}

.product-features {
  margin-top: 25px;

  display: grid;
  gap: 10px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text-soft);
  font-size: 9px;
}

.product-feature span {
  color: var(--blue-light);
}

.more-features {
  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.product-bottom {
  margin-top: auto;
  padding-top: 28px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-price small {
  color: var(--text-muted);

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-price strong {
  font-family: var(--font-display);
  font-size: 19px;
}

.view-product {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(121, 175, 197, 0.08);

  border: 1px solid var(--border);
  border-radius: 12px;

  color: var(--blue-light);

  font-size: 15px;

  transition: 0.25s ease;
}

.view-product:hover {
  background: var(--blue);
  color: #fff;
}


/* =========================================================
   SUPPORT
========================================================= */

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.support-card {
  min-height: 390px;
  padding: 30px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: var(--panel);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  text-align: left;

  transition: 0.3s ease;
}

.support-card.featured {
  background:
    linear-gradient(
      150deg,
      rgba(27, 70, 89, 0.48),
      rgba(8, 25, 36, 0.78)
    );
}

.support-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.support-index {
  align-self: flex-end;

  color: var(--text-muted);

  font-size: 9px;
  font-weight: 700;
}

.support-icon {
  width: 62px;
  height: 62px;

  margin-top: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(121, 175, 197, 0.07);
  color: var(--blue-light);

  border: 1px solid var(--border);
  border-radius: 18px;

  font-family: var(--font-display);
  font-size: 11px;
}

.support-card h3 {
  margin-top: 30px;

  font-family: var(--font-display);
  font-size: 22px;
}

.support-card p {
  margin-top: 13px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.8;
}

.support-card b {
  margin-top: auto;

  color: var(--blue-light);

  font-size: 8px;
  letter-spacing: 1px;
}

.support-notice {
  margin-block: 30px 100px;
  padding: 22px 25px;

  display: flex;
  align-items: center;
  gap: 25px;

  border: 1px solid rgba(201, 170, 112, 0.15);
  border-radius: 13px;

  background: rgba(201, 170, 112, 0.035);
}

.support-notice span {
  color: var(--warning);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.support-notice p {
  color: var(--text-muted);

  font-size: 10px;
  line-height: 1.6;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);

  gap: 14px;
  padding-bottom: 100px;
}

.gallery-item {
  min-height: 280px;

  grid-column: span 4;

  position: relative;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--panel);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;

  position: absolute;
  inset: 0;

  object-fit: cover;

  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.gallery-overlay {
  position: absolute;
  inset: 0;

  padding: 25px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  background:
    linear-gradient(
      to top,
      rgba(4, 13, 20, 0.8),
      transparent 55%
    );

  opacity: 0;

  transition: 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--text-soft);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.gallery-overlay b {
  color: var(--blue-light);
}


/* =========================================================
   PLAYER STATUS
========================================================= */

.player-filter-wrap {
  margin-bottom: 30px;
}

.player-filter-wrap input {
  width: 100%;
  min-height: 58px;

  padding: 0 20px;

  outline: none;

  background: var(--panel);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 13px;

  font-size: 11px;

  transition: border 0.25s ease;
}

.player-filter-wrap input:focus {
  border-color: var(--border-hover);
}

.player-filter-wrap input::placeholder {
  color: var(--text-muted);
}

.player-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 14px;
  padding-bottom: 100px;
}

.player-card {
  min-height: 285px;
  padding: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--panel);

  text-align: center;

  transition: 0.3s ease;
}

.player-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.player-head {
  width: 88px;
  height: 88px;

  padding: 8px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: rgba(121, 175, 197, 0.05);
}

.player-head img {
  width: 100%;
  height: 100%;

  border-radius: 15px;

  image-rendering: pixelated;
}

.player-role {
  margin-top: 22px;

  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.player-card h3 {
  margin-top: 7px;

  font-family: var(--font-display);
  font-size: 17px;
}

.player-card p {
  margin-top: 8px;

  color: var(--text-muted);

  font-size: 9px;
}

.empty-state {
  grid-column: 1 / -1;

  padding: 70px 20px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  color: var(--text-muted);

  text-align: center;
  font-size: 11px;
}


/* =========================================================
   RULES
========================================================= */

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.rule-card {
  padding: 27px;

  display: flex;
  gap: 22px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--panel);
}

.rule-number {
  color: var(--blue-light);

  font-family: var(--font-display);
  font-size: 11px;
}

.rule-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
}

.rule-card p {
  margin-top: 9px;

  color: var(--text-muted);

  font-size: 10px;
  line-height: 1.8;
}

.rules-footer {
  margin-block: 50px 100px;
  padding: 60px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(79, 142, 170, 0.15),
      transparent 35%
    ),
    var(--panel);
}

.rules-footer > span {
  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.rules-footer h3 {
  margin-top: 20px;

  font-family: var(--font-display);
  font-size: clamp(35px, 6vw, 70px);
  line-height: 0.95;
  letter-spacing: -4px;
}

.rules-footer h3 b {
  display: block;
  color: var(--blue);
}

.rules-footer p {
  max-width: 600px;

  margin-top: 25px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.8;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
  position: fixed;
  inset: 0;

  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(2, 8, 12, 0.78);
  backdrop-filter: blur(10px);
}

.modal-panel {
  width: min(520px, 100%);
  max-height: calc(100vh - 50px);

  padding: 35px;

  position: relative;
  z-index: 1;

  overflow-y: auto;

  background: #091923;

  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);

  box-shadow:
    0 40px 100px rgba(0,0,0,0.45);

  transform:
    translateY(25px)
    scale(0.97);

  transition: transform 0.35s ease;
}

.modal.active .modal-panel {
  transform:
    translateY(0)
    scale(1);
}

.modal-close {
  width: 36px;
  height: 36px;

  position: absolute;
  top: 20px;
  right: 20px;

  background: rgba(255,255,255,0.04);
  color: var(--text-muted);

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 20px;
}

.modal-eyebrow {
  color: var(--blue-light);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.modal-panel h2 {
  margin-top: 12px;
  padding-right: 45px;

  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -1px;
}

.modal-panel > p {
  margin-top: 13px;

  color: var(--text-muted);

  font-size: 11px;
  line-height: 1.8;
}

.modal-features {
  margin-top: 25px;

  display: grid;
  gap: 10px;
}

.modal-feature {
  padding: 13px 15px;

  display: flex;
  align-items: center;
  gap: 12px;

  border: 1px solid var(--border);
  border-radius: 9px;

  color: var(--text-soft);

  font-size: 10px;
}

.modal-feature span {
  color: var(--blue-light);
}

.modal-price-row {
  margin-top: 28px;
  padding-top: 25px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  border-top: 1px solid var(--border);
}

.modal-price-row span {
  color: var(--text-muted);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.modal-price-row strong {
  font-family: var(--font-display);
  font-size: 23px;
}

.full-button {
  width: 100%;
  margin-top: 25px;
}


/* =========================================================
   FORMS
========================================================= */

.form-panel {
  width: min(560px, 100%);
}

.form-panel form {
  margin-top: 30px;
}

.form-field {
  display: block;
  margin-bottom: 17px;
}

.form-field > span {
  display: block;

  margin-bottom: 8px;

  color: var(--text-muted);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;

  outline: none;

  background: rgba(255,255,255,0.025);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 11px;

  transition: 0.25s ease;
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 125px;
  padding: 15px;

  resize: vertical;
  line-height: 1.7;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--border-hover);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #506570;
}

.form-field select option {
  background: var(--panel-solid);
}

.readonly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.readonly-grid div {
  padding: 15px;

  display: flex;
  flex-direction: column;
  gap: 7px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: rgba(255,255,255,0.025);
}

.readonly-grid .wide {
  grid-column: 1 / -1;
}

.readonly-grid span {
  color: var(--text-muted);

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.readonly-grid strong {
  font-size: 11px;
}


/* =========================================================
   GALLERY MODAL
========================================================= */

.gallery-modal {
  padding: 60px;
}

.gallery-modal img {
  max-width: 100%;
  max-height: calc(100vh - 100px);

  position: relative;
  z-index: 1;

  object-fit: contain;

  border-radius: var(--radius);
}

.gallery-close {
  width: 42px;
  height: 42px;

  position: fixed;
  top: 25px;
  right: 25px;

  z-index: 2;

  background: var(--panel-solid);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 12px;

  font-size: 23px;
}


/* =========================================================
   TOAST
========================================================= */

.toast {
  min-width: 310px;
  max-width: calc(100% - 30px);

  position: fixed;
  right: 25px;
  bottom: 25px;

  z-index: 10000;

  padding: 17px;

  display: flex;
  align-items: center;
  gap: 13px;

  background: #0b1e2a;

  border: 1px solid var(--border-hover);
  border-radius: 13px;

  box-shadow:
    0 25px 60px rgba(0,0,0,0.35);

  transform: translateY(120px);
  opacity: 0;

  transition: 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast > span {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(120, 189, 162, 0.08);
  color: var(--success);

  border-radius: 10px;

  font-size: 13px;
}

.toast strong {
  font-size: 9px;
  letter-spacing: 1px;
}

.toast p {
  margin-top: 4px;

  color: var(--text-muted);

  font-size: 9px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 13px;
}

.footer-brand span,
.footer-inner > span,
.footer-inner > p {
  color: var(--text-muted);

  font-size: 8px;
  letter-spacing: 1px;
}

.footer-inner > p {
  max-width: 300px;
  line-height: 1.6;
  text-align: center;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
  display: none;
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero-copy h1 {
    max-width: 700px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 300px;
  }

  .player-status-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 700px) {

  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 76px;
  }

  .section-container {
    width: min(100% - 30px, 1180px);
  }

  .header {
    height: var(--header-height);
  }

  .header-inner {
    width: calc(100% - 30px);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand span {
    font-size: 6px;
  }

  .header-status {
    min-width: auto;
  }

  .header-status small {
    display: none;
  }

  .header-status strong {
    font-size: 8px;
  }

  .hero {
    min-height: auto;

    padding-top: 65px;
    padding-bottom: 70px;
  }

  .hero-copy h1 {
    margin-top: 24px;

    font-size: clamp(44px, 15vw, 65px);
    letter-spacing: -4px;
  }

  .hero-copy p {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-mini-info {
    gap: 15px;
  }

  .hero-mini-info strong {
    font-size: 9px;
  }

  .server-monitor {
    padding: 20px;
    border-radius: 22px;
  }

  .monitor-core {
    min-height: 280px;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > p {
    text-align: left;
  }

  .content-section {
    padding-block: 70px;
  }

  .large-about-card {
    min-height: 440px;
    padding: 30px;
  }

  .card-number {
    top: 25px;
    left: 30px;
  }

  .large-about-card h3 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .feature-card {
    padding: 24px;
  }

  .join-grid,
  .media-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .join-card {
    padding: 28px;
  }

  .media-card {
    padding: 22px;
  }

  .faq-number {
    width: 38px;
  }

  .faq-question strong {
    padding-right: 10px;
    font-size: 13px;
  }

  .faq-answer p {
    padding-left: 38px;
    padding-right: 20px;
  }

  .page-hero {
    padding-top: 70px;
    padding-bottom: 50px;
  }

  .page-hero h1 {
    font-size: clamp(48px, 17vw, 72px);
    letter-spacing: -5px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 400px;
  }

  .support-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: auto;
    min-height: 250px;
  }

  .gallery-overlay {
    opacity: 1;
  }

  .player-status-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-card {
    min-height: 250px;
    padding: 18px;
  }

  .player-head {
    width: 75px;
    height: 75px;
  }

  .rules-footer {
    padding: 35px 25px;
  }

  .rules-footer h3 {
    font-size: 42px;
    letter-spacing: -3px;
  }

  .footer-inner {
    padding-block: 40px;

    flex-direction: column;
    text-align: center;
  }

  .footer-inner > p {
    text-align: center;
  }

  .mobile-nav {
    height: 70px;

    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;

    z-index: 1200;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    background: rgba(7, 20, 29, 0.93);
    backdrop-filter: blur(20px);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow:
      0 20px 50px rgba(0,0,0,0.4);
  }

  .mobile-nav-item {
    background: transparent;
    color: var(--text-muted);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;
  }

  .mobile-nav-item span {
    font-size: 17px;
  }

  .mobile-nav-item small {
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
  }

  .mobile-nav-item.active {
    color: var(--blue-light);
  }

  .support-mobile span {
    width: 38px;
    height: 38px;

    margin-top: -25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue);
    color: #fff;

    border: 5px solid var(--bg);
    border-radius: 13px;

    font-size: 20px;
  }

  .modal {
    padding: 15px;
  }

  .modal-panel {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .modal-panel h2 {
    font-size: 27px;
  }

  .readonly-grid {
    grid-template-columns: 1fr;
  }

  .readonly-grid .wide {
    grid-column: auto;
  }

  .gallery-modal {
    padding: 15px;
  }

  .gallery-modal img {
    max-height: 80vh;
  }

  .toast {
    min-width: 0;

    left: 15px;
    right: 15px;
    bottom: 95px;
  }

}


/* =========================================================
   VERY SMALL DEVICE
========================================================= */

@media (max-width: 390px) {

  .hero-copy h1 {
    font-size: 43px;
  }

  .player-status-grid {
    grid-template-columns: 1fr;
  }

  .bedrock-data {
    grid-template-columns: 1fr;
  }

}