/* ============================================================= */
/*  TERROR SMP — Shared Design System                            */
/*  Modern premium dark + red theme (glassmorphism, gradients)   */
/* ============================================================= */

/* ---------- ROOT TOKENS ---------- */
:root {
  /* Brand */
  --red:        #ff2b2b;
  --red-soft:   #ff4d4d;
  --red-deep:   #c91f1f;
  --gold:       #ffce6b;

  /* Surfaces */
  --bg:         #08080b;
  --bg-2:       #0f0f14;
  --glass:      rgba(255, 255, 255, 0.05);
  --glass-2:    rgba(255, 255, 255, 0.08);
  --border:     rgba(255, 255, 255, 0.10);
  --border-2:   rgba(255, 255, 255, 0.16);

  /* Text */
  --white:      #ffffff;
  --text:       #f3f3f6;
  --muted:      #a6a6b3;

  /* Effects */
  --blur:       18px;
  --radius:     18px;
  --radius-lg:  24px;
  --shadow:     0 18px 50px rgba(0, 0, 0, 0.55);
  --glow-red:   0 0 30px rgba(255, 45, 45, 0.45);
  --grad-red:   linear-gradient(120deg, var(--red-soft), var(--red-deep));
  --grad-text:  linear-gradient(120deg, #ffffff 0%, #ffd2d2 45%, var(--red-soft) 100%);

  --maxw:       1300px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

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

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--red-deep), #5a0d0d);
  border-radius: 10px;
}

/* ---------- BACKGROUND ---------- */
.video-bg-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.video-bg-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.30) saturate(1.25);
  transform: scale(1.02);
}

/* Ambient gradient overlay (replaces the old flat red overlay) */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 75% -10%, rgba(255, 45, 45, 0.22), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(120, 30, 30, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 11, 0.55), rgba(8, 8, 11, 0.92));
}

/* ---------- NAVBAR ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 8, 11, 0.45);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
nav.scrolled {
  background: rgba(8, 8, 11, 0.82);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: var(--maxw);
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
  height: 46px; width: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 60, 60, 0.7));
  transition: transform 0.4s var(--ease);
}
.brand:hover .logo-img { transform: rotate(-6deg) scale(1.06); }
.brand-name {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a {
  position: relative;
  padding: 8px 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  border-radius: 2px;
}
.desktop-nav a:hover { color: var(--white); background: var(--glass); }
.desktop-nav a:hover::after,
.desktop-nav a.active::after { transform: scaleX(1); }
.desktop-nav a.active { color: var(--white); }

.mobile-menu-icon {
  display: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--white);
  cursor: pointer;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 12px;
}

/* Mobile sidebar */
#mobileNav {
  position: fixed;
  top: 0; right: -100%;
  height: 100dvh;
  width: min(300px, 84vw);
  max-width: 100vw;
  box-sizing: border-box;
  background: rgba(10, 8, 11, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 45, 45, 0.4);
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.95);
  padding: 22px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
  overflow-y: auto;
}
#mobileNav.open { right: 0; }
.m-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 8px;
}
.m-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}
.m-brand img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 8px var(--red));
  flex-shrink: 0;
}
.m-brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mobileNav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 15px;
  border-radius: 12px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
#mobileNav a:hover, #mobileNav a.active { background: var(--glass-2); color: var(--white); }
.mobile-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.mobile-close:hover, .mobile-close:active {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 99000;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* Ultra-Premium Cyber HUD Launch Banner */
.launch-banner-v2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 30, 30, 0.18) 0%, rgba(14, 10, 13, 0.92) 50%, rgba(255, 206, 107, 0.15) 100%);
  border: 1px solid rgba(255, 60, 60, 0.5);
  padding: 10px 26px;
  border-radius: 60px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 12px 35px rgba(255, 30, 30, 0.28), inset 0 0 25px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin: 16px auto 0;
  max-width: 98%;
  text-align: center;
  word-break: break-word;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.launch-banner-v2:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(255, 90, 90, 0.8);
  box-shadow: 0 18px 45px rgba(255, 45, 45, 0.42), 0 0 25px rgba(255, 206, 107, 0.2);
}
.launch-banner-v2::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: bannerShimmer 4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
@keyframes bannerShimmer {
  0%, 70% { left: -150%; }
  100% { left: 200%; }
}
.launch-badge-pill {
  background: linear-gradient(135deg, #ff2b2b, #b31010);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: 0 0 18px rgba(255, 45, 45, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.launch-badge-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  animation: pulseBeacon 1s infinite alternate;
}
@keyframes pulseBeacon {
  from { opacity: 0.4; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.25); }
}
.launch-banner-text {
  color: #f5f5f7;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.3px;
}
.launch-banner-text strong {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255, 206, 107, 0.45);
}
@media (max-width: 680px) {
  .launch-banner-v2 { display: none; }
}

/* ============================================================= */
/*  FLOATING COMPACT CYBER HUD COUNTDOWN CAPSULE                 */
/* ============================================================= */
.top-floating-bar-wrapper {
  position: absolute;
  top: 172px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 75;
  pointer-events: none;
}
@media (max-width: 880px) {
  .top-floating-bar-wrapper { top: 125px; }
}

.frameless-launch-timer {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 4px 10px;
  margin: 0 auto;
  animation: floatCapsule 4s ease-in-out infinite alternate;
}
@keyframes floatCapsule {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.launch-label-txt {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 2.5px;
  color: #e8e8f0;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
.red-glimmer {
  color: #ff3b3b;
  text-shadow: 0 0 16px rgba(255, 45, 45, 0.7);
}

.f-cd-timer.no-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  background: transparent;
  border: none;
  box-shadow: none;
}
.unit-raw {
  display: flex;
  align-items: baseline;
  gap: 3px;
  background: transparent;
  border: none;
  padding: 0;
}
.f-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
  display: inline-block;
}
.f-num.num-flip {
  animation: numPopAnim 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
}
@keyframes numPopAnim {
  0% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.f-lbl {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ff4d4d;
  letter-spacing: 1px;
}
.f-colon {
  font-size: 1.25rem;
  font-weight: 850;
  color: rgba(255, 45, 45, 0.85);
  animation: colonBlink 1s infinite;
}
@keyframes colonBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.f-cd-live {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #00ff66;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}
.f-live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 12px #00ff66;
  animation: pulseBeacon 1s infinite alternate;
}

@media (max-width: 680px) {
  .frameless-launch-timer {
    gap: 6px;
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
  }
  .launch-label-txt {
    font-size: 0.72rem;
    width: 100%;
    text-align: center;
    letter-spacing: 2px;
  }
  .f-cd-timer.no-box {
    gap: 6px;
    justify-content: center;
    width: 100%;
  }
  .unit-raw {
    background: transparent;
    border: none;
    padding: 0;
  }
  .f-num { font-size: 1.25rem; }
  .f-colon { font-size: 1.1rem; }
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .mobile-menu-icon { display: block; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 45, 45, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 45, 45, 0.5); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn.ghost {
  background: var(--glass);
  border: 1px solid var(--border-2);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.btn.ghost:hover { background: var(--glass-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }

/* ---------- SECTIONS ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 22px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-soft);
  background: rgba(255, 45, 45, 0.10);
  border: 1px solid rgba(255, 45, 45, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  max-width: 680px;
  margin: 0 auto 55px;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- CARD (generic glass) ---------- */
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 45, 45, 0.55);
  box-shadow: var(--shadow), var(--glow-red);
}
.card:hover::before { opacity: 1; }

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: 90px;
  padding: 50px 22px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 11, 0.4);
  backdrop-filter: blur(10px);
}
.footer-inner { max-width: var(--maxw); margin: auto; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--red-soft); }
.footer-copy { font-size: 0.9rem; opacity: 0.85; }

