
:root {
  --bg: #03140c;
  --panel: rgba(7, 26, 15, 0.78);
  --text: #e8f7ee;
  --muted: #9cb8a6;
  --green: #2cff88;
  --green-strong: #0bdd6f;
  --shadow: 0 20px 70px rgba(1, 10, 5, 0.45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11, 221, 111, 0.18), transparent 28%),
    radial-gradient(circle at right 15%, rgba(44, 255, 136, 0.12), transparent 20%),
    linear-gradient(180deg, #04140c 0%, #020c07 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.noise,
.grid-bg,
.orb { position: fixed; inset: 0; pointer-events: none; }
.noise { opacity: .08; background-image: radial-gradient(rgba(255,255,255,.45) .6px, transparent .6px); background-size: 7px 7px; mix-blend-mode: soft-light; }
.grid-bg {
  background-image:
    linear-gradient(rgba(53, 191, 117, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 191, 117, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.3));
}
.orb {
  filter: blur(60px);
  opacity: .55;
  animation: float 12s ease-in-out infinite;
}
.orb-a { width: 360px; height: 360px; left: -90px; top: 40px; background: rgba(42, 255, 137, 0.22); }
.orb-b { width: 280px; height: 280px; right: 6%; top: 180px; background: rgba(11, 221, 111, 0.17); animation-delay: -3s; }
.orb-c { width: 240px; height: 240px; right: 18%; bottom: 12%; background: rgba(56, 255, 180, 0.12); animation-delay: -6s; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(2, 10, 7, 0.48);
  border-bottom: 1px solid rgba(65, 255, 150, 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.brand-image img {
  width: 255px;
  max-width: min(48vw, 255px);
  display: block;
  filter: drop-shadow(0 0 26px rgba(124, 255, 78, 0.35));
  animation: logoFloat 5.5s ease-in-out infinite, logoGlow 3.2s ease-in-out infinite;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  color: #d9eee2;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(44, 255, 136, 0), rgba(44, 255, 136, 1), rgba(44, 255, 136, 0));
  transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .9fr;
  gap: 34px;
  padding: 80px 0 44px;
  align-items: center;
}
.hero-copy, .status-panel, .feature-card, .staff-card { position: relative; z-index: 1; }
.hero-copy { animation: fadeRise .9s ease both; }
.status-panel { animation: fadeRise 1.1s ease both; }

.eyebrow,
.section-kicker,
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(44, 255, 136, 0.16);
  background: rgba(44, 255, 136, 0.08);
  color: #c5f9d9;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(3.4rem, 7vw, 5.9rem);
  line-height: .98;
  letter-spacing: -0.05em;
}
.hero h1 span {
  color: var(--green);
  text-shadow: 0 0 26px rgba(44, 255, 136, 0.24);
  animation: neonFlicker 3.2s ease-in-out infinite;
}
.hero-subline {
  display: block;
  margin-top: 16px;
  color: #9ef7be;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(44,255,136,.22);
  animation: softWave 4.8s ease-in-out infinite;
}
.animated-badge { animation: badgeGlow 3s ease-in-out infinite; }

.message-rotator {
  position: relative;
  overflow: hidden;
}
.hero-rotator {
  min-height: 126px;
  margin-top: 4px;
  max-width: 720px;
}
.staff-rotator {
  min-height: 122px;
}
.rotating-text {
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  position: absolute;
  inset: 0;
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.rotating-text.is-visible {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.hero-rotator .rotating-text {
  font-size: 1.18rem;
  line-height: 1.8;
  color: #abc7b2;
}
.staff-rotator .rotating-text {
  color: #a9c6b2;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  appearance: none;
  border: 0;
  border-radius: 18px;
  padding: 16px 26px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #041008;
  background: linear-gradient(135deg, #32ff92, #0bdd6f);
  box-shadow: 0 18px 45px rgba(19, 220, 115, 0.24);
}
.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(44, 255, 136, 0.18);
  background: rgba(5, 20, 12, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 28px;
  max-width: 560px;
}
.quick-stats div,
.server-meta div {
  border-top: 1px solid rgba(44, 255, 136, 0.12);
  padding-top: 14px;
}
.quick-stats span,
.server-meta span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
}
.quick-stats strong,
.server-meta strong { font-size: 1.05rem; }

.status-panel,
.feature-card,
.staff-card {
  background: linear-gradient(180deg, rgba(7, 31, 18, 0.88), rgba(3, 17, 11, 0.92));
  border: 1px solid rgba(44, 255, 136, 0.12);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.02);
  border-radius: var(--radius);
}
.status-panel { padding: 26px; overflow: hidden; }
.status-panel::before,
.feature-card::before,
.staff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(44,255,136,.12), transparent 34%);
  pointer-events: none;
}
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}
.live-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #3eff91;
  box-shadow: 0 0 0 8px rgba(62, 255, 145, 0.11), 0 0 22px rgba(62, 255, 145, 0.45);
  animation: pulse 1.6s infinite;
}
.live-dot.offline {
  background: #cdd7d1;
  box-shadow: 0 0 0 8px rgba(225, 235, 229, 0.08);
  animation: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.glass-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(44, 255, 136, 0.09);
}
.glass-card span,
.feature-card p { color: #a9c6b2; }
.glass-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.server-meta { display: grid; gap: 10px; margin-top: 18px; }

.section { padding: 38px 0; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.section-heading.compact h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.feature-grid,
.staff-grid {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card,
.staff-card { padding: 24px; }
.feature-card h3,
.staff-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}
.feature-card p { margin: 0; line-height: 1.75; }

.staff-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.staff-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 255, 168, 0.22);
  box-shadow: 0 22px 60px rgba(1, 10, 5, 0.54), 0 0 30px rgba(44, 255, 136, 0.08);
}
.staff-card .role {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 18px;
  border-radius: 16px 16px 0 0;
  color: #8df0b7;
  font-weight: 800;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: linear-gradient(180deg, rgba(8, 60, 31, 0.95), rgba(5, 35, 18, 0.92));
  border: 1px solid rgba(44, 255, 136, 0.15);
  border-bottom: 0;
  text-shadow: 0 0 10px rgba(44,255,136,.25);
}
.glow-role {
  box-shadow: 0 0 12px rgba(44,255,136,.14), 0 0 30px rgba(44,255,136,.08), inset 0 0 18px rgba(44,255,136,.05);
  animation: badgeGlowStrong 2.8s ease-in-out infinite;
}
.staff-card h3 {
  color: #79ffb7;
  text-shadow: 0 0 14px rgba(44,255,136,.18);
}
.staff-card.featured {
  background: linear-gradient(180deg, rgba(7, 39, 22, 0.94), rgba(4, 18, 11, 0.98));
  transform: translateY(-4px);
}
.staff-card.featured h3 {
  animation: neonFlicker 2.8s ease-in-out infinite;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0 42px;
  color: #93b4a0;
}
.site-footer p { margin: 0; }
.footer-owner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  color: #6cffaa;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(44, 255, 136, 0.28), 0 0 32px rgba(44, 255, 136, 0.2);
  animation: neonFlicker 2.8s ease-in-out infinite;
}
.footer-owner::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(44,255,136,.95), transparent);
  transform: scaleX(.7);
  animation: pulseLine 2.4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .8; }
}
@keyframes neonFlicker {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .88; transform: translateY(-1px); }
}
@keyframes pulseLine {
  0%, 100% { transform: scaleX(.65); opacity: .7; }
  50% { transform: scaleX(1); opacity: 1; }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(124,255,78,.28)); }
  50% { filter: drop-shadow(0 0 34px rgba(160,255,87,.55)); }
}
@keyframes badgeGlow {
  0%,100% { box-shadow: 0 0 0 rgba(44,255,136,0); }
  50% { box-shadow: 0 0 28px rgba(44,255,136,.18), inset 0 0 18px rgba(44,255,136,.08); }
}
@keyframes badgeGlowStrong {
  0%,100% { box-shadow: 0 0 8px rgba(44,255,136,.10), 0 0 20px rgba(44,255,136,.06), inset 0 0 12px rgba(44,255,136,.04); }
  50% { box-shadow: 0 0 16px rgba(44,255,136,.22), 0 0 34px rgba(44,255,136,.14), inset 0 0 22px rgba(44,255,136,.08); }
}
@keyframes softWave {
  0%,100% { transform: translateX(0); opacity: .95; }
  50% { transform: translateX(4px); opacity: 1; }
}
@keyframes fadeRise {
  from { opacity:0; transform: translateY(16px); }
  to { opacity:1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .staff-grid { grid-template-columns: 1fr; }
  .nav-row,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav { flex-wrap: wrap; gap: 18px; }
  .staff-rotator,
  .hero-rotator { min-height: auto; }
  .rotating-text { position: relative; opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .quick-stats,
  .stats-grid { grid-template-columns: 1fr; }
  .brand-image img { width: 200px; }
}


.site-logo {
  width: 190px !important;
  max-width: min(34vw, 190px) !important;
}

.nav-panel-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  color: #cffff0 !important;
  background: linear-gradient(135deg, rgba(44,255,136,.18), rgba(11,221,111,.12));
  border: 1px solid rgba(44,255,136,.18);
  box-shadow: 0 0 14px rgba(44,255,136,.12), inset 0 0 18px rgba(44,255,136,.05);
  text-shadow: 0 0 10px rgba(44,255,136,.22);
  animation: badgeGlowStrong 2.8s ease-in-out infinite;
}

.nav-panel-link::after {
  display: none;
}

.nav-panel-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(44,255,136,.2), 0 0 38px rgba(44,255,136,.12), inset 0 0 20px rgba(44,255,136,.08);
}

