/* ============================================================================
   Dragonica Panel - Dark Blue Theme
   ============================================================================
   Color palette:
     - Base: near-black with hint of blue
     - Primary: bright blue (interactive, links)
     - Accent: cyan glow for highlights
     - Cards: glass morphism dengan subtle border
   ========================================================================= */

:root {
  /* Backgrounds */
  --bg-base: #0a0e17;
  --bg-surface: #0d1421;
  --bg-elevated: #131b2e;
  --bg-card: rgba(19, 27, 46, 0.6);
  --bg-card-hover: rgba(26, 36, 60, 0.75);
  --bg-input: rgba(10, 14, 23, 0.6);

  /* Borders */
  --border-subtle: rgba(100, 150, 255, 0.08);
  --border-default: rgba(100, 150, 255, 0.15);
  --border-focus: rgba(66, 133, 244, 0.5);

  /* Blues */
  --blue-primary: #4285f4;
  --blue-hover: #5a95f5;
  --blue-glow: #64b5f6;
  --blue-deep: #1565c0;
  --blue-dark: #0d47a1;

  /* Text */
  --text-primary: #e8eaed;
  --text-secondary: #b8bcc4;
  --text-muted: #6c7684;
  --text-dim: #495261;

  /* Status */
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.1);
  --error: #f87171;
  --error-bg: rgba(248, 113, 113, 0.1);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.1);
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, 0.1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 32px rgba(66, 133, 244, 0.15);
  --shadow-glow-strong: 0 0 40px rgba(66, 133, 244, 0.35);

  /* Radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Timing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s var(--ease);
}

/* ============================================================================
   Base
   ========================================================================= */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated gradient orbs background */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.15), transparent 70%);
  top: -200px; right: -100px;
  animation: floatOrb 20s var(--ease) infinite;
}
body::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.12), transparent 70%);
  bottom: -150px; left: -100px;
  animation: floatOrb 25s var(--ease) infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, 30px) scale(1.15); }
}

/* Content on top of orbs */
main, header, footer { position: relative; z-index: 1; }

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

h1, h2, h3, h4 {
  color: var(--text-primary);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 12px; color: var(--text-secondary); }

code {
  background: var(--bg-elevated);
  color: var(--blue-glow);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', Consolas, 'Fira Code', monospace;
  font-size: 0.9em;
  border: 1px solid var(--border-subtle);
}

::selection { background: rgba(66, 133, 244, 0.35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-primary); }

/* ============================================================================
   Container
   ========================================================================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================================
   Topbar / Header
   ========================================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  margin-bottom: 32px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--text-primary); text-decoration: none; }
.brand img,
.brand svg { width: 36px; height: 36px; display: block; }
.brand-text {
  background: linear-gradient(135deg, var(--blue-glow), var(--blue-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.nav-desktop a {
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.925rem;
  transition: all var(--transition);
}
nav.nav-desktop a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all var(--transition);
}
.menu-toggle:hover { background: var(--bg-card); border-color: var(--border-focus); }
.menu-toggle svg { width: 20px; height: 20px; }

/* ============================================================================
   Buttons
   ========================================================================= */
.btn, form button, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 42px;
}
.btn:hover, form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.35), var(--shadow-glow-strong);
  color: #fff;
  text-decoration: none;
}
.btn:active, form button:active { transform: translateY(0); }
.btn:focus-visible, form button:focus-visible {
  outline: 2px solid var(--blue-glow);
  outline-offset: 2px;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
.btn-danger:hover {
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--blue-primary);
  color: var(--blue-glow);
}
.btn-outline:hover {
  background: rgba(66, 133, 244, 0.1);
  color: var(--blue-hover);
}
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; min-height: 36px; }

.btn-link {
  color: var(--text-secondary);
  padding: 8px 14px;
  background: transparent;
  border: none;
}
.btn-link:hover { color: var(--text-primary); background: var(--bg-card); }

