/* ==========================================================================
   BeaconMC Official Stylesheet
   Theme: Dark Premium Minecraft Network (Obsidian, Cyan / Aqua Glow)
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  /* Colors */
  --bg-dark: #070b14;
  --bg-card: rgba(13, 20, 36, 0.76);
  --bg-card-hover: rgba(18, 28, 50, 0.85);
  --bg-card-featured: rgba(26, 16, 38, 0.88);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-hover: #38f9d7;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-cyan-border: rgba(0, 240, 255, 0.16);
  
  --accent-discord: #5865F2;
  --accent-discord-hover: #4752c4;
  --accent-discord-glow: rgba(88, 101, 242, 0.4);

  --accent-gold: #fbbf24;
  --accent-green: #22c55e;
  --accent-green-glow: rgba(34, 197, 94, 0.4);
  --accent-devil: #ef4444;
  --accent-devil-glow: rgba(239, 68, 68, 0.35);
  --accent-purple: #a855f7;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-cyan: #38e1ff;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #00f0ff;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Layout */
  --container-max: 1240px;
  --header-height: 82px;
  --header-height-scrolled: 78px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 32%, rgba(7, 11, 20, 0.40) 0%, rgba(7, 11, 20, 0.74) 68%, rgba(7, 11, 20, 0.88) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.36) 0%, rgba(7, 11, 20, 0.70) 55%, rgba(7, 11, 20, 0.85) 100%),
    url('background.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-cyan);
  color: #050811;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

/* --- Cross-Document View Transitions & Page Entrance Animation --- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: 260ms cubic-bezier(0.16, 1, 0.3, 1) both pageViewFadeOut;
  }

  ::view-transition-new(root) {
    animation: 320ms cubic-bezier(0.16, 1, 0.3, 1) both pageViewFadeIn;
  }
}

@keyframes pageViewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pageViewFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.995);
  }
}

/* Fallback page entrance animation for seamless navigation */
.page-wrapper {
  animation: pageEnter 320ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Global Background Canvas with Dimmed Cinematic Overlay --- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 50% 32%, rgba(7, 11, 20, 0.40) 0%, rgba(7, 11, 20, 0.74) 68%, rgba(7, 11, 20, 0.88) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.36) 0%, rgba(7, 11, 20, 0.70) 55%, rgba(7, 11, 20, 0.85) 100%),
    url('background.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: contrast(1.1) saturate(1.2);
}

.site-bg-overlay {
  display: none;
}

/* Requested Backdrop / Background Element 19132 */
.site-backdrop-element,
#backdrop-19132,
[data-backdrop="19132"] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(0, 240, 255, 0.06) 0%, transparent 55%),
              radial-gradient(circle at 15% 75%, rgba(88, 101, 242, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.02) 0%, transparent 70%);
  z-index: 1;
}

#main-content {
  position: relative;
  z-index: 2;
}

/* --- Common Layout & Containers --- */
.section {
  padding: 96px 20px;
  position: relative;
  z-index: 2;
}

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