/* ============================================================= */
/*  DISCORD LIVE EMBED                                            */
/* ============================================================= */
.discord-embed {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(35, 39, 42, 0.6) 100%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  padding: 40px 36px;
  text-align: left;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(88, 101, 242, 0.15) inset;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.discord-embed:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.7), 0 0 60px rgba(88, 101, 242, 0.25) inset, 0 0 20px rgba(88, 101, 242, 0.4);
  border-color: rgba(88, 101, 242, 0.6);
}
.discord-embed::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: -1;
}
.discord-embed:hover::before { opacity: 1; }
.discord-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.discord-id { display: flex; align-items: center; gap: 16px; }
.discord-logo {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #5865f2;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.45);
  flex-shrink: 0;
}
.discord-logo svg { width: 32px; height: 32px; fill: #fff; }
.discord-name { font-size: 1.3rem; font-weight: 800; font-family: "Outfit", sans-serif; }
.discord-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3ba55d; box-shadow: 0 0 10px #3ba55d;
  display: inline-block;
}
.status-dot.loading { background: var(--muted); box-shadow: none; animation: pulse 1.2s infinite; }
.status-dot.offline { background: var(--red); box-shadow: 0 0 10px var(--red); }

.discord-count {
  text-align: center;
  padding: 14px 28px;
  background: rgba(35, 39, 42, 0.8);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}
.discord-count::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(59, 165, 93, 0.3);
  pointer-events: none;
}
.discord-count b { 
  font-size: 2.2rem; 
  font-family: "Outfit", sans-serif; 
  display: block; 
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.discord-count span { 
  font-size: 0.82rem; 
  letter-spacing: 1.5px; 
  text-transform: uppercase; 
  color: #3ba55d; 
  font-weight: 800;
  display: block;
  margin-top: 4px;
}

.discord-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
  min-height: 44px;
}
.discord-avatars img {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: var(--bg-2);
  transition: transform 0.25s var(--ease);
}
.discord-avatars img:hover { transform: translateY(-4px) scale(1.1); border-color: var(--red-soft); }
.discord-avatars .more {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass-2);
  border: 2px solid var(--border);
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.discord-empty { color: var(--muted); font-size: 0.95rem; padding: 10px 0; }
.discord-join { display: flex; justify-content: flex-end; margin-top: 10px; }
.discord-join .btn {
  background: #5865F2; /* Discord Blurple */
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.4);
  padding: 16px 36px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.discord-join .btn:hover {
  background: #4752C4;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.55);
}
.discord-join .btn:active {
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .discord-top { flex-direction: column; align-items: flex-start; }
  .discord-join { justify-content: stretch; }
  .discord-join .btn { width: 100%; justify-content: center; }
}

/* ============================================================= */
/*  ANIMATIONS                                                   */
/* ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes floatUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }

.video-bg-wrapper video { animation: slowzoom 18s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .video-bg-wrapper video { animation: none; transform: scale(1.02); }
}

/* ============================================================= */
/*  HERO (home / page headers)                                    */
/* ============================================================= */
.hero {
  text-align: center;
  padding: clamp(110px, 18vh, 180px) 22px clamp(80px, 12vh, 130px);
  max-width: 980px;
  margin: 0 auto;
}
.hero-logo {
  height: 120px; width: 120px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 30px rgba(255, 50, 50, 0.6));
  animation: floatUp 0.9s var(--ease) both;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -1px;
  animation: floatUp 0.9s var(--ease) 0.05s both;
}
.hero-sub {
  margin-top: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  font-weight: 600;
  animation: floatUp 0.9s var(--ease) 0.12s both;
}
.hero-buttons {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: floatUp 0.9s var(--ease) 0.2s both;
}

/* V2 Launch Badge */
.launch-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  animation: floatUp 0.9s var(--ease) both;
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 206, 107, 0.12);
  border: 1px solid rgba(255, 206, 107, 0.4);
  padding: 8px 20px;
  border-radius: 50px;
  color: #ffce6b;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 206, 107, 0.2), inset 0 0 10px rgba(255, 206, 107, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.launch-dot {
  width: 8px;
  height: 8px;
  background-color: #ffce6b;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffce6b;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 206, 107, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 206, 107, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 206, 107, 0);
  }
}

/* Redacted/Locked IP styling */
.btn.ip-locked {
  background: rgba(10, 10, 15, 0.9) !important;
  border: 1px dashed rgba(255, 43, 43, 0.3) !important;
  color: rgba(255, 255, 255, 0.4) !important;
  cursor: not-allowed;
  pointer-events: none;
  font-weight: 700;
  box-shadow: none !important;
  padding: 12px 30px;
  border-radius: 60px;
}
.ip-locked-text {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 43, 43, 0.2);
}

/* Page header (sub-pages) */
.page-head {
  text-align: center;
  padding: clamp(120px, 16vh, 160px) 22px 40px;
}
.page-head h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  animation: floatUp 0.8s var(--ease) both;
}
.page-head p {
  margin-top: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1.05rem;
  animation: floatUp 0.8s var(--ease) 0.1s both;
}

/* Feature Cards */
.card.feature { 
  text-align: left; 
  padding: 40px 32px; 
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(255, 45, 45, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card.feature:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 45, 45, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 45, 45, 0.15);
}
.card.feature:hover::before { opacity: 1; }

.icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.2);
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.icon-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--red-soft);
  filter: blur(20px);
  opacity: 0.3;
  border-radius: 50%;
  transition: opacity 0.4s var(--ease);
}
.card.feature:hover .icon-glow { opacity: 0.6; }
.card.feature:hover .icon-wrap { transform: scale(1.1) rotate(5deg); border-color: rgba(255, 45, 45, 0.5); }

.feat-icon {
  width: 28px;
  height: 28px;
  color: var(--red-soft);
  position: relative;
  z-index: 2;
  transition: color 0.4s var(--ease);
}
.card.feature:hover .feat-icon { color: var(--white); }

.card.feature h3 { 
  color: #fff; 
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 800;
}
.card.feature p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }

/* Mode Cards */
.mode {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mode .mode-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}
.mode .mode-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; color: var(--white); }
.mode p { color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* Active Mode */
.active-mode {
  border-color: rgba(255, 45, 45, 0.4);
  box-shadow: 0 10px 30px rgba(255, 45, 45, 0.15);
}
.active-mode:hover {
  border-color: var(--red-soft);
  box-shadow: 0 15px 40px rgba(255, 45, 45, 0.3), var(--glow-red);
}
.mode-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 45, 45, 0.15), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.active-mode .mode-body { position: relative; z-index: 1; }
.play-badge {
  display: inline-block;
  margin-top: 20px;
  background: var(--grad-red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 45, 45, 0.4);
}