@media (max-width: 980px) {
  .site-logo {
    width: 150px !important;
    max-width: 150px !important;
  }
}


/* NAVBAR FIX - compact like black-crown */
.site-header {
  padding: 8px 0;
}

.nav-row {
  min-height: 68px !important;
}

.main-nav a {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* PANEL BUTTON - strong glow like LiviuS */
.nav-panel-link {
  padding: 10px 18px !important;
  font-size: 0.9rem;
  color: #6cffaa !important;
  background: rgba(5,20,12,0.55);
  border: 1px solid rgba(44,255,136,.25);
  text-shadow: 0 0 12px rgba(44,255,136,.35), 0 0 32px rgba(44,255,136,.25);
  box-shadow:
    0 0 18px rgba(44,255,136,.25),
    0 0 40px rgba(44,255,136,.15),
    inset 0 0 20px rgba(44,255,136,.08);
  animation: neonFlicker 2.4s ease-in-out infinite;
}

.nav-panel-link:hover {
  box-shadow:
    0 0 28px rgba(44,255,136,.35),
    0 0 60px rgba(44,255,136,.25),
    inset 0 0 28px rgba(44,255,136,.12);
}

/* LOGO SMALLER */
.site-logo {
  width: 150px !important;
  max-width: 150px !important;
}

/* spacing fix */
.hero {
  margin-top: 10px;
}


/* ===== V9 HEADER REWORK ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 0;
  background: linear-gradient(180deg, rgba(2,10,7,.78), rgba(2,10,7,.28));
  border-bottom: 0;
  backdrop-filter: blur(14px);
}

.nav-row{
  min-height: 64px !important;
  gap: 18px;
  align-items: center;
}

.brand-image{
  flex: 0 0 auto;
}

.brand-image img,
.site-logo{
  width: 150px !important;
  max-width: 150px !important;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(124,255,78,.22)) !important;
}

.main-nav{
  margin-left: auto;
  display: inline-flex !important;
  align-items: center;
  gap: 10px !important;
  padding: 8px 10px;
  border-radius: 22px;
  background: rgba(4, 18, 11, 0.62);
  border: 1px solid rgba(44,255,136,.10);
  box-shadow: 0 14px 38px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
}

.main-nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: #e5f6ea;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.main-nav a:hover{
  background: rgba(255,255,255,.03);
  transform: translateY(-1px);
}

.main-nav a::after{
  display:none !important;
}

.nav-panel-link{
  color: #79ffb7 !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(44,255,136,.18), rgba(44,255,136,.06) 62%, rgba(44,255,136,0) 100%),
    rgba(6,22,13,.9) !important;
  border: 1px solid rgba(44,255,136,.24);
  box-shadow:
    0 0 0 1px rgba(44,255,136,.04) inset,
    0 0 18px rgba(44,255,136,.18),
    0 0 40px rgba(44,255,136,.10);
  text-shadow: 0 0 10px rgba(44,255,136,.30), 0 0 24px rgba(44,255,136,.18);
  animation: panelGlow 2.4s ease-in-out infinite;
}

.nav-panel-link:hover{
  background:
    radial-gradient(circle at 50% 50%, rgba(44,255,136,.26), rgba(44,255,136,.10) 62%, rgba(44,255,136,0) 100%),
    rgba(7,26,15,.95) !important;
  box-shadow:
    0 0 0 1px rgba(44,255,136,.08) inset,
    0 0 24px rgba(44,255,136,.26),
    0 0 56px rgba(44,255,136,.16);
}

.hero{
  padding-top: 34px !important;
  gap: 28px;
}

.hero h1{
  margin-top: 14px;
  font-size: clamp(3rem, 6.3vw, 5.1rem);
}

.hero-rotator{
  min-height: 108px;
}

.status-panel{
  margin-top: 8px;
}

@keyframes panelGlow{
  0%,100%{
    box-shadow:
      0 0 0 1px rgba(44,255,136,.04) inset,
      0 0 18px rgba(44,255,136,.18),
      0 0 40px rgba(44,255,136,.10);
  }
  50%{
    box-shadow:
      0 0 0 1px rgba(44,255,136,.09) inset,
      0 0 28px rgba(44,255,136,.28),
      0 0 70px rgba(44,255,136,.18);
  }
}

@media (max-width: 980px){
  .site-header{
    padding-top: 8px;
  }

  .nav-row{
    gap: 12px;
  }

  .main-nav{
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px;
  }

  .main-nav a{
    white-space: nowrap;
  }

  .hero{
    padding-top: 22px !important;
  }
}

@media (max-width: 640px){
  .brand-image img,
  .site-logo{
    width: 126px !important;
    max-width: 126px !important;
  }

  .main-nav{
    gap: 6px !important;
  }

  .main-nav a{
    min-height: 38px;
    padding: 0 12px;
    font-size: .9rem;
  }

  .hero h1{
    font-size: clamp(2.45rem, 12.2vw, 3.8rem);
  }
}