.section-header {
  margin-bottom: 52px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* Glass panel utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accent-cyan-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-cyan-glow {
  color: var(--accent-cyan);
  text-shadow: 0 0 24px var(--accent-cyan-glow);
}

.text-green {
  color: var(--accent-green);
}

.text-amber {
  color: var(--accent-gold);
}

.text-devil {
  color: #ff5252;
  text-shadow: 0 0 18px var(--accent-devil-glow);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 18px 42px;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #070b14;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}
.btn-primary:hover {
  background: var(--accent-cyan-hover);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.btn-discord {
  background: var(--accent-discord);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-discord-glow);
}
.btn-discord:hover {
  background: var(--accent-discord-hover);
  box-shadow: 0 6px 26px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

/* Button Inline Copied State */
.btn-copy-mini.btn-copied {
  background: var(--accent-cyan) !important;
  color: #070b14 !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.6) !important;
  transform: scale(1.05);
}

.copy-ip-btn.btn-copied,
.btn-primary.btn-copied {
  background: #00f0ff !important;
  color: #070b14 !important;
  border-color: #00f0ff !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.65) !important;
  transform: translateY(-2px) scale(1.02);
}

.copy-port-btn.btn-copied,
.btn-outline.btn-copied {
  background: rgba(0, 240, 255, 0.22) !important;
  color: #00f0ff !important;
  border-color: #00f0ff !important;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.5) !important;
  transform: translateY(-2px) scale(1.02);
}

.btn-copied svg {
  animation: checkPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkPop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- Sticky Header / Navbar --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  transition: height 300ms cubic-bezier(0.16, 1, 0.3, 1),
              background 300ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(5, 9, 18, 0.94);
  border-bottom-color: rgba(0, 240, 255, 0.24);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navbar Logo Entrance Animation */
@keyframes navLogoEntrance {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  animation: navLogoEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--accent-cyan-glow));
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.brand-highlight {
  color: var(--accent-cyan);
}

.desktop-nav {
  display: block;
  margin-left: 36px;
  margin-right: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

/* Staggered entrance animation for nav links */
@keyframes navLinkEntrance {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-list li:nth-child(1) { animation: navLinkEntrance 0.32s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-list li:nth-child(2) { animation: navLinkEntrance 0.32s 0.09s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-list li:nth-child(3) { animation: navLinkEntrance 0.32s 0.13s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-list li:nth-child(4) { animation: navLinkEntrance 0.32s 0.17s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-list li:nth-child(5) { animation: navLinkEntrance 0.32s 0.21s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-list li:nth-child(6) { animation: navLinkEntrance 0.32s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-list li:nth-child(7) { animation: navLinkEntrance 0.32s 0.29s cubic-bezier(0.16, 1, 0.3, 1) both; }

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              background 280ms cubic-bezier(0.16, 1, 0.3, 1),
              text-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover State: cyan text, lift 2px, subtle glow, soft rounded background highlight */
.nav-link:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
  background: rgba(0, 240, 255, 0.06);
  text-shadow: 0 0 12px var(--accent-cyan-glow);
}

/* Active State: cyan text, subtle background highlight, soft glow */
.nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  text-shadow: 0 0 14px var(--accent-cyan-glow);
}

/* Underline Animation: smoothly expands from the CENTER outward */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  border-radius: var(--radius-full);
  transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 20px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Discord button entrance animation */
@keyframes navDiscordEntrance {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header-discord-btn {
  animation: navDiscordEntrance 0.45s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.header-discord-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 26px rgba(88, 101, 242, 0.6);
}

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-toggle-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--accent-cyan-border);
  padding: 24px 20px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  animation: slideDownMobile 0.25s ease forwards;
}

@keyframes slideDownMobile {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
  border-left-color: var(--accent-cyan);
}

.mobile-nav-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* --- Hero Section --- */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px 84px;
  text-align: center;
  position: relative;
}

.hero-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 26px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  max-width: 100%;
  text-align: center;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  display: inline-block;
  animation: pulseCyan 2s infinite ease-in-out;
}

@keyframes pulseCyan {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6.2vw, 4.3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--text-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-description {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 38px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

/* Quick Hero Status Bar */
.hero-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(13, 20, 36, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--accent-cyan-border);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.status-pulse-dot.online {
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green-glow);
  animation: pulseDot 2s infinite ease-in-out;
}

.status-pulse-dot.offline {
  background: var(--accent-devil);
  box-shadow: 0 0 12px var(--accent-devil-glow);
}

.status-pulse-dot.unavailable {
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.6; }
}

.status-text {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.status-separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.status-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.status-value {
  font-weight: 600;
  color: #ffffff;
}

.btn-copy-mini {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-copy-mini:hover {
  background: var(--accent-cyan);
  color: #070b14;
}

/* --- Live Server Status Section --- */
.status-dashboard-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px;
}

.status-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.server-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.server-icon-img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  object-fit: contain;
}

.server-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.server-ip-display {
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.server-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.server-status-badge.online {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--accent-green);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}

.server-status-badge.offline {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: var(--accent-devil);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.2);
}

.server-status-badge.unavailable {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: var(--accent-gold);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.2);
}

.status-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.metric-card {
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.metric-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition: width var(--transition-slow);
}

.status-dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.refresh-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- How to Join Section --- */
.join-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.join-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.join-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 240, 255, 0.12);
}

.join-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.platform-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.platform-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.join-details-list {
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.detail-label {
  color: var(--text-muted);
  font-weight: 600;
}

.detail-value {
  font-weight: 700;
  color: #ffffff;
  text-align: right;
  overflow-wrap: break-word;
}

.join-card-actions {
  display: flex;
  gap: 12px;
}

.dual-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about-main-text {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-tagline-box {
  padding: 18px 24px;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent-cyan);
}

.tagline-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.tagline-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pillar-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-fast);
}
.pillar-item:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.pillar-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.brand-showcase-card {
  padding: 44px 36px;
  text-align: center;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 16px 48px rgba(0, 240, 255, 0.08);
}

.about-logo-large {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 24px var(--accent-cyan-glow));
  transition: transform var(--transition-slow);
}
.brand-showcase-card:hover .about-logo-large {
  transform: scale(1.04) rotate(1deg);
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.about-card-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.about-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 20px 48px rgba(0, 240, 255, 0.12);
}