/* Locked mode card */
.mode .lock-tag {
  display: none;
}
.mode.locked .mode-body { filter: blur(2px) grayscale(0.8); opacity: 0.4; transition: filter 0.3s; }
.mode.locked:hover .mode-body { filter: blur(3px) grayscale(1); }
.mode.locked { background: rgba(10, 10, 15, 0.6); border-color: rgba(255,255,255,0.05); cursor: not-allowed; }
.mode.locked:hover { transform: none; box-shadow: inset 0 0 30px rgba(0,0,0,0.8); }

/* Padlock Overlay for Locked Cards */
.chains-overlay {
  position: absolute;
  top: 50%; left: 50%;
  width: 90px; height: 90px;
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cfilter id='glow' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeDropShadow dx='0' dy='4' stdDeviation='6' flood-color='%23ff2b2b' flood-opacity='0.4'/%3E%3C/filter%3E%3Cpath d='M20 28V18C20 11.37 25.37 6 32 6C38.63 6 44 11.37 44 18V28' stroke='%23ff2b2b' stroke-width='4' stroke-linecap='round' filter='url(%23glow)'/%3E%3Crect x='12' y='26' width='40' height='32' rx='6' fill='%2315151a' stroke='%23ff2b2b' stroke-width='4' filter='url(%23glow)'/%3E%3Ccircle cx='32' cy='38' r='4' fill='%23ff2b2b'/%3E%3Cpath d='M32 42V48' stroke='%23ff2b2b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.95;
  z-index: 5;
  pointer-events: none;
  animation: padlock-idle 3s ease-in-out infinite;
}

@keyframes padlock-idle {
  0%, 100% {
    transform: translate(-50%, -52%) scale(1);
    filter: drop-shadow(0 4px 10px rgba(255, 43, 43, 0.2));
  }
  50% {
    transform: translate(-50%, -48%) scale(1.02);
    filter: drop-shadow(0 8px 18px rgba(255, 43, 43, 0.45));
  }
}

/* Interactive Rattle/Shake on Hover */
.mode.locked:hover .chains-overlay {
  animation: padlock-shake 0.5s ease-in-out infinite;
}

@keyframes padlock-shake {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 43, 43, 0.6));
  }
  20% { transform: translate(-52%, -50%) rotate(-6deg) scale(1.1); }
  40% { transform: translate(-48%, -50%) rotate(5deg) scale(1.1); }
  60% { transform: translate(-51%, -50%) rotate(-4deg) scale(1.1); }
  80% { transform: translate(-49%, -50%) rotate(3deg) scale(1.1); }
}

