/* ==========================================================================
   LOST PARADISE ROLEPLAY (LPRP) - MASTER DESIGN SYSTEM v2.0
   ========================================================================== */

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

:root {
  /* Dark Gaming Theme Palette */
  --bg-darker: #06070a;
  --bg-dark: #0b0d14;
  --bg-card: #121520;
  --bg-card-hover: #181c2b;
  --bg-elevated: #1e2336;

  /* Accents - Lost Paradise Signature Cyan Identity */
  --primary: #00e5ff;
  --primary-hover: #00b8cc;
  --primary-glow: rgba(0, 229, 255, 0.35);
  --primary-subtle: rgba(0, 229, 255, 0.12);

  /* Status Colors */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.12);
  --discord: #5865F2;
  --discord-hover: #4752C4;

  /* Text */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-primary: rgba(0, 229, 255, 0.35);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Layout */
  --sidebar-width: 260px;
  --topbar-height: 75px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--primary-hover); }

img { max-width: 100%; }

/* Layout Elements */
.app-container { display: flex; min-height: 100vh; }
.main-content { flex: 1; display: flex; flex-direction: column; width: 100%; min-width: 0; }
.page-wrapper { padding: 2rem; max-width: 1400px; margin: 0 auto; width: 100%; flex: 1; }

/* ========== NAVBAR ========== */
.navbar {
  height: var(--topbar-height);
  background: rgba(11, 13, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}
.navbar-brand:hover { color: #fff; }
.navbar-brand span { color: var(--primary); }

.brand-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.75));
}

/* Centered Floating Navigation Bar */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 4px 6px;
  background: rgba(14, 18, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.nav-link i { font-size: 0.78rem; opacity: 0.85; }
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-link.active {
  color: var(--primary);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}
.nav-link.active i { opacity: 1; color: var(--primary); }

.navbar-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
  z-index: 2;
}

/* Modern Sleek User Profile Capsule */
.user-nav-capsule {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 20, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 3px 6px 3px 6px;
  gap: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.user-nav-capsule:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(22, 28, 44, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 229, 255, 0.1);
}

.user-capsule-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 2px 6px 2px 2px;
  border-radius: 9999px;
  color: #f1f5f9;
  transition: color 0.2s ease;
}

.user-capsule-profile:hover .user-nav-name {
  color: #00e5ff;
}

.user-avatar-wrap {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #141824;
}

.user-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #0c0e17;
  box-shadow: 0 0 4px #10b981;
}

.user-nav-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
  color: #e2e8f0;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.user-capsule-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
  flex-shrink: 0;
}

.user-capsule-logout {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.user-capsule-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  transform: scale(1.08);
}

/* ========== LEFT NAVIGATION SIDEBAR & DRAWER (LOGGED IN SYSTEM) ========== */
.btn-left-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-left-nav:hover {
  background: rgba(0, 229, 255, 0.16);
  border-color: #00e5ff;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}

.left-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.left-sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.left-sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 86vw;
  background: #0b0e17;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 12px 0 36px rgba(0, 0, 0, 0.75);
  overflow-y: auto;
}

.left-sidebar-drawer.active {
  transform: translateX(0);
}

.left-drawer-header {
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 18, 28, 0.95);
}