.feature-icon-box {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.15);
  transition: transform var(--transition-normal);
}
.feature-card:hover .feature-icon-box {
  transform: scale(1.08);
  background: rgba(0, 240, 255, 0.14);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* --- STAFF SHOWCASE SECTION (Premium Profile Style) --- */
.staff-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

/* Staff Card */
.staff-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 44px;
  gap: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-cyan-border);
}

.staff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 28px rgba(0, 240, 255, 0.12);
}

/* Alternating Layout */
.staff-card--info-left {
  flex-direction: row;
}

.staff-card--avatar-left {
  flex-direction: row-reverse;
}

/* Staff Content Side */
.staff-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
  flex: 1;
}

.staff-card--avatar-left .staff-card__content {
  align-items: flex-start;
  text-align: left;
}

/* Role / Tag (Prominently at the TOP) */
.staff-role {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.staff-role--owner {
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.2);
}

.staff-role--founder {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.2);
}

.staff-role--coowner {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}

.staff-role--cofounder {
  background: rgba(139, 92, 246, 0.14);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.2);
}

.staff-role--admin {
  background: rgba(244, 63, 94, 0.14);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.25);
}

.staff-role--mod {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

.staff-role--staff {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 14px var(--accent-green-glow);
}

.staff-role--builder {
  background: rgba(249, 115, 22, 0.14);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.2);
}

.staff-role--helper {
  background: rgba(20, 184, 166, 0.14);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.35);
  box-shadow: 0 0 14px rgba(20, 184, 166, 0.2);
}

/* Minecraft IGN (MAIN LARGE TITLE - Prominent & Premium) */
.staff-minecraft-ign {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
  overflow-wrap: break-word;
}

/* Discord Name (Supporting Information Below/Near IGN) */
.staff-discord-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: 2px;
  transition: border-color var(--transition-fast);
}
.staff-discord-meta:hover {
  border-color: rgba(88, 101, 242, 0.5);
}

.icon-discord-mini {
  color: #5865F2;
  flex-shrink: 0;
}

.staff-discord-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

.staff-discord-val {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
}

/* Staff Avatar Presentation */
.staff-card__avatar-side {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.staff-avatar-ring {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.5), rgba(88, 101, 242, 0.3));
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.staff-card:hover .staff-avatar-ring {
  transform: scale(1.05);
  box-shadow: 0 0 36px rgba(0, 240, 255, 0.35);
}

.staff-avatar-ring--owner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(245, 158, 11, 0.4));
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.25);
}
.staff-card:hover .staff-avatar-ring--owner {
  box-shadow: 0 0 36px rgba(251, 191, 36, 0.4);
}

.staff-avatar-ring--founder {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.6), rgba(139, 92, 246, 0.4));
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.25);
}
.staff-card:hover .staff-avatar-ring--founder {
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.4);
}

.staff-avatar-ring--coowner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.6), rgba(14, 165, 233, 0.4));
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.25);
}
.staff-card:hover .staff-avatar-ring--coowner {
  box-shadow: 0 0 36px rgba(0, 240, 255, 0.4);
}

.staff-avatar-ring--cofounder {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(99, 102, 241, 0.4));
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.25);
}
.staff-card:hover .staff-avatar-ring--cofounder {
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.4);
}