/* ============================================================= */
/*  OUR TEAM                                                      */
/* ============================================================= */
.team-grid { margin-top: 10px; }
.team-card { text-align: center; }
.pfp-wrap { position: relative; width: 110px; height: 110px; margin: 0 auto 18px; }
.pfp {
  width: 110px; height: 110px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid var(--border-2);
}
.team-card[data-role="founder"] .pfp            { border-color: var(--gold); box-shadow: 0 0 26px rgba(255, 206, 107, 0.65); }
.team-card[data-role="co-founder"] .pfp         { border-color: var(--red);  box-shadow: 0 0 24px rgba(255, 50, 50, 0.6); }
.team-card[data-role="executive-director"] .pfp { border-color: #ff7a3d;     box-shadow: 0 0 22px rgba(255, 122, 61, 0.55); }
.team-card[data-role="server-director"] .pfp    { border-color: #ffa94d;     box-shadow: 0 0 22px rgba(255, 169, 77, 0.5); }
.team-card[data-role="technical-director"] .pfp { border-color: #b87bff;     box-shadow: 0 0 22px rgba(184, 123, 255, 0.55); }
.team-card[data-role="lead-developer"] .pfp     { border-color: #9d6bff;     box-shadow: 0 0 22px rgba(157, 107, 255, 0.5); }
.team-card[data-role="head-administrator"] .pfp { border-color: var(--gold); box-shadow: 0 0 22px rgba(255, 206, 107, 0.5); }
.team-card[data-role="staff-lead"] .pfp         { border-color: #4dd6ff;     box-shadow: 0 0 20px rgba(77, 214, 255, 0.45); }
.team-card[data-role="staff"] .pfp              { border-color: #5b8cff;     box-shadow: 0 0 18px rgba(91, 140, 255, 0.4); }
.team-card[data-role="trainee-staff"] .pfp      { border-color: #9aa3b2;     box-shadow: 0 0 16px rgba(154, 163, 178, 0.35); }

.pfp-status {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: #747f8d; /* offline */
  transition: background 0.3s var(--ease);
}
.pfp-status[data-status="online"] { background: #3ba55d; box-shadow: 0 0 10px #3ba55d; }
.pfp-status[data-status="idle"]   { background: #faa61a; box-shadow: 0 0 10px #faa61a; }
.pfp-status[data-status="dnd"]    { background: #ed4245; box-shadow: 0 0 10px #ed4245; }

.role-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #150505;
}
.role-founder            { background: linear-gradient(120deg, var(--gold), var(--red-soft)); color: #150505; }
.role-co-founder         { background: linear-gradient(120deg, var(--red-soft), var(--red-deep)); color: #fff; }
.role-executive-director { background: #ff7a3d; color: #150505; }
.role-server-director    { background: #ffa94d; color: #150505; }
.role-technical-director { background: #b87bff; color: #150505; }
.role-lead-developer     { background: #9d6bff; color: #150505; }
.role-head-administrator { background: var(--gold); color: #150505; }
.role-staff-lead         { background: #4dd6ff; color: #03222b; }
.role-staff              { background: #5b8cff; color: #fff; }
.role-trainee-staff      { background: #9aa3b2; color: #15171c; }
.team-card .presence {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ============================================================= */
/*  RANKS                                                         */
/* ============================================================= */
.store-grid { 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 20px auto 0;
  perspective: 1200px; /* For 3D interaction */
}
.rank-card { 
  flex: 1 1 300px;
  max-width: 360px;
  text-align: left; 
  display: flex; 
  flex-direction: column; 
  position: relative;
  overflow: hidden;
  padding: 40px 30px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  will-change: transform;
  transform-style: preserve-3d;
}
.rank-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 45, 45, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.rank-card:hover {
  transform: translateY(-12px) scale(1.03) rotateX(4deg) rotateY(-2deg);
  border-color: rgba(255, 45, 45, 0.6);
  box-shadow: -10px 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(255, 45, 45, 0.2);
}
.rank-card:hover .rank-bg { opacity: 1; }

.rank-icon {
  margin-bottom: 16px;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.premium-icon {
  filter: drop-shadow(0 0 10px rgba(255, 45, 45, 0.4));
  transition: filter 0.5s ease;
}
.rank-card:hover .rank-icon {
  transform: scale(1.15) translateZ(30px);
}
.rank-card:hover .premium-icon {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

.rank-title { font-size: 1.8rem; font-weight: 900; }
.rank-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 12px;
  min-height: 44px;
}
.rank-price { 
  margin-top: 6px; 
  font-size: 2.2rem; 
  color: #fff; 
  font-weight: 800; 
  font-family: "Outfit", sans-serif;
}
.price-period {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  font-family: "Inter", sans-serif;
  margin-left: 6px;
}

.rank-perks {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  flex: 1;
}
.rank-perks li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}
.rank-perks li svg {
  width: 18px;
  height: 18px;
  color: #3ba55d;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(59, 165, 93, 0.4));
}
.rank-perks li b { color: #fff; }
.gold-text { color: var(--gold) !important; }

.perk-commands {
  flex-direction: column;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.perk-commands b { color: var(--white); margin-bottom: 8px; }
.perk-commands br { display: none; }
.perk-commands { color: var(--muted) !important; font-size: 0.85rem !important; line-height: 1.6 !important; font-family: monospace; }

/* Featured King Rank */
.rank-card.featured { 
  border-color: rgba(255, 170, 0, 0.5); 
  box-shadow: 0 10px 40px rgba(255, 170, 0, 0.15); 
  background: rgba(25, 20, 15, 0.6);
}
.rank-card.featured .rank-bg {
  background: radial-gradient(circle at 50% 0%, rgba(255, 170, 0, 0.15), transparent 70%);
  opacity: 1;
}
.rank-card.featured:hover {
  transform: translateY(-14px) scale(1.05) rotateX(4deg) rotateY(-2deg);
  border-color: rgba(255, 170, 0, 0.9);
  box-shadow: -15px 30px 60px rgba(0,0,0,0.7), 0 0 50px rgba(255, 170, 0, 0.25);
}
.rank-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(255, 170, 0, 0.4);
}
.btn-gold {
  background: linear-gradient(135deg, #ffaa00, #ff8800);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 170, 0, 0.3);
}
.btn-gold:hover { background: linear-gradient(135deg, #ffba33, #ff9900); }

/* ============================================================= */
/*  STATUS                                                        */
/* ============================================================= */
/* ============================================================= */
/*  STATUS                                                        */
/* ============================================================= */
/* ============================================================= */
/*  STATUS - BENTO GRID                                          */
/* ============================================================= */
.copy-ip-wrap { text-align: center; margin: -10px 0 50px; position: relative; z-index: 10; }
.copy-ip-btn {
  background: rgba(10, 10, 15, 0.6); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-size: 1.05rem; padding: 14px 28px; border-radius: 50px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-weight: 700;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.copy-ip-btn:hover { background: rgba(255, 45, 45, 0.15); border-color: var(--red-soft); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(255, 45, 45, 0.25); color: #fff; }
.copy-ip-btn:active { transform: translateY(0); }
.copy-ip-btn.copied { background: #3ba55d; border-color: #3ba55d; box-shadow: 0 10px 30px rgba(59, 165, 93, 0.4); }

.status-ambient-glow {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -10%);
  width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,45,45,0.05) 0%, transparent 70%);
  z-index: 0; pointer-events: none; mix-blend-mode: screen;
}

.bento-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}

.bento-item {
  background: rgba(15, 10, 12, 0.4); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 32px; padding: 40px;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.bento-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(255,45,45,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
  border-color: rgba(255, 45, 45, 0.3);
}

.b-bg-icon {
  position: absolute; right: -30px; bottom: -30px; opacity: 0.03; color: #fff;
  transform: rotate(-15deg); pointer-events: none; transition: opacity 0.5s, transform 0.5s;
}
.b-bg-icon svg { width: 220px; height: 220px; }
.bento-item:hover .b-bg-icon { opacity: 0.08; transform: rotate(0deg) scale(1.1); }

/* Item Placements */
.bento-status {
  grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, rgba(255,45,45,0.08), rgba(10,5,5,0.6));
}
.bento-players { grid-column: span 2; display: flex; align-items: center; gap: 24px; padding: 30px 40px; }
.bento-version { grid-column: span 2; display: flex; align-items: center; gap: 24px; padding: 30px 40px; }

/* Status Hero Rings */
.status-rings { position: relative; width: 120px; height: 120px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; }
.core-orb { width: 40px; height: 40px; border-radius: 50%; background: var(--red); box-shadow: 0 0 30px var(--red); z-index: 10; transition: all 0.5s; }
.core-orb.online { background: #00ff66; box-shadow: 0 0 40px #00ff66; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--red); opacity: 0; animation: radar 3s linear infinite; }
.status-rings.online .ring { border-color: #00ff66; }
.ring:nth-child(1) { animation-delay: 0s; }
.ring:nth-child(2) { animation-delay: 1s; }
.ring:nth-child(3) { animation-delay: 2s; }
@keyframes radar { 0% { width: 40px; height: 40px; opacity: 0.8; border-width: 4px; } 100% { width: 200px; height: 200px; opacity: 0; border-width: 1px; } }

.status-hero-val { font-size: 3.5rem; font-weight: 900; font-family: "Outfit", sans-serif; line-height: 1; margin-bottom: 8px; text-transform: uppercase; transition: color 0.5s; }
.status-hero-val.online { color: #00ff66; text-shadow: 0 0 20px rgba(0,255,102,0.4); }
.status-hero-val.offline { color: var(--red); text-shadow: 0 0 20px rgba(255,45,45,0.4); }
.status-hero-val.starting { color: #ffce6b; text-shadow: 0 0 20px rgba(255,206,107,0.4); }
.status-hero-lbl { font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }

/* Starting / Restarting orb state */
.core-orb.starting { background: #ffce6b; box-shadow: 0 0 40px #ffce6b; animation: pulseOrb 1.2s ease-in-out infinite; }
.status-rings.starting .ring { border-color: #ffce6b; }
@keyframes pulseOrb { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.7; } }

/* Players / Version */
.b-icon-wrap {
  width: 70px; height: 70px; border-radius: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: var(--white); box-shadow: 0 15px 30px rgba(0,0,0,0.3); position: relative; z-index: 2; transition: transform 0.5s;
}
.bento-item:hover .b-icon-wrap { transform: scale(1.1) rotate(5deg); }
.b-icon-wrap svg { width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); }
.b-info { z-index: 2; position: relative; }
.b-val { font-size: 3rem; font-weight: 900; font-family: "Outfit", sans-serif; color: #fff; line-height: 1; margin-bottom: 8px; }
.b-lbl { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }

/* Uptime */
.bento-uptime { grid-column: span 4; background: linear-gradient(90deg, rgba(15,10,12,0.6), rgba(30,15,15,0.6)); }
.uptime-flex { display: flex; align-items: center; width: 100%; gap: 60px; position: relative; z-index: 2; }
.u-left { flex-shrink: 0; }
.u-right { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; }
.u-lbl { color: var(--muted); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.u-val { font-size: 4.5rem; font-weight: 900; font-family: "Outfit", sans-serif; color: #fff; line-height: 1; text-shadow: 0 0 30px rgba(255,255,255,0.2); }
.u-pct { font-size: 2.2rem; color: #00ff66; margin-left: 4px; text-shadow: 0 0 20px rgba(0,255,102,0.4); }

.glass-progress-wrap {
  width: 100%; height: 28px; border-radius: 14px; background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 5px 15px rgba(0,0,0,0.8);
  position: relative; overflow: hidden;
}
.glass-progress-fill {
  height: 100%; width: 0%; border-radius: 14px; background: linear-gradient(90deg, #00b09b, #96c93d);
  position: relative; animation: fillup 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
  box-shadow: 0 0 20px rgba(150, 201, 61, 0.6); overflow: hidden;
}
.glass-progress-glow {
  position: absolute; top: 0; bottom: 0; width: 150px; left: -150px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: sweep 2.5s linear infinite; mix-blend-mode: overlay;
}
.glass-progress-texts { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 600; color: var(--muted); }
.green-txt { color: #96c93d; text-shadow: 0 0 10px rgba(150,201,61,0.4); }

@keyframes fillup { to { width: 99.9%; } }
@keyframes sweep { 0% { transform: translateX(0); } 100% { transform: translateX(1200px); } }

/* Player List & MOTD */
.bento-motd { text-align: center; color: #e0e6ed; font-size: 1.15rem; font-family: monospace; letter-spacing: 0.5px; line-height: 1.8; }
.player-avatars-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; position: relative; z-index: 2; margin: 0 auto; }
.player-avatar-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 24px 20px; min-width: 140px; text-align: center; transition: all 0.3s; cursor: default;
}
.player-avatar-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.mc-avatar { width: 64px; height: 64px; image-rendering: pixelated; margin-bottom: 14px; border-radius: 8px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6)); }
.player-avatar-card .player-name { font-size: 0.95rem; font-weight: 700; color: var(--muted); word-break: break-all; }
.player-avatar-card:hover .player-name { color: #fff; }

@media(max-width: 900px) {
  .bento-grid {
    display: grid !important;
    grid-template-columns: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
  }
  .bento-item,
  .bento-status,
  .bento-players,
  .bento-version,
  .bento-uptime,
  .bento-players-list,
  .bento-motd {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  .bento-players,
  .bento-version {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 28px 20px !important;
    gap: 16px !important;
  }
  .bento-status {
    padding: 32px 20px !important;
  }
  .uptime-flex { flex-direction: column; align-items: flex-start; gap: 30px; }
  .u-right { width: 100%; }
}

/* ============================================================= */
/*  VOTE COMING SOON DESIGN                                      */
/* ============================================================= */
.vote-coming-wrapper {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  z-index: 5;
}
.vote-coming-card {
  max-width: 680px;
  width: 100%;
  background: rgba(18, 14, 16, 0.65);
  border: 1px solid rgba(255, 45, 45, 0.25);
  border-radius: 32px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: relative;
  overflow: hidden;
  animation: floatUp 0.9s var(--ease) both;
}
.vote-coming-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-red);
  box-shadow: 0 0 20px var(--red);
}
.vote-coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.22) 0%, rgba(18, 14, 16, 0.9) 100%);
  border: 1px solid rgba(255, 75, 75, 0.5);
  padding: 8px 22px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  box-shadow: 0 0 25px rgba(255, 45, 45, 0.3);
}
.vote-coming-icon {
  width: 90px;
  height: 90px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.2), rgba(255, 45, 45, 0.05));
  border: 1px solid rgba(255, 45, 45, 0.3);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: 0 15px 35px rgba(255, 45, 45, 0.2);
}
.vote-coming-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 16px auto 32px;
}
.vote-launch-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 24px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.v-lock-icon {
  font-size: 1.8rem;
}
.v-lock-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
}
.v-lock-date {
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 800;
  font-family: "Outfit", sans-serif;
}
@media (max-width: 620px) {
  .vote-coming-card { padding: 36px 22px; border-radius: 24px; }
  .vote-launch-box { width: 100%; justify-content: center; }
}

/* ============================================================= */
/*  PREMIUM GAMING SHOWCASE GALLERY                              */
/* ============================================================= */
.gallery-section {
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}
.gallery-eyebrow {
  letter-spacing: 3px !important;
  color: var(--gold) !important;
}
.gallery-sub {
  font-size: 1.25rem !important;
  line-height: 1.7 !important;
  max-width: 600px !important;
  margin: 16px auto 0 !important;
  color: #c4b6bc !important;
}

/* ---------- Live Statistics Banner ---------- */
.gallery-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 45px;
  padding: 0 20px;
}
.g-stat-card {
  flex: 1 1 240px;
  background: rgba(18, 14, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.g-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 45, 0.35);
}
.g-stat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.2), rgba(255, 45, 45, 0.05));
  border: 1px solid rgba(255, 45, 45, 0.3);
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.g-stat-info { display: flex; flex-direction: column; text-align: left; }
.g-stat-val { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; line-height: 1.1; }
.g-stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-top: 3px; }

/* ---------- Featured Hero Showcase ---------- */
.gallery-hero-wrapper {
  max-width: 1240px;
  margin: 0 auto 50px;
  padding: 0 20px;
}
.gallery-hero-card {
  position: relative;
  width: 100%;
  height: clamp(380px, 58vh, 600px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(255, 45, 45, 0.12);
  background: #0f0a0c;
  cursor: zoom-in;
}
.g-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.gallery-hero-card:hover .g-hero-img {
  transform: scale(1.05);
}
.gallery-hero-card.hero-changing .g-hero-img {
  opacity: 0.15;
  transform: scale(1.03);
}
.g-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 5, 7, 0.95) 0%, rgba(8, 5, 7, 0.4) 45%, transparent 100%);
  pointer-events: none;
}
.g-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 45px 45px 38px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-hero-card.hero-changing .g-hero-content {
  opacity: 0;
  transform: translateY(12px);
}
.g-hero-text { max-width: 680px; text-align: left; }
.g-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: 0.78rem;
  letter-spacing: 1.5px; padding: 6px 14px;
  border-radius: 8px; text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(255, 45, 45, 0.5);
}
.g-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}
.g-hero-desc {
  font-size: 1.08rem;
  color: #e0d5db;
  line-height: 1.6;
}

/* Hero Carousel Progress Indicators */
.hero-dots {
  display: flex; gap: 8px; margin-top: 20px; align-items: center;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-dot.active {
  width: 28px; border-radius: 14px; background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.g-hero-action {
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0;
}
.hero-nav-bar {
  display: flex; align-items: center; gap: 10px;
}
.h-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 1.3rem; font-weight: 700;
  display: grid; place-items: center; cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.h-nav-btn:hover {
  background: var(--red); border-color: var(--red);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255,45,45,0.6);
}

.g-hero-date {
  font-size: 0.9rem; font-weight: 600; color: var(--gold);
  background: rgba(0,0,0,0.6); padding: 6px 14px; border-radius: 50px;
  border: 1px solid rgba(255, 206, 107, 0.3);
}
.g-hero-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; padding: 14px 28px;
  border-radius: 50px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  backdrop-filter: blur(15px);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.gallery-hero-card:hover .g-hero-btn {
  background: var(--red); border-color: var(--red);
  box-shadow: 0 10px 25px rgba(255, 45, 45, 0.5);
  transform: translateY(-3px);
}

/* ---------- Animated Stat Icons ---------- */
.icon-anim-pulse svg {
  animation: pulseIconAnim 2.2s infinite ease-in-out;
  color: #ff5e5e;
  filter: drop-shadow(0 0 10px rgba(255,94,94,0.6));
}
.icon-anim-zap svg {
  animation: zapIconAnim 1.6s infinite ease-in-out;
  color: #ffce6b;
  filter: drop-shadow(0 0 10px rgba(255,206,107,0.6));
}
.icon-anim-glow svg {
  animation: spinGlowAnim 5s infinite linear;
  color: #00ff66;
  filter: drop-shadow(0 0 10px rgba(0,255,102,0.6));
}
@keyframes pulseIconAnim {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
}
@keyframes zapIconAnim {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.12); }
}
@keyframes spinGlowAnim {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Uploader Bar Above Image ---------- */
.g-card-uploader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(18, 14, 16, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 5;
  flex-shrink: 0;
}
.g-uploader-user {
  display: flex; align-items: center; gap: 8px;
}
.u-avatar-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 45, 45, 0.15); border: 1px solid rgba(255, 45, 45, 0.35);
  display: grid; place-items: center; color: var(--red-soft);
}
.u-name-text {
  font-family: "Inter", sans-serif; font-size: 0.82rem; font-weight: 700; color: #fff;
  letter-spacing: 0.3px;
}

.hero-uploader-bar {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

/* ---------- Perfectly Symmetrical Gallery Grid ---------- */
.gallery-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* Dim surrounding cards when hovering over grid */
@media (hover: hover) {
  .gallery-grid-v2:hover .gallery-card:not(:hover) {
    opacity: 0.45;
    filter: grayscale(35%) blur(1.5px);
    transform: scale(0.98);
  }
}

/* Symmetric Card Hierarchy */
.gallery-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #110d0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}
.gallery-card.card-wide {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .gallery-card.card-wide { grid-column: span 1; }
}

/* Mouse Spotlight Radial Highlight */
.gallery-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 45, 45, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 3;
}
.gallery-card:hover::before { opacity: 1; }

.gallery-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(255, 45, 45, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 45, 45, 0.22);
  z-index: 20;
}

.g-card-img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.gallery-card.card-wide .g-card-img-wrap {
  height: 250px;
}
.g-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-card:hover .g-card-img {
  transform: scale(1.08);
}

/* Glass Reflection Gleam */
.g-glass-gleam {
  position: absolute; top: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none; z-index: 2;
}

/* Rich Hover Overlay */
.g-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 5, 7, 0.95) 0%, rgba(8, 5, 7, 0.45) 45%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  z-index: 4;
}
.gallery-card:hover .g-card-overlay { opacity: 1; }

.g-overlay-top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.g-badge {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-weight: 800; font-size: 0.72rem;
  letter-spacing: 1.2px; padding: 5px 12px;
  border-radius: 6px; text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.g-badge.build { border-color: rgba(0, 255, 102, 0.4); color: #00ff66; }
.g-badge.event { border-color: rgba(255, 206, 107, 0.4); color: #ffce6b; }
.g-badge.pvp { border-color: rgba(255, 45, 45, 0.4); color: #ff5e5e; }
.g-badge.meme { border-color: rgba(168, 85, 247, 0.4); color: #c084fc; }

.g-view-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 45, 45, 0.9);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 15px rgba(255, 45, 45, 0.6);
  transform: scale(0.8); transition: transform 0.3s;
}
.gallery-card:hover .g-view-icon { transform: scale(1); }

.g-overlay-bot {
  text-align: left;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-card:hover .g-overlay-bot { transform: translateY(0); }

.g-card-date {
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.g-card-caption {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem; font-weight: 700; color: #fff;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Infinite Loading Sentinel & Spinner ---------- */
.gallery-sentinel {
  padding: 50px 0;
  display: flex; justify-content: center; align-items: center;
}
.gallery-spinner {
  width: 40px; height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.gallery-spinner.active { display: block; }

/* Entrance Animations */
.gallery-card.anim-enter {
  opacity: 0; transform: translateY(35px) scale(0.96);
}
.gallery-card.anim-loaded {
  opacity: 1; transform: translateY(0) scale(1);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 900px) {
  .gallery-grid-v2 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 210px;
    gap: 16px;
  }
  .gallery-card.card-large { grid-column: span 1; grid-row: span 2; }
  .g-hero-content { flex-direction: column; align-items: flex-start; padding: 28px; }
  .g-hero-action { align-items: flex-start; width: 100%; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 600px) {
  .gallery-grid-v2 {
    grid-template-columns: 100%;
    grid-auto-rows: 240px;
  }
  .gallery-card.card-large, .gallery-card.card-med { grid-column: span 1; grid-row: span 1; }
  .gallery-hero-card { height: 420px; border-radius: 20px; }
  .g-stat-card { flex: 1 1 100%; }
}

/* ============================================================= */
/*  FULLSCREEN GALLERY VIEWER (LIGHTBOX V2)                      */
/* ============================================================= */
.lightbox-v2 {
  position: fixed; inset: 0; z-index: 99999;
  display: none; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox-v2.open { display: flex; opacity: 1; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 4, 6, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: -1;
}

.lb-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 36px;
  z-index: 10;
}
.lb-counter {
  font-family: "Outfit", sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.08); padding: 8px 20px; border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lb-close-btn {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
  transition: all 0.3s;
}
.lb-close-btn:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg) scale(1.1); }

.lb-stage-v2 {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; position: relative; overflow: hidden;
}
.lb-nav-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff; font-size: 2.5rem; cursor: pointer; display: grid; place-items: center; padding-bottom: 5px;
  transition: all 0.3s; z-index: 10;
}
.lb-nav-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.12); }

.lb-img-wrap {
  flex: 1; height: 100%; max-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.lb-img-v2 {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 45, 45, 0.12);
  transform: scale(0.95); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox-v2.open .lb-img-v2 { transform: scale(1); }

.lb-bottombar {
  padding: 24px 36px 36px;
  display: flex; justify-content: center;
  z-index: 10;
}
.lb-meta-card {
  display: flex; align-items: center; gap: 20px;
  background: rgba(20, 15, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 32px; border-radius: 50px;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  max-width: 700px;
}
.lb-cat-badge {
  background: var(--red); color: #fff; font-weight: 800; font-size: 0.78rem;
  padding: 6px 14px; border-radius: 50px; letter-spacing: 1px;
}
.lb-meta-text { text-align: left; }
.lb-caption-v2 { font-family: "Outfit", sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0; line-height: 1.2; }
.lb-date-v2 { font-size: 0.85rem; color: var(--gold); font-weight: 600; }

@media (max-width: 768px) {
  .lb-topbar { padding: 14px 16px; }
  .lb-bottombar { padding: 12px 16px 20px; }
  .lb-stage-v2 { padding: 0 4px; position: relative; }
  .lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    font-size: 1.6rem;
    background: rgba(10, 10, 14, 0.75);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.25);
    z-index: 20;
  }
  .lb-prev-btn { left: 8px; }
  .lb-next-btn { right: 8px; }
  .lb-img-wrap { padding: 0; max-height: 64vh; width: 100%; }
  .lb-img-v2 { border-radius: 12px; max-height: 64vh; }
  .lb-meta-card { flex-direction: column; gap: 6px; padding: 14px 20px; border-radius: 20px; text-align: center; width: 100%; }
  .lb-meta-text { text-align: center; }
  .lb-caption-v2 { font-size: 1.05rem; }
  .lb-date-v2 { font-size: 0.78rem; }
}

/* ============================================================= */
/*  WHITELIST FORM                                               */
/* ============================================================= */
.form-wrap {
  max-width: 580px;
  margin: clamp(120px, 16vh, 150px) auto 60px;
  padding: 40px;
}
.form-wrap h1 { text-align: center; font-size: 2rem; margin-bottom: 8px; }
.form-wrap .form-sub { text-align: center; color: var(--muted); margin-bottom: 28px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.input-group input, .input-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.input-group input:focus, .input-group select:focus {
  outline: none;
  border-color: var(--red-soft);
  background: rgba(255, 255, 255, 0.09);
}
.input-group select option { background: var(--bg-2); color: var(--white); }
.info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}
.form-wrap .btn { width: 100%; justify-content: center; margin-top: 8px; }
#formMsg {
  display: none;
  margin-top: 18px;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
}
#formMsg.ok { display: block; background: rgba(59, 165, 93, 0.12); border: 1px solid rgba(59, 165, 93, 0.4); color: #6ee7a0; }
#formMsg.err { display: block; background: rgba(255, 45, 45, 0.12); border: 1px solid rgba(255, 45, 45, 0.4); color: #ff8a8a; }

/* ============================================================= */
/*  JOIN CARDS                                                   */
/* ============================================================= */
.join-section .join-grid {
  gap: 30px;
}
.join-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  cursor: pointer;
}
.join-card:not(.no-hover):hover {
  border-color: var(--red-soft);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 45, 45, 0.3), var(--glow-red);
}
.join-card:not(.no-hover):active {
  transform: translateY(-5px);
}
.join-icon {
  color: var(--red-soft);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 45, 45, 0.4));
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.join-card:hover .join-icon {
  transform: scale(1.15) rotate(-5deg);
  color: var(--white);
}
.join-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--white);
}
.join-card p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.join-card b {
  color: var(--white);
}
.ip-text {
  font-family: monospace;
  background: var(--glass-2);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--gold);
}
.copy-hint {
  margin-top: 15px;
  padding-top: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red-soft);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.join-card:hover .copy-hint {
  opacity: 1;
  transform: translateY(-2px);
}
.join-card .no-copy {
  color: var(--muted);
  opacity: 0.5;
}
.join-card.no-hover {
  cursor: default;
}
.join-card.no-hover:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.join-card.no-hover:hover .join-icon {
  transform: scale(1.1);
  color: var(--red-soft);
}

/* ============================================================= */
/*  GLOBAL MOBILE & TOUCH OPTIMIZATION                           */
/* ============================================================= */
/* Remove default tap highlight box on iOS/Android */
a, button, .card, .bento-item, .store-item, .filter-btn, .mobile-menu-icon {
  -webkit-tap-highlight-color: transparent;
}

/* Optimize touch interactions and prevent stuck hover effects */
@media (hover: none) {
  .card:not(.no-hover):active,
  .bento-item:active,
  .store-item:active,
  .join-card:not(.no-hover):active {
    transform: scale(0.98);
    border-color: var(--red-soft);
  }
  .btn:active, .filter-btn:active {
    transform: scale(0.96);
  }
}

/* Ergonomic touch sizing and mobile layout enhancements */
@media (max-width: 620px) {
  /* Navigation */
  .mobile-menu-icon {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #mobileNav {
    width: min(85%, 320px);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }
  #mobileNav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
  }

  /* Hero & Page Headers */
  .hero, .page-head {
    padding: clamp(80px, 14vh, 120px) 16px 36px;
  }
  .hero-title, .coming-title, .page-head h1 {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
    word-break: break-word;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids & Cards */
  .grid, .join-grid, .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .card, .join-card, .bento-item, .form-wrap, .coming-card {
    padding: 24px 16px !important;
    border-radius: 18px;
  }
  .status-hero-val {
    font-size: clamp(2rem, 11vw, 2.7rem) !important;
    word-break: break-word;
  }
  .b-val {
    font-size: clamp(2rem, 10vw, 2.5rem) !important;
  }
  .u-val {
    font-size: clamp(2.3rem, 12vw, 3.2rem) !important;
  }
  .section {
    padding: 50px 16px;
  }

  /* Launch badge wrapping */
  .launch-badge, .launch-banner-v2 {
    text-align: center;
    padding: 8px 14px;
    line-height: 1.4;
    font-size: 0.9rem;
  }
}

/* ============================================================= */
/*  MODDED SMP DETAIL MODAL                                       */
/* ============================================================= */
.msmp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.msmp-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.msmp-modal {
  position: relative;
  width: min(680px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(170deg, rgba(18, 12, 16, 0.98), rgba(8, 6, 10, 0.99));
  border: 1px solid rgba(255, 45, 45, 0.35);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.95), 0 0 80px rgba(255, 45, 45, 0.15);
  transform: scale(0.85) translateY(40px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.msmp-modal-backdrop.open .msmp-modal {
  transform: scale(1) translateY(0);
}
.msmp-modal::-webkit-scrollbar { width: 6px; }
.msmp-modal::-webkit-scrollbar-track { background: transparent; }
.msmp-modal::-webkit-scrollbar-thumb { background: rgba(255, 45, 45, 0.3); border-radius: 6px; }

.msmp-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 14px 0 0;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.msmp-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* Hero */
.msmp-hero {
  position: relative;
  padding: 50px 32px 36px;
  overflow: hidden;
  text-align: center;
}
.msmp-hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.35), transparent 65%);
  pointer-events: none;
  animation: msmpGlowPulse 3s ease-in-out infinite alternate;
}
@keyframes msmpGlowPulse {
  from { opacity: 0.6; transform: translateX(-50%) scale(0.9); }
  to { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.msmp-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.msmp-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: #ff4d4d;
  border-radius: 50%;
  opacity: 0;
  animation: msmpFloat 4s ease-in-out infinite;
}
@keyframes msmpFloat {
  0% { opacity: 0; transform: translateY(100px) scale(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-200px) scale(1.5); }
}
.msmp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ff6b6b;
  text-transform: uppercase;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.3);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.msmp-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.msmp-tagline {
  font-size: 1rem;
  color: #b0b0c5;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats */
.msmp-stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 28px 28px;
}
.msmp-stat {
  text-align: center;
  flex: 1;
  min-width: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.msmp-stat:hover {
  border-color: rgba(255, 45, 45, 0.5);
  transform: translateY(-4px);
}
.msmp-stat-num {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #ff3b3b;
  text-shadow: 0 0 20px rgba(255, 45, 45, 0.5);
  line-height: 1;
}
.msmp-stat-plus {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #ff6b6b;
}
.msmp-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9a9ab0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature Cards */
.msmp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 28px 28px;
}
.msmp-feat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
}
.msmp-modal-backdrop.open .msmp-feat-card {
  animation: msmpCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}
@keyframes msmpCardIn {
  to { opacity: 1; transform: translateY(0); }
}
.msmp-feat-card:hover {
  background: rgba(255, 45, 45, 0.08);
  border-color: rgba(255, 45, 45, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 45, 45, 0.12);
}
.msmp-feat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.25), rgba(255, 45, 45, 0.05));
  border: 1px solid rgba(255, 60, 60, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4d4d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.msmp-feat-card:hover .msmp-feat-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 25px rgba(255, 45, 45, 0.4);
}
.msmp-feat-icon svg { width: 24px; height: 24px; }
.msmp-feat-card h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.msmp-feat-card p {
  font-size: 0.82rem;
  color: #9a9ab0;
  line-height: 1.5;
}

/* CTA */
.msmp-cta {
  text-align: center;
  padding: 8px 28px 36px;
}
.msmp-discord-btn {
  display: inline-flex;
  padding: 14px 42px !important;
  font-size: 1rem !important;
  border-radius: 60px !important;
}
/* Section Head */
.msmp-section-head {
  text-align: center;
  padding: 0 28px 20px;
}
.msmp-section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 900;
  color: #fff;
}
/* Description Interactive Cards */
.msmp-desc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 28px 24px;
}
.msmp-desc-box {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.msmp-modal-backdrop.open .msmp-desc-box {
  animation: msmpDescIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0.1s);
}
@keyframes msmpDescIn {
  to { opacity: 1; transform: translateY(0); }
}
.msmp-desc-box:hover {
  background: rgba(255, 45, 45, 0.07);
  border-color: rgba(255, 45, 45, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 45, 45, 0.12);
}
.desc-icon-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.desc-icon {
  font-size: 1.4rem;
  background: rgba(255, 45, 45, 0.15);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 45, 45, 0.3);
}
.desc-icon-header h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.msmp-desc-box p {
  color: #b0b0c5;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Feature Tags Grid */
.msmp-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 28px 28px;
}
.msmp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 10px 20px;
  color: #e0e0ec;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: default;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.msmp-modal-backdrop.open .msmp-tag {
  animation: msmpTagIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay);
}
@keyframes msmpTagIn {
  to { opacity: 1; transform: translateY(0); }
}
.msmp-tag:hover {
  background: rgba(255, 45, 45, 0.12);
  border-color: rgba(255, 45, 45, 0.5);
  color: #ff6b6b;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 25px rgba(255, 45, 45, 0.15);
}
.msmp-tag svg {
  color: #ff4d4d;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .msmp-modal { width: 96vw; border-radius: 18px; }
  .msmp-hero { padding: 36px 20px 24px; }
  .msmp-desc-cards { grid-template-columns: 1fr; padding: 0 16px 16px; }
  .msmp-tags-grid { padding: 0 16px 20px; gap: 8px; }
  .msmp-tag { padding: 8px 14px; font-size: 0.8rem; }
  .msmp-section-head { padding: 0 16px 14px; }
}