.left-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.left-drawer-brand img {
  height: 36px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.left-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.left-drawer-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.left-drawer-user {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 229, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.left-drawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.left-drawer-user-info {
  display: flex;
  flex-direction: column;
}

.left-drawer-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.left-drawer-user-status {
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.left-drawer-menu {
  padding: 1rem 0.85rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.left-drawer-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.75rem 0.75rem 0.35rem 0.75rem;
}

.left-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.left-drawer-link i {
  width: 20px;
  text-align: center;
  color: var(--primary);
  font-size: 0.95rem;
  opacity: 0.85;
}

.left-drawer-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.left-drawer-link.highlight-ucp {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  font-weight: 600;
}

.left-drawer-link.highlight-ucp:hover {
  background: rgba(0, 229, 255, 0.16);
  color: #ffffff;
}

.left-drawer-link.highlight-admin {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-weight: 600;
}

.left-drawer-link.highlight-admin:hover {
  background: rgba(239, 68, 68, 0.16);
  color: #ffffff;
}

.left-drawer-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Drawer Submenu Hierarchy for Dashboard User Control */
.left-drawer-item-has-submenu {
  display: flex;
  flex-direction: column;
}

.left-drawer-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: #00e5ff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
}

.left-drawer-dropdown-toggle:hover {
  background: rgba(0, 229, 255, 0.14);
  color: #ffffff;
}

.left-drawer-dropdown-toggle i:first-child {
  width: 20px;
  text-align: center;
  color: #00e5ff;
  font-size: 0.95rem;
}

.left-drawer-chevron {
  margin-left: auto;
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  color: #00e5ff;
}

.left-drawer-item-has-submenu.open .left-drawer-chevron {
  transform: rotate(180deg);
}

.left-drawer-submenu {
  list-style: none;
  padding: 0.35rem 0 0.35rem 0.85rem;
  margin: 0.35rem 0 0.4rem 0.65rem;
  border-left: 2px solid rgba(0, 229, 255, 0.25);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
}

.left-drawer-item-has-submenu.open .left-drawer-submenu {
  display: flex;
}

.left-drawer-sublink {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.left-drawer-sublink i {
  width: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.left-drawer-sublink:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.left-drawer-sublink:hover i {
  color: #00e5ff;
}

.left-drawer-sublink.active {
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  border-left: 2px solid #00e5ff;
  font-weight: 600;
}

.left-drawer-sublink.active i {
  color: #00e5ff;
}

.left-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.btn-left-drawer-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-left-drawer-logout:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu .nav-link { border-radius: var(--radius-sm) !important; border-bottom: none !important; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.btn-primary { background: var(--primary); color: #ffffff; box-shadow: 0 4px 16px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-hover); color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5); }

.btn-secondary { background: var(--bg-elevated); color: var(--text-main); border-color: var(--border-subtle); }
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--border-highlight); color: #fff; }

.btn-discord { background: var(--discord); color: #ffffff; box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3); }
.btn-discord:hover { background: var(--discord-hover); color: #ffffff; transform: translateY(-2px); }

.btn-outline { background: transparent; border-color: var(--border-highlight); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #0da870; color: #fff; transform: translateY(-2px); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: var(--border-highlight); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-subtle); }
.card-title { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }

/* Glass card variant */
.card-glass {
  background: rgba(18, 21, 32, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
}

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-info    { background: var(--info-bg);    color: var(--info);    border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-secondary { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); border: 1px solid var(--border-subtle); }
.badge-primary { background: var(--primary-subtle); color: var(--primary); border: 1px solid var(--border-primary); }

/* ========== FORMS ========== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-subtle); }
.form-control::placeholder { color: var(--text-dark); }
select.form-control option { background: var(--bg-card); color: var(--text-main); }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ========== TABLES ========== */
.table-responsive { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { background: var(--bg-elevated); color: var(--text-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
.table td { padding: 1rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-main); font-size: 0.9rem; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table tbody tr:last-child td { border-bottom: none; }

/* ========== STATS GRID ========== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; transition: var(--transition); }
.stat-card:hover { border-color: var(--border-highlight); transform: translateY(-2px); }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--primary-subtle); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.stat-icon.blue { background: var(--info-bg); color: var(--info); }
.stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-icon.yellow { background: var(--warning-bg); color: var(--warning); }
.stat-info .stat-value { font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading); color: #fff; }
.stat-info .stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding: 6rem 2rem 5rem 2rem;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.75) 0%, rgba(11, 13, 20, 0.95) 100%), url('/images/Banner.png') center/cover no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }

.hero-3d-gif {
  max-width: 280px;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
  filter: drop-shadow(0 0 20px var(--primary-glow));
  animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4)); }
  to { filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.7)); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--primary-subtle);
  border: 1px solid var(--border-primary);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
}

.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 680px; margin-left: auto; margin-right: auto; }

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Status Banner Widget */
.status-widget {
  background: rgba(18, 21, 32, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.status-indicator { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: blink 1.5s ease-in-out infinite;
}
.status-dot.offline { background: var(--danger); box-shadow: 0 0 10px var(--danger); animation: none; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 3rem 2rem 2rem 2rem;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0;
}
.page-header h1 { font-size: 2rem; text-transform: uppercase; }
.page-header p { color: var(--text-muted); margin-top: 0.5rem; }

/* ========== SIDEBAR LAYOUT ========== */
.sidebar-layout { display: flex; gap: 2.5rem; min-height: calc(100vh - var(--topbar-height)); }
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-darker);
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
  position: sticky;
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
  overflow-y: auto;
}
.main-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 3rem;
}
.sidebar-menu { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-label { font-size: 0.7rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; padding: 0 0.75rem 0.5rem 0.75rem; margin-top: 1rem; }
.sidebar-link { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 1rem; color: var(--text-muted); font-weight: 500; border-radius: var(--radius-sm); transition: var(--transition); font-size: 0.9rem; }
.sidebar-link:hover { color: #fff; background: var(--bg-elevated); }
.sidebar-link.active { color: var(--primary); background: var(--primary-subtle); border-left: 3px solid var(--primary); border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Submenu Hierarchy for Dashboard User Control */
.sidebar-item-has-submenu {
  display: flex;
  flex-direction: column;
}
.sidebar-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  cursor: pointer;
}
.sidebar-dropdown-toggle:hover {
  background: rgba(0, 229, 255, 0.12);
  color: #fff;
}
.submenu-chevron {
  margin-left: auto;
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  color: var(--primary);
  opacity: 0.85;
}
.sidebar-item-has-submenu.open .submenu-chevron {
  transform: rotate(180deg);
}
.sidebar-submenu {
  list-style: none;
  padding: 0.35rem 0 0.35rem 0.65rem;
  margin: 0.35rem 0 0.4rem 0.75rem;
  border-left: 2px solid rgba(0, 229, 255, 0.25);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
}
.sidebar-item-has-submenu.open .sidebar-submenu {
  display: flex;
}
.sidebar-sublink {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-sublink i {
  width: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  transition: color 0.2s ease;
}
.sidebar-sublink:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}
.sidebar-sublink:hover i {
  color: var(--primary);
}
.sidebar-sublink.active {
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  border-left: 2px solid #00e5ff;
  font-weight: 600;
}
.sidebar-sublink.active i {
  color: #00e5ff;
}

/* Admin Submenu Styling */
.sidebar-dropdown-toggle-admin {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  color: #f87171;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  cursor: pointer;
}
.sidebar-dropdown-toggle-admin:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ffffff;
}
.sidebar-dropdown-toggle-admin.active {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.submenu-chevron-admin {
  margin-left: auto;
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  color: #f87171;
  opacity: 0.85;
}
.sidebar-item-has-submenu.open .submenu-chevron-admin {
  transform: rotate(180deg);
}
.sidebar-submenu-admin {
  list-style: none;
  padding: 0.35rem 0 0.35rem 0.65rem;
  margin: 0.35rem 0 0.4rem 0.75rem;
  border-left: 2px solid rgba(239, 68, 68, 0.35);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
}
.sidebar-item-has-submenu.open .sidebar-submenu-admin {
  display: flex;
}
.sidebar-sublink-admin {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-sublink-admin i {
  width: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  transition: color 0.2s ease;
}
.sidebar-sublink-admin:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}
.sidebar-sublink-admin:hover i {
  color: #f87171;
}
.sidebar-sublink-admin.active {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  border-left: 2px solid #ef4444;
  font-weight: 600;
}
.sidebar-sublink-admin.active i {
  color: #ef4444;
}

.user-profile-badge { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); margin-top: auto; }
.user-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }

/* ========== GALLERY ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); height: 220px; cursor: pointer; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 50%); opacity: 0; transition: var(--transition); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--text-main);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
  max-width: 380px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-warning { border-left: 4px solid var(--warning); }
.toast.toast-danger  { border-left: 4px solid var(--danger); }
.toast.toast-info    { border-left: 4px solid var(--info); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast.toast-success .toast-icon { color: var(--success); }
.toast.toast-warning .toast-icon { color: var(--warning); }
.toast.toast-danger  .toast-icon { color: var(--danger); }
.toast.toast-info    .toast-icon { color: var(--info); }
.toast.fade-out { animation: fadeOut 0.3s ease forwards; }

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 560px;
  width: 100%;
  transform: scale(0.92); transition: transform 0.3s ease;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; padding: 0.25rem; border-radius: 4px; transition: var(--transition); }
.modal-close:hover { color: #fff; background: var(--bg-elevated); }

/* ========== TABS ========== */
.tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border-subtle); margin-bottom: 2rem; }
.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========== PROGRESS BAR ========== */
.progress-bar { background: var(--bg-elevated); border-radius: 50px; height: 8px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 50px; transition: width 0.6s ease; }
.progress-fill.green { background: var(--success); }
.progress-fill.blue  { background: var(--info); }
.progress-fill.yellow { background: var(--warning); }

/* ========== SECTION HEADING ========== */
.section-heading { margin-bottom: 2.5rem; text-align: center; }
.section-heading h2 { font-size: 2rem; text-transform: uppercase; }
.section-heading p { color: var(--text-muted); margin-top: 0.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 0.75rem; }

/* ========== FEATURE CARDS ========== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: var(--border-highlight); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }

/* ========== RANK / LEADERBOARD ========== */
.rank-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); margin-bottom: 0.75rem; transition: var(--transition); }
.rank-card:hover { border-color: var(--border-highlight); background: var(--bg-card-hover); }
.rank-number { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--text-dark); min-width: 40px; text-align: center; }
.rank-number.gold { color: #ffd700; }
.rank-number.silver { color: #c0c0c0; }
.rank-number.bronze { color: #cd7f32; }
.rank-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-subtle); }

/* ========== VIP CARDS ========== */
.vip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  text-align: center;
  position: relative;
}
.vip-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.vip-card.featured { border-color: #ffd700; background: linear-gradient(180deg, rgba(255,215,0,0.05) 0%, var(--bg-card) 100%); }
.vip-card .most-popular {
  position: absolute;
  top: -1px; right: 2rem;
  background: #ffd700;
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== EVENT CARD ========== */
.event-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.event-card:hover { border-color: var(--border-highlight); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.event-card-banner { height: 140px; background: linear-gradient(135deg, var(--bg-elevated) 0%, #1a1f35 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--primary); position: relative; overflow: hidden; }
.event-card-body { padding: 1.5rem; }

/* ========== WIKI / ACCORDION ========== */
.accordion-item { border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); margin-bottom: 0.75rem; overflow: hidden; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: var(--bg-card); cursor: pointer; transition: var(--transition); font-weight: 600; }
.accordion-header:hover { background: var(--bg-card-hover); }
.accordion-header.active { background: var(--bg-elevated); color: var(--primary); }
.accordion-icon { transition: transform 0.3s ease; }
.accordion-header.active .accordion-icon { transform: rotate(180deg); }
.accordion-body { display: none; padding: 1.25rem; background: var(--bg-darker); color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; border-top: 1px solid var(--border-subtle); }
.accordion-body.active { display: block; }
.accordion-body ul { padding-left: 1.5rem; margin-top: 0.5rem; }
.accordion-body li { margin-bottom: 0.4rem; }

/* ========== NEWS / ARTICLE ========== */
.news-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.news-card:hover { border-color: var(--border-highlight); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.news-card-image { height: 180px; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 1.5rem; }
.news-meta { font-size: 0.8rem; color: var(--text-dark); display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; }

/* ========== FOOTER ========== */
.footer { background: var(--bg-darker); border-top: 1px solid var(--border-subtle); padding: 3rem 2rem 2rem 2rem; margin-top: auto; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto 3rem auto; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.75rem; line-height: 1.8; }
.footer-col h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: var(--primary); transform: translateX(3px); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--bg-elevated); border: 1px solid var(--border-subtle); color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social-btn:hover { background: var(--discord); color: #fff; border-color: var(--discord); transform: translateY(-2px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-subtle); font-size: 0.85rem; color: var(--text-dark); max-width: 1400px; margin: 0 auto; }

/* ========== LOADING STATES ========== */
.skeleton { background: linear-gradient(90deg, var(--bg-elevated) 0%, var(--bg-card-hover) 50%, var(--bg-elevated) 100%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.loading-spinner { width: 32px; height: 32px; border: 3px solid var(--border-subtle); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== UTILITY CLASSES ========== */
.text-primary { color: var(--primary) !important; }
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger  { color: var(--danger)  !important; }
.text-info    { color: var(--info)    !important; }
.text-muted   { color: var(--text-muted) !important; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.w-100 { width: 100%; }
.fw-bold { font-weight: 700; }
.font-heading { font-family: var(--font-heading); }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border-subtle); margin: 2rem 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1280px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
  .sidebar-layout { flex-direction: column; }
  .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-subtle); position: static; height: auto; }
  .sidebar-menu { flex-direction: row; flex-wrap: wrap; }
  .sidebar-label { display: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.25rem; }
  .hero { padding: 4rem 1rem 3rem 1rem; }
  .status-widget { flex-direction: column; gap: 1rem; padding: 1rem 1.5rem; }
  .page-wrapper { padding: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .navbar-actions { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ========== BENTO BOX GRID (MODERN HOMEPAGE) ========== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
}

/* Specific Bento Sizes */
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-tall { grid-column: span 1; grid-row: span 2; }
.bento-square { grid-column: span 1; grid-row: span 1; }

@media (max-width: 992px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide, .bento-tall, .bento-square { grid-column: span 1; grid-row: auto; }
}

.bento-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.bento-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bento-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   LOST PARADISE ROLEPLAY - MODERN HOMEPAGE SYSTEM (PRECISION REDESIGN)
   ========================================================================== */

/* Brand & Navbar */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-badge-square {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #121622;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.brand-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  font-family: var(--font-heading);
}
.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links-modern {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link-modern {
  color: #8b95a5;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap;
}
.nav-link-modern i {
  font-size: 0.78rem;
  opacity: 0.75;
}
.nav-link-modern:hover {
  color: #ffffff;
}
.nav-link-modern.active {
  color: #ffffff;
  font-weight: 600;
}
.nav-link-modern.active i {
  color: var(--primary);
  opacity: 1;
}
.nav-link-modern.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  border-radius: 2px;
}

.nav-right-group {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

#navbar-auth-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  background: rgba(14, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: blink 1.6s infinite ease-in-out;
}
.nav-online-pill .players-count {
  color: #f1f5f9;
}
.nav-ucp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-ucp-btn:hover {
  background: #1c2233;
  border-color: rgba(0, 229, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.15);
}
.nav-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #141824;
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--danger);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.nav-logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--danger);
  color: #fff;
  transform: translateY(-1px);
}

/* Modern Hero Section */
.hero-clean {
  position: relative;
  padding: 5.5rem 1.5rem 3.5rem 1.5rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 10%, rgba(0, 229, 255, 0.07) 0%, transparent 60%), #08090d;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hero-clean::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/Banner.png') center top/cover no-repeat;
  opacity: 0.12;
  filter: grayscale(80%) brightness(50%);
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
}
.hero-clean-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.85rem;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #00e5ff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 6px #00e5ff;
}
.hero-h1 {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: #ffffff;
  line-height: 1.1;
  font-family: var(--font-heading);
}
.hero-h1 span {
  color: #00e5ff;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.35);
}
.hero-desc-lead {
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #8b95a5;
  font-weight: 400;
}
.hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.btn-solid-cyan {
  background: #00e5ff;
  color: #07090e;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.3);
}
.btn-solid-cyan:hover {
  background: #33ebff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.45);
}
.btn-dark-glass {
  background: #121520;
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-dark-glass:hover {
  background: #181d2c;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-dark-muted {
  background: rgba(16, 20, 30, 0.5);
  color: #64748b;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.35rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-dark-muted:hover {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 20, 30, 0.85);
}

/* System Specs Strip */
.specs-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 2.5rem auto 3rem auto;
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1.15rem 1.5rem;
  gap: 1rem;
}
.spec-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}
.spec-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.spec-label-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.spec-val-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e2e8f0;
  font-family: var(--font-heading);
}
.spec-val-row i {
  color: #64748b;
  font-size: 0.82rem;
}
.spec-val-row .text-cyan {
  color: #00e5ff;
}

/* 4 Metric Counter Cards */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}
.metric-tile {
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.metric-tile:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.metric-tile-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 0.5rem;
}
.metric-tile-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.45rem;
  font-family: var(--font-heading);
}
.metric-tile-val.cyan-highlight {
  color: #00e5ff;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}
.metric-tile-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* Dual Column Feature Section (Patch Release & Event) */
.dual-col-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}
.panel-box {
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.panel-box:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.pill-badge-cyan {
  font-size: 0.66rem;
  font-weight: 800;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 4px;
  padding: 0.22rem 0.65rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.pill-badge-amber {
  font-size: 0.66rem;
  font-weight: 800;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 4px;
  padding: 0.22rem 0.65rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.panel-meta-time {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
  font-weight: 600;
  text-transform: uppercase;
}
.panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-family: var(--font-heading);
}
.panel-desc-text {
  font-size: 0.83rem;
  color: #8b95a5;
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

/* Patch Changelog Box */
.patch-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.patch-item {
  background: #111420;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.patch-item-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.tag-badge-add {
  font-size: 0.62rem;
  font-weight: 800;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-family: monospace;
}
.tag-badge-fix {
  font-size: 0.62rem;
  font-weight: 800;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-family: monospace;
}
.tag-badge-update {
  font-size: 0.62rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-family: monospace;
}
.patch-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
}
.patch-item-desc {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.45;
}
.panel-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.panel-footer-link {
  color: #00e5ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.panel-footer-link:hover {
  color: #38bdf8;
  transform: translateX(3px);
}
.panel-build-id {
  font-size: 0.7rem;
  color: #475569;
  font-family: monospace;
  font-weight: 600;
}

/* Event Spec Table */
.event-info-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.event-info-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.event-key {
  color: #64748b;
}
.event-val {
  color: #f1f5f9;
  font-weight: 700;
}
.event-val.highlight-cash {
  color: #00e5ff;
  font-family: var(--font-heading);
}
.event-progress-wrap {
  width: 100%;
  height: 4px;
  background: #171b29;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.35rem;
}
.event-progress-fill {
  height: 100%;
  width: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}
.event-image-container {
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.event-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 15, 23, 0.8) 100%);
}
.btn-event-submit {
  width: 100%;
  background: #141824;
  color: #f1f5f9;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  padding: 0.82rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-event-submit:hover {
  background: #1c2233;
  border-color: rgba(0, 229, 255, 0.35);
  color: #00e5ff;
}

/* Why Lost Paradise Section */
.why-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2.25rem auto;
}
.why-tag-line {
  font-size: 0.72rem;
  font-weight: 800;
  color: #00e5ff;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}
.why-heading {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-heading);
}
.why-lead-desc {
  max-width: 480px;
  font-size: 0.84rem;
  color: #8b95a5;
  line-height: 1.6;
  margin: 0;
  text-align: right;
}
.why-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto 4.5rem auto;
}
.why-box {
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.why-box:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.why-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e5ff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.why-box-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  font-family: var(--font-heading);
}
.why-box-desc {
  font-size: 0.79rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  flex: 1;
}
.why-box-meta {
  font-size: 0.66rem;
  font-weight: 700;
  color: #475569;
  font-family: monospace;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Discord Guild Full-Width Callout */
.discord-guild-card {
  max-width: 1200px;
  margin: 0 auto 5rem auto;
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.guild-info {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}
.guild-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.guild-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.guild-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.guild-desc {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.guild-buttons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.btn-guild-primary {
  background: #00e5ff;
  color: #08090d;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-guild-primary:hover {
  background: #33ebff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35);
}
.btn-guild-outline {
  background: transparent;
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-guild-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Minimal Platform Footer */
.footer-clean {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.25rem 2.5rem;
  background: #06070a;
}
.footer-clean-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand-statement {
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.6;
}
.footer-brand-title {
  font-weight: 800;
  color: #94a3b8;
  font-family: var(--font-heading);
  margin-bottom: 0.2rem;
}
.footer-clean-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-clean-nav a {
  color: #64748b;
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-clean-nav a:hover {
  color: #00e5ff;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .specs-bar { grid-template-columns: repeat(3, 1fr); }
  .specs-bar .spec-box:nth-child(3)::after { display: none; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .dual-col-section { grid-template-columns: 1fr; }
  .why-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .why-header-split { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .why-lead-desc { text-align: left; }
  .discord-guild-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .specs-bar { grid-template-columns: 1fr 1fr; }
  .specs-bar .spec-box::after { display: none; }
  .hero-h1 { font-size: 2.4rem; }
  .metrics-row { grid-template-columns: 1fr; }
  .why-grid-cards { grid-template-columns: 1fr; }
  .footer-clean-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-clean-nav { flex-wrap: wrap; gap: 1rem; }
  .nav-links-modern { display: none; }
}