.staff-avatar-ring--admin {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.6), rgba(168, 85, 247, 0.4));
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.25);
}
.staff-card:hover .staff-avatar-ring--admin {
  box-shadow: 0 0 36px rgba(244, 63, 94, 0.4);
}

.staff-avatar-ring--mod {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(37, 99, 235, 0.4));
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.25);
}
.staff-card:hover .staff-avatar-ring--mod {
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.4);
}

.staff-avatar-ring--staff {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.6), rgba(16, 185, 129, 0.4));
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.25);
}
.staff-card:hover .staff-avatar-ring--staff {
  box-shadow: 0 0 36px rgba(34, 197, 94, 0.4);
}

.staff-avatar-ring--builder {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.6), rgba(234, 88, 12, 0.4));
  box-shadow: 0 0 28px rgba(249, 115, 22, 0.25);
}
.staff-card:hover .staff-avatar-ring--builder {
  box-shadow: 0 0 36px rgba(249, 115, 22, 0.4);
}

.staff-avatar-ring--helper {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.6), rgba(13, 148, 136, 0.4));
  box-shadow: 0 0 28px rgba(20, 184, 166, 0.25);
}
.staff-card:hover .staff-avatar-ring--helper {
  box-shadow: 0 0 36px rgba(20, 184, 166, 0.4);
}

.staff-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #090e1c;
}

/* --- Paid Ranks Section --- */
.rank-notice-banner {
  max-width: 900px;
  margin: 0 auto 36px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-cyan);
  background: rgba(0, 240, 255, 0.06);
  border: 1px dashed var(--accent-cyan-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.rank-card {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.rank-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 28px rgba(0, 240, 255, 0.15);
}

/* Featured Devil Rank */
.rank-card--featured {
  background: var(--bg-card-featured);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 68, 68, 0.2);
  transform: scale(1.03);
  z-index: 2;
}

.rank-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
  border-color: #ef4444;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 38px rgba(239, 68, 68, 0.35);
}

.rank-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5);
}

.rank-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.rank-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.rank-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.rank-price {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.rank-card--featured .rank-price {
  color: #ff5252;
}

.rank-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  min-height: 38px;
}

.rank-card-body {
  margin-bottom: 24px;
  flex: 1;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.perk-highlight {
  font-weight: 600;
  color: var(--text-primary) !important;
}

.perk-devil-special {
  font-weight: 700;
  color: #ff8080 !important;
}

.perk-icon {
  flex-shrink: 0;
}

.btn-featured-glow {
  background: #ef4444 !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5) !important;
}
.btn-featured-glow:hover {
  background: #dc2626 !important;
  box-shadow: 0 6px 28px rgba(239, 68, 68, 0.7) !important;
}

/* Purchase Guidance */
.purchase-guidance-grid {
  display: block;
  max-width: 680px;
  margin: 0 auto;
}

.guidance-card {
  padding: 36px;
}

.guidance-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-fast);
}
.step-item:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #070b14;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.step-name {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.link-discord-inline {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.link-discord-inline:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --- Rules Section --- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rule-card {
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.8;
  margin-bottom: 12px;
}

.rule-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.rule-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- FAQ Section (Accordion) --- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.35);
  background: var(--bg-card-hover);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent-cyan);
  line-height: 1;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.faq-body {
  min-height: 0;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-body code {
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.faq-body strong {
  color: #ffffff;
}

/* --- Discord Community Section --- */
.discord-hero-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(88, 101, 242, 0.22), transparent 75%), var(--bg-card);
  border-color: rgba(88, 101, 242, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(88, 101, 242, 0.18);
}

.discord-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  margin-bottom: 20px;
}
.discord-badge .badge-dot {
  background: #a5b4fc;
  box-shadow: 0 0 10px #a5b4fc;
}

.discord-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.discord-hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.discord-cta-wrap {
  display: flex;
  justify-content: center;
}

/* --- Home Page Navigation Grid (CTA cards leading to separate pages) --- */
.home-nav-section {
  padding: 80px 20px 100px;
  position: relative;
  z-index: 2;
}

.home-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-nav-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-cyan-border);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
              background 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.home-nav-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15);
}

.home-nav-card:hover::before {
  opacity: 1;
}