/* ============================================================= */
/*  DEDICATED MODDED SMP PAGE (/modded/)                         */
/* ============================================================= */
.modded-page-head {
  padding: 160px 20px 60px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.modded-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 30px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.modded-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 40px;
}
.modded-intro-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 24px;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.modded-intro-card:hover {
  background: rgba(255, 45, 45, 0.07);
  border-color: rgba(255, 45, 45, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(255, 45, 45, 0.15);
}
.intro-card-icon {
  font-size: 1.5rem;
  background: rgba(255, 45, 45, 0.15);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 45, 45, 0.35);
  margin-bottom: 14px;
}
.modded-intro-card h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.modded-intro-card p {
  color: #c0c0d5;
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}
.modded-intro-desc strong { color: #fff; }

/* Seamless Server Panel */
.modded-server-panel {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}
.modded-server-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 59, 0.6), transparent);
}
.panel-top-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.35);
  padding: 6px 18px;
  border-radius: 50px;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ff6b6b;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 10px #ff3b3b;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.server-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.connect-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: all 0.3s ease;
}
.connect-tile:hover {
  background: rgba(255, 45, 45, 0.06);
  border-color: rgba(255, 45, 45, 0.35);
}
.connect-tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4d4d;
  flex-shrink: 0;
}
.connect-tile-icon svg { width: 22px; height: 22px; }
.connect-tile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.connect-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8e8ea6;
  letter-spacing: 1.2px;
}
.connect-val {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.connect-val.locked { color: #ff6b6b; }
.panel-footer-action {
  display: flex;
  justify-content: center;
}
.panel-discord-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 36px !important;
  font-size: 1rem !important;
  border-radius: 50px !important;
}

/* Stats Section */
.modded-stats-section { padding-top: 10px; }
.modded-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.modded-stat-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.modded-stat-item:hover {
  border-color: rgba(255, 45, 45, 0.5);
  transform: translateY(-4px);
}
.stat-num {
  font-family: "Outfit", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ff3b3b;
  text-shadow: 0 0 20px rgba(255, 45, 45, 0.4);
}
.stat-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a0a0b8;
  margin-top: 6px;
}