/* ============================================================================
   Card
   ========================================================================= */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card-title {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.card-narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

/* Auth card - centered, hero style */
.auth-card {
  max-width: 460px;
  margin: 20px auto;
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.auth-card h1 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* ============================================================================
   Forms
   ========================================================================= */
form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 16px 0 8px;
  letter-spacing: 0.01em;
}
form input[type=text],
form input[type=email],
form input[type=password],
form input[type=number],
form select,
form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.975rem;
  font-family: inherit;
  transition: all var(--transition);
}
form input::placeholder { color: var(--text-dim); }
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(10, 14, 23, 0.8);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}
form input:disabled { opacity: 0.5; cursor: not-allowed; }

form .help {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 6px 0 0;
}
form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
form .checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-primary);
  cursor: pointer;
}
form .checkbox label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.4;
}
form .form-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================================
   Alert
   ========================================================================= */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.alert-success { background: var(--success-bg); border-color: rgba(52, 211, 153, 0.3); color: #6ee7b7; }
.alert-error   { background: var(--error-bg);   border-color: rgba(248, 113, 113, 0.3); color: #fca5a5; }
.alert-warning { background: var(--warning-bg); border-color: rgba(251, 191, 36, 0.3); color: #fcd34d; }
.alert-info    { background: var(--info-bg);    border-color: rgba(96, 165, 250, 0.3); color: #93c5fd; }

/* ============================================================================
   Package grid - top-up cards
   ========================================================================= */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.pkg {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.pkg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pkg:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(66, 133, 244, 0.2);
  background: var(--bg-card-hover);
}
.pkg:hover::before { opacity: 1; }

.pkg-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.pkg-price {
  color: var(--blue-glow);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 12px 0 4px;
  letter-spacing: -0.02em;
}
.pkg-cash {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.pkg-bonus {
  display: inline-block;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
  color: #fcd34d;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(251, 191, 36, 0.3);
  margin-top: 6px;
}

/* ============================================================================
   Table
   ========================================================================= */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  margin: 12px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
table th {
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(19, 27, 46, 0.5); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}
.badge-success { background: var(--success-bg); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.3); }
.badge-warning { background: var(--warning-bg); color: #fcd34d; border-color: rgba(251, 191, 36, 0.3); }
.badge-error   { background: var(--error-bg);   color: #fca5a5; border-color: rgba(248, 113, 113, 0.3); }
.badge-info    { background: var(--info-bg);    color: #93c5fd; border-color: rgba(96, 165, 250, 0.3); }

/* ============================================================================
   Hero (index)
   ========================================================================= */
.hero {
  text-align: center;
  padding: 40px 20px 24px;
  margin-bottom: 24px;
}
.hero .brand-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 24px rgba(66, 133, 244, 0.4));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--text-primary), var(--blue-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero .cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
}
.info-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(21, 101, 192, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid var(--border-default);
  color: var(--blue-glow);
}
.info-card h3 { margin: 0 0 8px; font-size: 1rem; }
.info-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================================
   Footer
   ========================================================================= */
.footer {
  margin-top: 80px;
  padding: 32px 0 24px;
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer p { margin: 4px 0; color: var(--text-muted); }
.footer a { color: var(--text-secondary); }
.footer a:hover { color: var(--blue-glow); }

/* ============================================================================
   Utility
   ========================================================================= */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-3 { margin-top: 24px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ============================================================================
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
  body { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  .container { padding: 0 16px; }
  .topbar { padding: 10px 0; margin-bottom: 20px; }
  .brand-text { font-size: 1rem; }
  .brand img, .brand svg { width: 32px; height: 32px; }

  .menu-toggle { display: flex; }

  /* Mobile nav: slide-down overlay */
  nav.nav-desktop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--border-default);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s var(--ease);
    max-height: 80vh;
    overflow-y: auto;
  }
  nav.nav-desktop.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  nav.nav-desktop a {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  nav.nav-desktop a.btn-primary,
  nav.nav-desktop a[class*="btn"] {
    margin-top: 4px;
  }

  .card { padding: 20px; }
  .auth-card { padding: 28px 20px; margin: 12px auto; }
  .card-title { font-size: 1.35rem; padding-bottom: 12px; margin-bottom: 16px; }

  .btn, form button { padding: 10px 18px; font-size: 0.925rem; }
  form input, form select, form textarea { padding: 11px 12px; font-size: 1rem; }

  .pkg-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pkg { padding: 18px; }
  .pkg-price { font-size: 1.4rem; }

  .hero { padding: 24px 16px 16px; }
  .hero .brand-mark { width: 72px; height: 72px; margin-bottom: 14px; }
  .hero p { font-size: 0.95rem; }
  .hero .cta .btn { flex: 1; min-width: 130px; }

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

  table th, table td { padding: 10px 12px; font-size: 0.85rem; }

  .footer { margin-top: 40px; padding: 24px 0 16px; }
}

@media (max-width: 480px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .brand-text { display: none; }
}

/* ============================================================================
   Prefers reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   Prime Network - additions (topbar right, server status, hero big logo, footer)
   ========================================================================= */

/* Topbar layout — brand | nav | (status widget + hamburger) */
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-inner .brand { margin-right: auto; }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-sep {
  color: var(--text-dim);
  padding: 0 4px;
  font-size: 0.85rem;
  user-select: none;
}

/* Server status widget */
.server-status {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 0.78rem;
  line-height: 1.25;
  min-width: 140px;
  transition: all var(--transition);
}
.server-status .ss-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.server-status .ss-label {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.server-status .ss-value {
  color: var(--text-primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.server-status .ss-icon {
  color: var(--text-muted);
  flex: none;
}
.server-status .ss-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  flex: none;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
}
.server-status.is-online .ss-dot {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.server-status.is-online .ss-value[data-role="status"] { color: #6ee7b7; }
.server-status.is-offline .ss-dot {
  background: var(--error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.server-status.is-offline .ss-value[data-role="status"] { color: #fca5a5; }
.server-status.is-offline .ss-players { opacity: 0.55; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15); }
  50%      { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.05); }
}

/* Big hero logo (full "PRIME NETWORK" emblem) */
.hero .hero-logo {
  width: min(340px, 78vw);
  height: auto;
  margin: 0 auto 20px;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(66, 133, 244, 0.35))
          drop-shadow(0 0 20px rgba(247, 201, 78, 0.15));
}
.hero-tag {
  color: var(--blue-glow);
  font-family: 'Cinzel', 'Trajan Pro', serif;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
  opacity: 0.85;
}

/* Footer redesign — 3 rows: brand | links | copy */
.footer { padding: 40px 0 24px; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.footer-brand img { width: 34px; height: 34px; display: block; }
.footer-brand strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.footer-tag {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.875rem;
}
.footer-links a {
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
}
.footer-links a:hover { color: var(--blue-glow); background: var(--bg-card); }
.footer-links .sep { color: var(--text-dim); user-select: none; }
.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 6px 0 0;
}

/* Responsive tweaks for status widget */
@media (max-width: 900px) {
  .server-status { min-width: 120px; padding: 6px 10px; font-size: 0.72rem; }
  .server-status .ss-players { display: inline-flex; }
}
@media (max-width: 768px) {
  .topbar-right { gap: 8px; }
  /* Kompresi widget di mobile: satu baris ringkas */
  .server-status {
    flex-direction: row;
    gap: 10px;
    padding: 6px 10px;
    min-width: 0;
  }
  .server-status .ss-label { display: none; } /* sembunyikan label */
  .server-status .ss-players .ss-label {
    display: inline;
    color: var(--text-muted);
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  /* Sangat kecil: tampilkan HANYA dot + player count */
  .server-status .ss-value[data-role="status"] { display: none; }
  .server-status { padding: 6px 8px; }
}