.home-nav-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
              background 300ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-nav-card:hover .home-nav-icon-wrap {
  transform: scale(1.08) translateY(-2px);
  background: rgba(0, 240, 255, 0.16);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.home-nav-tag {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: block;
}

.home-nav-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.home-nav-card:hover .home-nav-title {
  color: var(--accent-cyan);
}

.home-nav-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.home-nav-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}

.home-nav-card:hover .home-nav-footer {
  gap: 12px;
}

.home-nav-arrow {
  transition: transform var(--transition-fast);
}

.home-nav-card:hover .home-nav-arrow {
  transform: translateX(4px);
}

/* --- Internal Dedicated Page Hero Banner --- */
.page-hero {
  padding: 68px 20px 48px;
  position: relative;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(88, 101, 242, 0.05) 50%, transparent 75%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.page-hero-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.page-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
  color: var(--accent-cyan);
}

.page-breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.6;
}

.page-breadcrumb-current {
  color: var(--accent-cyan);
  font-weight: 600;
}

@keyframes badgeFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(-14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtitleFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--accent-cyan-border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  animation: badgeFadeSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  line-height: 1.15;
  animation: titleFadeSlide 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  animation: subtitleFadeSlide 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s backwards;
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Subpage Content Container */
.subpage-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 20px 96px;
  position: relative;
  z-index: 2;
}

/* --- Footer --- */
.site-footer {
  background: #04070d;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  padding: 70px 20px 36px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  min-width: 220px;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

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

.footer-server-ip {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links-list a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.disclaimer-text {
  font-size: 0.78rem;
  max-width: 520px;
  line-height: 1.5;
}

/* --- Responsive Media Queries --- */

/* Laptops & Medium Desktops (max 1200px) */
@media (max-width: 1200px) {
  .ranks-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .rank-card--featured {
    transform: none;
  }
  .rank-card--featured:hover {
    transform: translateY(-8px);
  }
}

/* Tablets (max 992px) */
@media (max-width: 992px) {
  .section {
    padding: 72px 20px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-visual {
    order: -1;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .status-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    gap: 40px;
  }
}

/* Mobile & Small Tablets (max 768px) */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .header-actions .header-discord-btn {
    display: none;
  }
  
  .section {
    padding: 60px 16px;
  }

  .ranks-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-nav-grid {
    grid-template-columns: 1fr;
  }

  .join-cards-grid {
    grid-template-columns: 1fr;
  }

  .dual-actions {
    grid-template-columns: 1fr;
  }

  .hero-status-bar {
    flex-direction: column;
    gap: 10px;
    border-radius: var(--radius-md);
    padding: 18px 20px;
  }
  .status-separator {
    display: none;
  }

  /* MANDATORY STAFF MOBILE LAYOUT (Strict Requirement) */
  .staff-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 32px 20px;
    gap: 20px;
  }

  .staff-card__avatar-side {
    order: -1; /* Avatar is FIRST */
  }

  .staff-avatar-ring {
    width: 140px;
    height: 140px;
  }

  .staff-card__content {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    gap: 10px;
  }

  .staff-role {
    align-self: center !important;
  }

  .staff-minecraft-ign {
    text-align: center !important;
  }

  .staff-discord-meta {
    align-self: center !important;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 32px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
}

/* Tiny screens (max 480px / 360px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-tagline {
    font-size: 1.05rem;
  }
  .hero-badge {
    font-size: 0.58rem;
    padding: 4px 10px;
    letter-spacing: 0.02em;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    border-radius: var(--radius-full);
  }
  .status-metrics-grid {
    grid-template-columns: 1fr;
  }
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .status-dashboard-card {
    padding: 24px 16px;
  }
  .guidance-card {
    padding: 24px 16px;
  }
  .step-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .staff-card {
    padding: 24px 16px;
  }
  .staff-minecraft-ign {
    font-size: 1.75rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-tagline {
    font-size: 0.95rem;
  }
  .hero-badge {
    font-size: 0.50rem;
    padding: 3px 6px;
    letter-spacing: 0.01em;
    max-width: 100%;
  }
  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .join-card, .status-dashboard-card, .guidance-card {
    padding: 20px 12px;
  }
  .staff-card {
    padding: 20px 12px;
  }
  .staff-avatar-ring {
    width: 120px;
    height: 120px;
  }
  .staff-minecraft-ign {
    font-size: 1.55rem;
  }
}

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