:root {
  --bg: #06090d;
  --bg-subtle: #0a0f16;
  --surface: #0e141c;
  --surface-hover: #141c26;
  --surface-card: #101720;
  --border: #1a232f;
  --border-light: #243142;
  --border-active: #00e676;
  --green: #00e676;
  --green-glow: #00e67633;
  --green-dark: #072a15;
  --green-hover: #00c864;
  --text: #f3f6fa;
  --text-muted: #8b9bb0;
  --text-dim: #526072;
  --blue: #38bdf8;
  --gold: #facc15;
  --red: #f43f5e;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0d1e18 0%, #06090d 50%, #040608 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

/* SPA Page Isolation - Ensures only the active page is displayed */
.page {
  display: none !important;
}

.page.active {
  display: block !important;
}

body:has([data-page="panel"].active) .site-footer {
  display: none !important;
}

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.container-fluid {
  width: min(1440px, 100% - 32px);
  margin-inline: auto;
}

.container.narrow {
  max-width: 780px;
}

/* Loading Spinner */
.loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  z-index: 100;
  color: var(--text-muted);
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Topbar Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 9, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 68px;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-nav-items {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.topbar-pill-btn:hover {
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.topbar-pill-btn .svg-icon {
  color: var(--green);
}

.user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.user-pill-btn:hover {
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.user-avatar-circle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
}

.chevron-icon {
  color: var(--text-muted);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.icon-button:hover {
  color: var(--text);
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.cart-button b, .notif-button b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--green);
  color: #042410;
  font-size: 0.68rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.notif-button b {
  background: var(--red);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.menu-lines i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Dropdown Menus */
.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #0b1118;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 6px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeInDown 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dropdown-header {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.dropdown-header b {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.dropdown-header small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s ease;
}

.dropdown-item b {
  color: var(--text);
  font-size: 0.9rem;
}

.dropdown-item small {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.dropdown-item.danger-text {
  color: var(--red);
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-item.danger-text:hover {
  background: rgba(244, 63, 94, 0.12);
  color: var(--red);
}

/* Language Dropdown */
.lang-dropdown {
  width: 190px;
  max-height: 380px;
  overflow-y: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.lang-option.active {
  color: var(--green);
  background: rgba(0, 230, 118, 0.08);
}

.lang-code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.lang-option.active .lang-code {
  color: var(--green);
  background: rgba(0, 230, 118, 0.15);
}

.lang-name {
  flex: 1;
}

.check-mark {
  color: var(--green);
}

/* Notification Panel */
.notif-panel {
  position: fixed;
  top: 74px;
  right: max(20px, calc((100vw - 1240px)/2));
  width: min(380px, calc(100vw - 32px));
  max-height: 480px;
  background: #0b1118;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #080d13;
}

.notif-list {
  overflow-y: auto;
  max-height: 400px;
  display: flex;
  flex-direction: column;
}

.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 3px;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: background 0.15s ease;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notif-item.unread {
  background: rgba(0, 230, 118, 0.04);
  border-left: 3px solid var(--green);
}

.notif-item b {
  color: var(--text);
  font-size: 0.9rem;
}

.notif-item small {
  color: var(--text-dim);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.button.primary {
  background: var(--green);
  color: #042410;
  box-shadow: 0 0 20px var(--green-glow);
}

.button.primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 230, 118, 0.45);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.button.compact {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.button.full {
  width: 100%;
}

.button.danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--red);
}

.button.danger:hover {
  background: var(--red);
  color: #fff;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 6px 0;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button.compact {
  font-size: 0.8rem;
}

/* Page Section */
.page {
  display: none;
}

.page.active {
  display: block;
}

.section {
  padding: 48px 0 80px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}

.section-head h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* [HERO SECTION] (Reference 5) */
.hero-section {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 13, 0.4) 0%, rgba(6, 9, 13, 0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0l6.486 6.485-1.414 1.414L40.486 0h2.828zM16.686 0L10.2 6.485 11.614 7.9 19.514 0h-2.828zM37.657 0l9.314 9.314-1.414 1.414L34.828 0h2.83zM22.343 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L29.172 0H32zM28 0L15.858 12.142l1.414 1.414L30.828 0H28zM0 54.627l.828.83-1.415 1.415L0 51.8v2.827zm0-49.254l.828-.83L2.243 5.96 0 8.2V5.374zm0 43.6l3.657 3.657-1.414 1.414L0 46.143v2.828zm0-37.94L3.657 7.372 5.07 8.787 0 13.857V11.03zm0 32.284l6.485 6.486-1.414 1.414L0 40.486v2.828zm0-26.627l6.485-6.486 1.414 1.414L0 19.514v-2.828zm0 20.97l9.314 9.314-1.414 1.414L0 34.828v2.83zm0-15.313L9.314 13.03l1.414 1.414L0 25.172v-2.83zM0 32l12.142 12.142-1.414 1.414L0 29.172V32zm0-4L12.142 15.858 13.556 17.272 0 30.828V28z' fill='%2310b981' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: cover, cover, auto;
  opacity: 0.8;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(14, 20, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.gradient-green {
  background: linear-gradient(135deg, #00e676 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
}

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

.hero-btn {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: min(720px, 100%);
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-col b {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat-col span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* [DASHBOARD SECTION] (Reference 2 & 3) */
.dashboard-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dash-welcome-title {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.settings-pill {
  border-radius: var(--radius-full);
}

.dashboard-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.1fr;
  gap: 20px;
}

.dash-bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.dash-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.card-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.card-header-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-header-link:hover {
  color: var(--text);
}

/* User Card */
.user-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}

.user-card-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #047857);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.user-card-avatar .avatar-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--surface-card);
}

.user-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.user-card-meta b {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  width: fit-content;
}

/* Wallet Card */
.wallet-card-balance {
  margin: 4px 0 8px;
}

.wallet-card-balance small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.wallet-card-balance h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 2px;
}

.wallet-sub-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallet-sub-pill {
  padding: 8px 12px;
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wallet-sub-pill small {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.wallet-sub-pill b {
  font-size: 0.95rem;
  color: var(--text);
}

.wallet-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Monthly Overview */
.overview-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0;
}

.overview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.overview-row b {
  color: var(--text);
  font-weight: 700;
}

/* Subscriptions & Invoices Empty State */
.empty-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 20px;
  gap: 10px;
}

.empty-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #0a1017;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.empty-hero-card b {
  font-size: 1.05rem;
  color: var(--text);
}

.empty-hero-card p {
  max-width: 360px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Quick Actions List */
.quick-action-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quick-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.quick-action-link span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-action-link svg {
  color: var(--text-dim);
  transition: transform 0.15s ease;
}

.quick-action-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.quick-action-link:hover svg {
  color: var(--green);
  transform: translateX(3px);
}

/* Community 2x2 Stats */
.comm-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.comm-stat-cell {
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.comm-stat-cell b {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.comm-stat-cell small {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* [SLIDE DRAWER: WALLET] (Reference 4) */
.slide-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
}

.slide-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.slide-drawer-panel {
  position: relative;
  z-index: 10;
  width: min(420px, 100vw);
  height: 100%;
  background: #0d141d;
  border-left: 1px solid var(--border-light);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  animation: slideLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-green {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.12);
  color: var(--green);
}

.drawer-title-group b {
  display: block;
  font-size: 1.1rem;
}

.drawer-title-group small {
  color: var(--text-muted);
}

.drawer-balance-card {
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
}

.drawer-balance-card small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.drawer-balance-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 4px 0 8px;
}

.balance-subdetail {
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.drawer-nav-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.drawer-tab {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.drawer-tab.active {
  color: var(--green);
  background: rgba(0, 230, 118, 0.12);
}

.deposit-method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.method-btn.active {
  border-color: var(--green);
  color: var(--text);
  background: rgba(0, 230, 118, 0.05);
}

.amount-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 8px 0 4px;
}

.currency-sign {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
}

.amount-input-wrap input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.min-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: block;
  margin-bottom: 14px;
}

.preset-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.preset-amounts button {
  padding: 8px;
  border-radius: var(--radius-sm);
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.preset-amounts button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* Card Grids for Plans & Servers */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.card.popular {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.15);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--green);
  color: #042410;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 8px 0;
}

.features li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 900;
}

.plan-options {
  display: grid;
  gap: 8px;
}

select, input, textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

select:focus, input:focus, textarea:focus {
  border-color: var(--green);
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

label.check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

label.check input {
  width: auto;
}

/* Stack & List Items */
.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #090e14;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.list-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-item b {
  font-size: 0.95rem;
}

.list-item small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.status {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status.online {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green);
}

.status.offline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* Server Card */
.server-card {
  padding: 20px;
}

.server-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.server-card code {
  display: block;
  padding: 8px 12px;
  background: #06090e;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--green);
  margin: 6px 0;
}

/* Panels & Forms */
.panel {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.form {
  display: grid;
  gap: 16px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Table */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Console, Tabs, Plugins, Backups */
.server-panel { display: grid; gap: 18px; }
.server-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.server-tab { padding: 8px 14px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); cursor: pointer; white-space: nowrap; font-size: 0.88rem; font-weight: 700; }
.server-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.server-tab.active { border-color: var(--green); background: rgba(0, 230, 118, 0.12); color: var(--green); }
.console-box { background: #04070a; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; font-family: var(--font-mono); font-size: 0.84rem; }
.console-logs { height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; color: #cbd5d0; word-break: break-all; }
.console-logs span.log-info { color: #8bd8a0; }
.console-logs span.log-warn { color: var(--gold); }
.console-logs span.log-error { color: var(--red); }
.console-input-row { display: flex; gap: 8px; margin-top: 12px; }
.console-input-row input { flex: 1; background: #080e14; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; color: #9ef5b2; font-family: inherit; }
.quick-cmds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick-cmds button { padding: 4px 9px; border: 1px solid var(--border); border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: var(--text-muted); font-size: 0.78rem; cursor: pointer; }
.quick-cmds button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.plugin-card { padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.telemetry-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.metric-pill { padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: grid; }
.metric-pill span { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.metric-pill b { font-size: 1.3rem; color: var(--text); }
.coupon-box { display: flex; gap: 8px; margin-top: 12px; }
.coupon-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: rgba(0, 230, 118, 0.12); color: var(--green); font-size: 0.82rem; font-weight: 700; }
.coupon-tag button { border: 0; background: transparent; color: var(--red); cursor: pointer; font-weight: 900; }
.ticket-badge { display: inline-flex; padding: 3px 8px; border-radius: 4px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.ticket-badge.open { background: rgba(56, 189, 248, 0.15); color: var(--blue); }
.ticket-badge.answered { background: rgba(0, 230, 118, 0.15); color: var(--green); }
.ticket-badge.closed { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }
.ticket-chat { display: flex; flex-direction: column; gap: 12px; max-height: 360px; overflow-y: auto; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #070b0f; }
.chat-bubble { max-width: 85%; padding: 12px 16px; border-radius: 14px; font-size: 0.92rem; line-height: 1.4; }
.chat-bubble.user { align-self: flex-end; background: #1b3924; border: 1px solid rgba(0, 230, 118, 0.3); color: #e6fff0; }
.chat-bubble.admin { align-self: flex-start; background: #151f2a; border: 1px solid var(--border); color: var(--text); }
.chat-bubble small { display: block; margin-top: 6px; font-size: 0.75rem; opacity: 0.7; }
.promptpay-box { display: grid; place-items: center; text-align: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #0d151e; }
.qr-frame { padding: 14px; background: #fff; border-radius: 10px; display: inline-block; margin: 12px 0; }
.secret-key-box { padding: 10px; background: #05090d; border: 1px dashed var(--green); border-radius: 8px; font-family: var(--font-mono); letter-spacing: 2px; font-weight: 900; color: var(--green); text-align: center; font-size: 1.1rem; margin: 10px 0; }
.backup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.backup-pill { padding: 6px; background: #060a0e; border: 1px solid var(--border); border-radius: 6px; text-align: center; font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold); }

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #040608;
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  max-width: 320px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col small {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* Toast & Dialog */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: #0f1923;
  border: 1px solid var(--green);
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 100;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideUp 0.2s ease;
}

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

dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: 580px;
  width: calc(100% - 32px);
  background: #0c121a;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  color: var(--text);
  outline: none;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: grid; }
  .dash-top-grid, .dash-bottom-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .split, .auth-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: 1fr; gap: 20px; }
  .telemetry-row { grid-template-columns: 1fr 1fr; }
}

/* Drawer mobile nav */
.nav-drawer {
  position: fixed;
  z-index: 70;
  inset: 0 0 0 auto;
  width: min(340px, 85vw);
  height: 100dvh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: #080d13;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-group small {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.drawer-group a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.drawer-group a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* [NEW LANDING SECTIONS: WHY CHOOSE US, REVIEWS, FAQ] */

/* Features 3-Grid (Reference 1 & 2) */
.features-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: var(--green);
  display: grid;
  place-items: center;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Reviews Feed Grid (Reference 4 & 5) */
.reviews-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: all 0.2s ease;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.review-stars-row {
  display: flex;
  gap: 4px;
  color: var(--green);
}

.review-card-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;
}

.review-author-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.review-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #14221a;
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-author-meta b {
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-author-meta small {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* FAQ 2-Column Accordion (Reference 3) */
.faq-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion-card {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-accordion-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-accordion-card.open {
  border-color: rgba(0, 230, 118, 0.4);
  background: #0f1822;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.06);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.faq-toggle-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.faq-accordion-card.open .faq-toggle-icon {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green);
}

.faq-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq-accordion-card.open .faq-body {
  display: block;
}

@media (max-width: 960px) {
  .features-3-grid { grid-template-columns: 1fr; }
  .faq-2col-grid { grid-template-columns: 1fr; }
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* [MINECRAFT PIXEL STYLING & RETRO HEADINGS] */
.pixel-heading {
  font-family: 'Silkscreen', 'Press Start 2P', 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: #00e676;
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.35);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.pixel-cyan {
  color: #38bdf8 !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
}

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

/* 4-Column Feature Grid (Screenshot 1) */
.features-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Player Reviews 3-Grid (Screenshot 3) */
.player-reviews-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.player-review-box {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: all 0.2s ease;
}

.player-review-box:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.gold-stars {
  color: #fbbf24;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
  font-style: italic;
  flex: 1;
}

.review-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

/* Contact Cards Grid (Screenshot 4) */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(0, 230, 118, 0.4);
  background: #0f1822;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.08);
}

.contact-icon {
  margin-bottom: 6px;
  display: grid;
  place-items: center;
}

.contact-card b {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-card small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer (Screenshot 4 & 5) */
.footer-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.copyright-line {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-nav-links a:hover {
  color: var(--green);
}

/* Plan Card Dual Buttons (Screenshot 2) */
.plan-actions-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.btn-details {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-details:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.card.popular .btn-details {
  background: var(--green);
  color: #042410;
  border-color: var(--green);
}

.card.popular .btn-details:hover {
  background: #25f48d;
}

.btn-add-cart {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--green);
  border: 1px solid var(--green);
  color: #042410;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-add-cart:hover {
  background: #25f48d;
}

.card.popular .btn-add-cart {
  background: #090e14;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.card.popular .btn-add-cart:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Empty Cart State (Screenshot 5) */
.empty-cart-card {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 580px;
  margin: 0 auto;
}

.empty-cart-icon {
  color: var(--text-dim);
  margin-bottom: 8px;
}

.empty-cart-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.empty-cart-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

/* Plan Filter Bar (Screenshot 1, 2, 3) */
.plans-filter-card {
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.filter-form-inner {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 150px;
}

.filter-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-input-wrap input {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: #070c12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
  width: 100%;
}

.filter-select {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: #070c12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.filter-select:focus, .filter-input-wrap input:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.filter-checks-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}

.filter-btns-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.plan-icon-box {
  width: 44px;
  height: 44px;
  background: #070c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

/* [MOBILE DRAWER USER CARD - Screenshot 4] */
.drawer-user-box {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.drawer-user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-user-text b {
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-text small {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-quick-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.drawer-quick-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #131c26;
}

.main-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
}

.main-nav-group a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.main-nav-group a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.drawer-footer-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.drawer-logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #f43f5e;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}/* [FULL SERVER CONTROL PANEL - Screenshots 1 to 5] */
.server-panel-page {
  padding-top: 0;
  min-height: calc(100vh - 70px);
  background: #04070a;
}

.panel-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 70px);
  background: #04070a;
}

/* Left Sidebar */
.panel-sidebar {
  background: #06090d;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-server-topcard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-server-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #0a141d;
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.panel-server-info-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel-server-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-server-name-row h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.panel-icon-btn-inline {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
}

.panel-join-sublink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #00e676;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2px;
}

.panel-sidebar-power-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-sidebar-start {
  padding: 8px 12px;
  border-radius: 6px;
  background: #00e676;
  border: 1px solid #00e676;
  color: #042410;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-sidebar-start:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
}

.btn-sidebar-restart {
  padding: 8px 12px;
  border-radius: 6px;
  background: #0c1218;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-sidebar-restart:hover {
  background: #141c26;
  border-color: rgba(255, 255, 255, 0.25);
}

.panel-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel-nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 4px;
  padding-left: 8px;
}

.panel-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}

.panel-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.panel-nav-btn.active {
  background: #0d1520;
  color: #fff;
  border-left: 3px solid #00e676;
  border-radius: 0 6px 6px 0;
}

.panel-nav-btn.active svg {
  color: #00e676;
}

.panel-sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-back-to-servers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.panel-back-to-servers:hover {
  color: #00e676;
}

/* Main Content Area */
.panel-main-content {
  padding: 24px 32px;
  background: #04070a;
  overflow-y: auto;
}

.panel-main-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-icon-box-large {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #0a141d;
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.panel-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.panel-main-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin: 2px 0 0;
}

/* 4 Metric Cards Grid */
.panel-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  background: #060a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px 16px;
}

.metric-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 8px;
}

.metric-icon.cpu { color: #38bdf8; }
.metric-icon.mem { color: #00e676; }
.metric-icon.disk { color: #f59e0b; }
.metric-icon.uptime { color: #38bdf8; }

.metric-val-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.metric-val-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 4px;
}

/* 2 Column Row */
.panel-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-card-box {
  background: #060a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 20px;
}

.panel-card-head h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.panel-card-head p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 14px;
}

/* Plan Preview & Slider */
.plan-spec-preview-card {
  background: #090e15;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.plan-mob-head {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #18120c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.plan-badge-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-green-check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #00e676;
  color: #042410;
  font-size: 0.7rem;
  font-weight: 900;
}

.plan-spec-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.spec-tag {
  font-size: 0.75rem;
  color: #00e676;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.plan-slider-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-instruction {
  font-size: 0.76rem;
  color: #64748b;
  text-align: center;
}

.mc-plan-slider {
  width: 100%;
  accent-color: #00e676;
  cursor: pointer;
}

.slider-ticks-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  padding: 0 4px;
}

.slider-ticks-labels span.active {
  color: #00e676;
  font-weight: 700;
}

/* MOTD Display Box */
.motd-preview-dark-box {
  background: #030508;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  min-height: 44px;
}

.motd-textarea {
  width: 100%;
  background: #030508;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  resize: vertical;
  outline: none;
}

.motd-textarea:focus {
  border-color: #00e676;
}

.motd-help-subtext {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 6px;
}

.btn-emoji-inline {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Danger Zone */
.danger-zone-box {
  border-color: rgba(239, 68, 68, 0.2);
}

.danger-zone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.danger-zone-head h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.danger-zone-head p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 2px 0 0;
}

.danger-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.danger-action-text b {
  font-size: 0.88rem;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.danger-action-text p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  max-width: 600px;
}

.btn-danger-reset {
  padding: 8px 16px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #f59e0b;
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-danger-delete {
  padding: 8px 16px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Console Terminal View (Screenshot 2 & 3) */
.console-status-pill {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.console-status-pill.stopped {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.console-status-pill.running {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00e676;
}

.console-terminal-card {
  background: #030508;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 480px;
  overflow: hidden;
  margin-bottom: 20px;
}

.console-terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #06090d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.button-sub-tool {
  padding: 4px 10px;
  border-radius: 4px;
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.console-full-logs-stream {
  flex: 1;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.console-full-input-bar {
  display: flex;
  align-items: center;
  background: #06090d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 16px;
}

.console-double-arrow {
  color: #64748b;
  font-family: monospace;
  font-size: 1rem;
  margin-right: 8px;
}

.console-full-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  outline: none;
}

/* Quick Commands */
.quick-commands-card {
  background: #060a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 16px;
}

.quick-commands-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.btn-text-edit {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.78rem;
  cursor: pointer;
}

.quick-cmd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quick-cmd-btn {
  background: #090e15;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-cmd-btn:hover {
  border-color: rgba(0, 230, 118, 0.3);
  background: #0d1520;
}

.quick-cmd-btn b {
  display: block;
  font-size: 0.86rem;
  font-family: 'JetBrains Mono', monospace;
}

.quick-cmd-btn small {
  font-size: 0.74rem;
  color: #64748b;
}

/* File Manager View (Screenshot 5) */
.files-subtab-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.files-subtab {
  padding: 6px 14px;
  border-radius: 6px;
  background: #090e15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.files-subtab.active {
  background: #0d1b14;
  border-color: #00e676;
  color: #00e676;
}

.files-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.files-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.files-top-buttons {
  display: flex;
  gap: 8px;
}

.btn-file-action {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-file-action.green {
  background: #0a1b14;
  border: 1px solid #00e676;
  color: #00e676;
}

.btn-file-action.dark {
  background: #090e15;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.files-explorer-card {
  background: #060a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.files-breadcrumb {
  padding: 10px 16px;
  background: #090e15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #94a3b8;
}

.files-table-header {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: #64748b;
}

.files-list-body {
  display: flex;
  flex-direction: column;
}

.file-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.1s ease;
}

.file-item-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.file-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-item-name {
  font-size: 0.86rem;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}

.file-item-meta {
  display: flex;
  gap: 20px;
  font-size: 0.78rem;
  color: #64748b;
}

/* [COMMUNITY PROFILE - Images 2 to 5] */
.profile-page-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px 50px;
}

.profile-topbar-nav {
  margin-bottom: 12px;
}

.btn-profile-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-profile-back:hover {
  background: #141c26;
  border-color: rgba(255, 255, 255, 0.25);
}

.profile-cover-card {
  position: relative;
  height: 220px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 50%, #9333ea 100%);
  margin-bottom: 50px;
}

.profile-cover-edit-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.profile-avatar-wrapper {
  position: absolute;
  left: 28px;
  bottom: -40px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #7c3aed;
  border: 4px solid #04070a;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.profile-avatar-cam-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #04070a;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

.profile-user-headline {
  margin-left: 130px;
  margin-top: -36px;
  margin-bottom: 24px;
}

.profile-user-headline h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.profile-badge-role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #0d141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
}

/* 4 Stat Cards */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.profile-stat-box {
  background: #070b10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.profile-stat-icon {
  font-size: 1.2rem;
}

.profile-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.profile-stat-lbl {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* About & Comments Cards */
.profile-card-section {
  background: #070b10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.profile-card-header h3 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.profile-edit-desc-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 0.88rem;
}

.profile-desc-text {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
}

/* Rich Text Toolbar */
.profile-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #0a0f16;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  flex-wrap: wrap;
}

.tool-btn {
  padding: 4px 8px;
  border-radius: 4px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.tool-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.profile-comment-textarea {
  width: 100%;
  background: #05080c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 6px 6px;
  padding: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
  resize: vertical;
  min-height: 90px;
  outline: none;
}

.profile-comment-textarea:focus {
  border-color: rgba(59, 130, 246, 0.5);
}

.profile-comment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.char-counter {
  font-size: 0.76rem;
  color: #64748b;
}

.btn-post-comment {
  padding: 6px 18px;
  border-radius: 6px;
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-post-comment:hover {
  background: #1d4ed8;
}

.profile-empty-posts {
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-size: 0.86rem;
}

/* [AUTH SOCIAL & RETRO TITLE - Image 1] */
.auth-pixel-icon {
  width: 44px;
  height: 44px;
  background: #00e676;
  border-radius: 6px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.auth-pixel-title {
  font-family: 'Silkscreen', 'Press Start 2P', monospace, sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  letter-spacing: 2px;
  margin: 0 0 6px;
}

.auth-sub-link {
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.auth-sub-link a {
  color: #00e676;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.auth-sub-link a:hover {
  text-decoration: underline;
}

.auth-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #080d14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-social-btn:hover {
  background: #111a24;
  border-color: rgba(255, 255, 255, 0.25);
}

.auth-divider-line {
  display: flex;
  align-items: center;
  text-align: center;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 20px 0;
}

.auth-divider-line::before,
.auth-divider-line::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* [FOOTER & FEATURES 3-GRID - Image 1 & 3] */
.features-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .features-3-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: #020406;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 540px) {
  .footer-content-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #080d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.footer-social-icons a:hover {
  background: #111a24;
  color: #00e676;
  border-color: rgba(0, 230, 118, 0.3);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col b {
  font-size: 0.76rem;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 800;
}

.footer-links-col a {
  font-size: 0.86rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links-col a:hover {
  color: #00e676;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}


@media (max-width: 900px) {
  .panel-container {
    grid-template-columns: 1fr;
  }
  .panel-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .panel-metrics-grid,
  .panel-2col-grid,
  .quick-cmd-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .panel-container { grid-template-columns: 1fr; }
  .panel-sidebar { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .panel-main-content { padding: 20px; }
  .features-4-grid { grid-template-columns: 1fr 1fr; }
  .player-reviews-3-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .footer-content-row { flex-direction: column; align-items: flex-start; }
  .filter-btns-group { margin-left: 0; width: 100%; }
}

@media (max-width: 600px) {
  .features-4-grid { grid-template-columns: 1fr; }
}