/* Photo Gallery Showcase */
.modded-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 30px auto 0;
}
.modded-photo {
  position: relative;
  border-radius: 20px !important;
  overflow: hidden;
  height: 320px;
  background: #111;
  padding: 0 !important;
}
.modded-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.modded-photo:hover img {
  transform: scale(1.08);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
}
.photo-overlay span {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Feature Grid */
.modded-features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 30px auto 0;
}
.modded-feat-card {
  padding: 28px 22px !important;
  text-align: left !important;
}
.modded-feat-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(255, 45, 45, 0.12);
  border: 1px solid rgba(255, 45, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4d4d;
  margin-bottom: 18px;
}
.modded-feat-icon svg { width: 26px; height: 26px; }
.modded-feat-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.modded-feat-card p {
  color: #a0a0b8;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Tags Container */
.modded-tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 30px auto 0;
}
.mod-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 12px 22px;
  color: #e0e0ec;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.mod-tag:hover {
  background: rgba(255, 45, 45, 0.15);
  border-color: rgba(255, 45, 45, 0.5);
  color: #ff6b6b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 45, 45, 0.15);
}
.mod-tag svg { width: 18px; height: 18px; color: #ff4d4d; }

.modded-final-cta {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 30px !important;
}

/* Responsive Mobile Rules */
@media (max-width: 880px) {
  .modded-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modded-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .modded-page-head { padding: 130px 16px 40px; }
  .modded-hero-title { font-size: 2.6rem; }
  .modded-intro-grid { grid-template-columns: 1fr; gap: 14px; }
  .server-connect-grid { grid-template-columns: 1fr; gap: 12px; }
  .modded-server-panel { padding: 22px 16px; border-radius: 20px; }
  .panel-discord-btn { width: 100% !important; justify-content: center; }
  .modded-gallery-grid { grid-template-columns: 1fr; }
  .modded-photo { height: 240px; }
  .modded-features-grid { grid-template-columns: 1fr; }
  .modded-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-num { font-size: 1.8rem; }
  .mod-tag { padding: 9px 16px; font-size: 0.82rem; }
}
