/* ===================================================================
   NOXYADDONS — Modern Minimalist Dark Engineering Design System
   No vibe-code fluff, no excessive blur soup, sharp tactile UI.
   =================================================================== */

:root {
  --bg-base: #07080b;
  --bg-surface: #0c0f16;
  --bg-card: #111520;
  --bg-card-hover: #161b2a;
  --bg-card-active: #1c2336;
  --bg-subtle: #141926;

  --border-dim: #181d2a;
  --border-card: #202738;
  --border-focus: #34405c;
  --border-accent: #0080ff;

  --accent-primary: #0080ff;
  --accent-light: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-dim: rgba(0, 128, 255, 0.12);
  --accent-border: rgba(0, 128, 255, 0.35);

  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #58657d;

  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #f43f5e;
  --color-rare: #a855f7;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, 'Courier New', monospace;

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background Grid Pattern */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

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

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.section-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}

.header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-wrapper {
  width: 38px;
  height: 38px;
  background: #000;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 128, 255, 0.2);
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(0, 128, 255, 0.3);
}

.btn-primary:hover {
  background: #1a8cff;
  box-shadow: 0 4px 18px rgba(0, 128, 255, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-card);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  color: var(--text-pure);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-card);
}

.btn-outline:hover {
  background: var(--bg-card);
  color: var(--text-pure);
  border-color: var(--border-focus);
}

.btn-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  margin-bottom: 28px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

/* Quick Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: border-color var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--border-card);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-status {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.metric-status.ok {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-pure);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric-unit {
  font-size: 14px;
  color: var(--text-secondary);
}

.metric-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Generic Section Styles */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.section-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

/* ===================================================================
   UTILITY TAGS
   =================================================================== */
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
}

.tag-accent {
  background: rgba(0, 128, 255, 0.15);
  border-color: rgba(0, 128, 255, 0.3);
  color: var(--accent-light);
}

/* ===================================================================
   MODULES TABBED SECTION
   =================================================================== */
.modules-tabs-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.modules-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  color: inherit;
}

.module-tab-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-card);
}

.module-tab-btn.active {
  background: var(--bg-card);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 20px rgba(0, 128, 255, 0.1);
}

.tab-indicator {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: transparent;
  transition: background var(--transition-fast);
}

.module-tab-btn.active .tab-indicator {
  background: var(--accent-primary);
}

.tab-info {
  display: flex;
  flex-direction: column;
}

.tab-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
}

.tab-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.module-display {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.mod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dim);
}

.mod-title {
  font-size: 24px;
}

.mod-badges {
  display: flex;
  gap: 8px;
}

.mod-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.mod-features-list {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mod-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-main);
}

.mod-feature-item svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.mod-code-preview {
  background: #090b10;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #a5b4fc;
  overflow-x: auto;
}

.code-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* ===================================================================
   IN-GAME GUI MOCKUP SECTION (VELKASCREEN / NOXYADDONS)
   =================================================================== */
:root {
  --gui-accent: #a855f7;
  --gui-accent-light: #c084fc;
  --gui-accent-glow: rgba(168, 85, 247, 0.25);
}

.clickgui-mockup {
  background: #07090e;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px var(--gui-accent-glow);
  transition: box-shadow var(--transition-normal);
}

.gui-window {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 128, 255, 0.05);
  position: relative;
}

/* Titlebar Header */
.gui-titlebar {
  background: #0d1017;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gui-title-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gui-logo-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.12);
  border: 1.5px solid #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.35);
}

.gui-logo-letter {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.gui-brand-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* GUI Search Box */
.gui-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 6px 14px;
  width: 240px;
  transition: all 0.2s ease;
}

.gui-search-box:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
  width: 280px;
}

.gui-search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.gui-search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-pure);
  width: 100%;
}

.gui-search-box input::placeholder {
  color: var(--text-muted);
}

/* Top Lifetime Badge */
.gui-top-badge {
  border: 1px solid rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

/* GUI Body Layout */
.gui-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 450px;
}

/* Sidebar Nav */
.gui-nav {
  background: #0d1017;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.gui-nav-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gui-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-bottom: 2px;
}

.gui-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.gui-nav-item.active {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  font-weight: 600;
}

.gui-nav-item.active .gui-nav-icon {
  color: #c084fc;
}

.gui-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}

/* Custom Icons in Sidebar */
.gui-custom-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.icon-portals-sq {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.icon-funpay-sq {
  background: #0077ff;
  color: #ffffff;
  font-size: 11px;
}

.icon-misc-svg {
  color: #a855f7;
}

/* Group Headers */
.gui-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

.gui-group-head:hover {
  color: #cbd5e1;
}

.gui-group-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.gui-group-head.collapsed .gui-group-arrow {
  transform: rotate(-90deg);
}

.gui-group-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

.gui-group-items.collapsed {
  display: none;
}

/* Sidebar Profile Pill */
.gui-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 4px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 10px;
}

.gui-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #181d28;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gui-profile-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gui-profile-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gui-profile-sub {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 600;
  white-space: nowrap;
}

/* Content Area Wrapper */
.gui-content-wrapper {
  background: #090c12;
  overflow-y: auto;
  max-height: 520px;
  padding: 18px;
}

.gui-cards-area {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
}

.gui-modules-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

@media (max-width: 768px) {
  .gui-body {
    grid-template-columns: 1fr;
  }
  .gui-cards-area {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .gui-titlebar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .gui-search-box {
    order: 3;
    width: 100%;
  }
}

/* Module Cards */
.gui-module-card {
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 14px 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  animation: guiCardSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.gui-module-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #151a26;
}

.gui-module-card.enabled {
  border-color: rgba(16, 185, 129, 0.3);
}

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

.gui-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.gui-keybind-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
  color: #94a3b8;
  font-size: 11px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-keybind-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.gui-keybind-badge.listening {
  border-color: #38bdf8;
  color: #38bdf8;
  animation: keybindPulse 0.9s infinite alternate;
}

@keyframes keybindPulse {
  0% { box-shadow: 0 0 4px rgba(56, 189, 248, 0.3); }
  100% { box-shadow: 0 0 12px rgba(56, 189, 248, 0.8); }
}

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

/* Animated Toggle Switch */
.gui-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
}

.gui-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.gui-slider {
  position: absolute;
  inset: 0;
  background-color: #262c3d;
  border-radius: 22px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.gui-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.gui-switch input:checked + .gui-slider {
  background-color: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}

.gui-switch input:checked + .gui-slider:before {
  transform: translateX(18px);
}

/* Expand Arrow */
.gui-expand-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gui-expand-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.gui-expand-btn.open svg {
  transform: rotate(180deg);
}

.gui-expand-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card Description */
.gui-card-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin-top: 8px;
}

/* Card Settings Accordion */
.gui-card-settings {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.gui-card-settings.open {
  max-height: 900px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gui-settings-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gui-subtabs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.gui-subtab-btn {
  background: #171c28;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 7px 10px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.gui-subtab-btn:hover {
  background: #1f2536;
  color: #ffffff;
}

.gui-subtab-btn.active {
  background: #1f2536;
  border-color: #6366f1;
  color: #ffffff;
}

.gui-action-full-btn {
  width: 100%;
  background: #161b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 9px 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-bottom: 6px;
  transition: all 0.15s ease;
}

.gui-action-full-btn:hover {
  background: #1d2332;
  border-color: rgba(255, 255, 255, 0.18);
}

.gui-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
}

.gui-setting-label {
  font-size: 13px;
  color: #e2e8f0;
}

.gui-setting-col-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
}

.gui-options-row {
  display: flex;
  gap: 6px;
}

.gui-method-btn {
  padding: 5px 12px;
  border-radius: 6px;
  background: #171c28;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-method-btn:hover {
  background: #1f2536;
  color: #ffffff;
}

.gui-method-btn.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
  color: #a5b4fc;
}

.gui-setting-slider-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
}

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

.gui-slider-val-badge {
  background: #181d29;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #818cf8;
  font-weight: 600;
  min-width: 32px;
  text-align: center;
}

.gui-setting-key-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-setting-key-badge:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(167, 139, 250, 0.12);
}

.gui-multiselect-badge {
  font-size: 12px;
  font-weight: 700;
  color: #a78bfa;
  font-family: var(--font-mono);
}

.gui-slider-input {
  width: 100%;
  accent-color: #6366f1;
  cursor: pointer;
  height: 4px;
}

.gui-setting-input-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
}

.gui-setting-text-field {
  width: 100%;
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.gui-setting-text-field:focus {
  border-color: #6366f1;
}

/* ==========================================================================
   Dedicated GUI Screens: Portals, Sessions, FunPay (Authentic In-Game Look)
   ========================================================================== */

/* --- Common Custom Header --- */
.gui-custom-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: guiCardSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gui-custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.gui-custom-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gui-custom-icon-ender {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.gui-custom-icon-sessions {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
}

.gui-custom-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.gui-custom-sub {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* --- Portals View --- */
.gui-btn-portal-record {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gui-btn-portal-record:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.7);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.gui-portals-empty-box {
  background: #0d1017;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 12px;
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
}

.gui-empty-ender-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.gui-portals-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.gui-portals-empty-sub {
  font-size: 12px;
  color: #64748b;
}

.gui-portals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.gui-portal-card {
  background: #0f121d;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Player Sessions View --- */
.gui-btn-sync {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 7px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gui-btn-sync:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.gui-sessions-status-bar {
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

.gui-status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

.gui-session-card {
  position: relative;
  background: #0f121d;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.gui-session-accent-bar {
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 18px;
  width: 3.5px;
  background: #8b5cf6;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

.gui-session-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 12px;
}

.gui-session-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gui-session-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c2030;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.gui-session-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.gui-session-server-tag {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #c4b5fd;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.gui-session-online-pill {
  color: #10b981;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.gui-session-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-btn-cords {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-btn-cords:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.gui-btn-waypoint {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: #c4b5fd;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-btn-waypoint:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.gui-session-row-info {
  margin-left: 48px;
  font-size: 12px;
  color: #94a3b8;
  font-family: var(--font-mono);
  letter-spacing: 0.2px;
}

.gui-session-row-note {
  margin-left: 48px;
}

.gui-session-note-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  color: #cbd5e1;
  width: 280px;
  outline: none;
  transition: all 0.15s ease;
}

.gui-session-note-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* --- FunPay View --- */
.gui-funpay-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  animation: guiCardSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gui-funpay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.gui-funpay-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gui-funpay-icon {
  width: 28px;
  height: 28px;
  background: #0077ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 119, 255, 0.4);
}

.gui-funpay-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.gui-funpay-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gui-funpay-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-funpay-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.gui-funpay-tab.active {
  background: rgba(0, 119, 255, 0.15);
  border-color: #0077ff;
  color: #60a5fa;
  font-weight: 600;
}

.gui-funpay-user-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.gui-funpay-user-name {
  color: #ffffff;
  font-weight: 600;
}

.gui-funpay-user-balance {
  color: #10b981;
  font-weight: 700;
}

.gui-funpay-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-btn-fp-refresh {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-btn-fp-refresh:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.gui-btn-fp-logout {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: #f87171;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-btn-fp-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

.gui-funpay-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 14px;
  min-height: 400px;
  width: 100%;
}

@media (max-width: 820px) {
  .gui-funpay-body {
    grid-template-columns: 1fr;
  }
}

.gui-funpay-chat-list-panel {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 420px;
  overflow-y: auto;
}

.gui-fp-search-box {
  margin-bottom: 4px;
}

.gui-fp-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 12px;
  color: #ffffff;
  outline: none;
}

.gui-fp-search-input:focus {
  border-color: rgba(0, 119, 255, 0.5);
}

.gui-fp-chat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-fp-chat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.gui-fp-chat-card.active {
  background: rgba(0, 119, 255, 0.12);
  border-color: rgba(0, 119, 255, 0.45);
}

.gui-fp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1c2230;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
}

.gui-fp-chat-meta {
  flex: 1;
  min-width: 0;
}

.gui-fp-chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gui-fp-chat-user {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.gui-fp-chat-date {
  font-size: 11px;
  color: #64748b;
}

.gui-fp-chat-preview {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.gui-funpay-chat-view-panel {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 380px;
}

.gui-fp-view-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.gui-fp-view-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.gui-fp-view-empty-sub {
  font-size: 12px;
  color: #64748b;
}

.gui-fp-active-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gui-fp-active-chat-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gui-fp-active-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.gui-fp-order-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.gui-fp-messages-box {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 310px;
  background: #090c13;
}

.gui-fp-msg-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gui-fp-msg-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gui-fp-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gui-fp-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-fp-msg-author {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.gui-fp-msg-author.bot {
  color: #f59e0b; /* Orange gold like in screenshot */
}

.gui-fp-badge-auto {
  background: #334155;
  color: #f1f5f9;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.3;
}

.gui-fp-msg-date {
  font-size: 11px;
  color: #64748b;
  font-family: var(--font-mono);
}

.gui-fp-msg-text {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
}

.gui-fp-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gui-fp-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #ffffff;
  outline: none;
}

.gui-fp-input-field:focus {
  border-color: rgba(0, 119, 255, 0.6);
}

.gui-fp-btn-send {
  background: #0077ff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}

/* --- Dedicated Screens: Configs --- */
.gui-cfg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gui-cfg-btn-create {
  background: #151926;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-cfg-btn-create:hover {
  background: #1e2436;
  border-color: rgba(255, 255, 255, 0.25);
}

.gui-cfg-keybind-badge {
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-cfg-keybind-badge:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.gui-cfg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.gui-cfg-card {
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.gui-cfg-card:hover {
  background: #151a26;
}

.gui-cfg-card.active {
  border: 1.5px solid #6366f1;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.gui-cfg-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gui-cfg-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.gui-cfg-sub {
  font-size: 12px;
  color: #64748b;
}

.gui-cfg-active-tag {
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gui-cfg-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gui-cfg-btn {
  background: #171c28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 7px 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gui-cfg-btn:hover {
  background: #202738;
  border-color: rgba(255, 255, 255, 0.2);
}

.gui-cfg-btn.delete {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
}

.gui-cfg-btn.delete:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}

/* --- Dedicated Screens: Updates --- */
.gui-updates-ver-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  padding: 6px 14px;
  color: #34d399;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gui-ver-dot {
  font-size: 10px;
  color: #10b981;
}

.gui-updates-banner {
  background: #121620;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9px;
  padding: 12px 18px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-banner-dot {
  color: #8b5cf6;
  font-size: 12px;
}

.gui-updates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.gui-update-card {
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gui-update-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gui-update-badge {
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.gui-update-badge.new {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.gui-update-badge.fix {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
}

.gui-update-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gui-update-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.gui-update-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
}

.gui-update-cat-tag {
  background: #161b27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 6px 14px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* --- Dedicated Screens: Settings --- */
.gui-settings-top-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-settings-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gui-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

@media (max-width: 680px) {
  .gui-settings-grid {
    grid-template-columns: 1fr;
  }
}

.gui-setting-color-card {
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gui-setting-color-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: #161b26;
}

.gui-setting-color-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gui-setting-color-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.gui-setting-color-sub {
  font-size: 12px;
  color: #64748b;
}

.gui-color-swatch-wrapper {
  position: relative;
  display: inline-flex;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.gui-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.gui-color-swatch-wrapper:hover .gui-color-swatch {
  transform: scale(1.12);
}

.gui-hidden-color-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  border: none;
  padding: 0;
  margin: 0;
}

/* In-GUI Settings Modal (Matching VelkaScreen.java renderModuleSettingsModal) */
.gui-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.gui-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gui-modal-window {
  background: #0f1422;
  border: 1px solid var(--gui-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px var(--gui-accent-glow);
  border-radius: 10px;
  width: 100%;
  max-width: 420px;
  padding: 18px;
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

.gui-modal-backdrop.open .gui-modal-window {
  transform: scale(1);
}

.gui-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.gui-modal-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.gui-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.gui-modal-close:hover {
  color: #ef4444;
}

.gui-modal-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gui-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.gui-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090c14;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gui-setting-label {
  font-size: 12px;
  color: var(--text-main);
}

.gui-slider-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gui-slider-control input[type="range"] {
  accent-color: var(--gui-accent);
  cursor: pointer;
}

.gui-slider-control span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gui-accent-light);
  min-width: 45px;
  text-align: right;
}

.gui-modal-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gui-modal-foot-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.gui-modal-key-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: #141926;
  border: 1px solid var(--gui-accent);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gui-modal-key-btn:hover {
  background: var(--gui-accent);
  color: #000000;
}

/* ===================================================================
   TECHNICAL SPECS TABLE
   =================================================================== */
.specs-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  background: var(--bg-card);
  padding: 16px 20px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text-secondary);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.spec-name {
  font-weight: 600;
  color: var(--text-pure) !important;
}

.spec-highlight {
  font-family: var(--font-mono);
  color: var(--accent-light) !important;
  font-weight: 600;
}

/* ===================================================================
   INSTALLATION SECTION
   =================================================================== */
.install-tabs-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.launcher-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.launcher-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.launcher-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-pure);
}

.launcher-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.launcher-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: var(--text-main);
  padding-top: 4px;
}

.quick-path-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.quick-path-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.quick-path-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090b10;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.quick-path-code code {
  color: var(--accent-light);
  font-size: 13px;
}

.btn-copy-code, .btn-copy-hash {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-copy-code:hover, .btn-copy-hash:hover {
  background: var(--bg-card-hover);
  color: var(--text-pure);
  border-color: var(--border-focus);
}

/* ===================================================================
   DOWNLOAD CARD SECTION
   =================================================================== */
.download-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.download-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding: 40px;
  gap: 36px;
}

.release-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.download-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.download-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.release-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.meta-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.meta-val {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-pure);
}

.checksum-container {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 16px;
}

.checksum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.checksum-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.checksum-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #a5b4fc;
  word-break: break-all;
  background: #090b10;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
}

.download-cta-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  width: 100%;
  text-align: center;
}

.download-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: #000;
  border: 1px solid var(--border-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(0, 128, 255, 0.25);
}

.dl-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.dl-release-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.dl-footnote {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-card);
}

.faq-item.active {
  border-color: var(--border-focus);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
  text-align: left;
}

.faq-arrow {
  transition: transform var(--transition-fast);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  border-top: 1px solid var(--border-dim);
  background: #06070a;
  padding: 60px 0 24px;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.brand-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 24px;
  height: 24px;
}

.footer-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.footer-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

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

.col-title {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-text {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding-top: 24px;
}

.footer-bottom-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copy-text {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-specs-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #151b29;
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 128, 255, 0.25);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notification svg {
  color: var(--color-success);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-tabs-layout {
    grid-template-columns: 1fr;
  }

  .gui-body {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .nav-menu {
    display: none;
  }

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

  .footer-container {
    flex-direction: column;
  }
}

/* ===================================================================
   ADVANCED FLUID ANIMATIONS & MICRO-INTERACTIONS
   Hardware-accelerated, high performance, tactile feedback
   =================================================================== */

/* Scroll-triggered reveal system */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Hero Entrance Sequence */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge { animation: heroEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-title { animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }
.hero-description { animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both; }
.hero-cta-group { animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both; }
.metrics-grid { animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both; }

/* Subtle Icon Pulse Breathe */
@keyframes iconGlowBreathe {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.2);
    border-color: var(--border-card);
  }
  50% {
    box-shadow: 0 0 26px rgba(0, 128, 255, 0.45);
    border-color: rgba(0, 128, 255, 0.5);
  }
}

.brand-icon-wrapper {
  animation: iconGlowBreathe 3.5s infinite ease-in-out;
}

/* Card Hover Elevation */
.metric-card, .dash-card, .faq-item, .specs-table-wrapper {
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 128, 255, 0.35);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 128, 255, 0.12);
}

/* Primary Button Light Sweep */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn:active {
  transform: scale(0.97) !important;
}

/* Download Card Beam Sweep */
@keyframes beamSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.download-card-glow, .auth-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-light) 50%, transparent 100%);
  animation: beamSweep 3.2s infinite linear;
}

/* Module Tab Switch Fade */
@keyframes modTabFade {
  0% {
    opacity: 0;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.module-display {
  animation: modTabFade 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Enhanced Chest Slot Animations */
@keyframes slotSortPop {
  0% {
    transform: scale(0.85);
    background: #11141c;
  }
  45% {
    transform: scale(1.14);
    background: rgba(0, 128, 255, 0.28);
    border-color: var(--accent-light);
    box-shadow: 0 0 14px rgba(0, 128, 255, 0.45);
  }
  100% {
    transform: scale(1);
    background: #11141c;
    border-color: #1c2230;
  }
}

@keyframes slotTrashDisintegrate {
  0% {
    transform: scale(1);
    background: rgba(239, 68, 68, 0.35);
    border-color: var(--color-danger);
  }
  45% {
    transform: scale(0.7) rotate(6deg);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    background: #11141c;
    border-color: #1c2230;
  }
}

.slot.anim-sort {
  animation: slotSortPop 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.slot.anim-trash {
  animation: slotTrashDisintegrate 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-locked {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  filter: none !important;
  text-decoration: none !important;
  pointer-events: auto;
}

.btn-locked:hover {
  background: rgba(239, 68, 68, 0.22) !important;
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}

/* ==========================================================================
   GLOBALS CHAT STYLES (Interactive Online Anarchy Network)
   ========================================================================== */

.globals-chat-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.globals-chat-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.globals-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.gch-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gch-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-chat-tool {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-chat-tool:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
  border-color: rgba(255, 255, 255, 0.16);
}

.globals-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.globals-messages-stream {
  height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: rgba(7, 9, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  scroll-behavior: smooth;
  margin-bottom: 12px;
}

.globals-messages-stream::-webkit-scrollbar {
  width: 6px;
}

.globals-messages-stream::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.globals-msg-item {
  background: rgba(17, 21, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--transition-fast);
  animation: chatMsgFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.globals-msg-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.globals-msg-item.self-msg {
  background: rgba(0, 128, 255, 0.08);
  border-color: rgba(0, 128, 255, 0.25);
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.msg-time {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.msg-role-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.msg-role-dev {
  background: #a855f7;
  color: #000;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.msg-role-beta {
  background: #06b6d4;
  color: #000;
}

.msg-role-user {
  background: #10b981;
  color: #000;
}

.msg-author {
  font-weight: 700;
  color: var(--text-pure);
}

.msg-author.is-self {
  color: var(--accent-light);
}

.msg-body {
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.msg-body .chat-mention {
  color: #fbbf24;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.12);
  padding: 1px 4px;
  border-radius: 3px;
}

.globals-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 15, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 6px 8px;
  border-radius: 10px;
}

.globals-sender-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-pure);
  white-space: nowrap;
}

.gsb-prefix {
  color: #10b981;
}

.globals-text-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-pure);
  font-size: 13px;
  font-family: inherit;
  padding: 6px 8px;
}

.globals-text-input::placeholder {
  color: var(--text-muted);
}

.btn-chat-send {
  padding: 7px 14px !important;
  font-size: 13px !important;
  white-space: nowrap;
}

.globals-online-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.online-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 12px;
  transition: background var(--transition-fast);
}

.online-user-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.oui-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oui-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(0, 128, 255, 0.2);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}

.oui-name {
  font-weight: 600;
  color: var(--text-pure);
}

.oui-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.oui-ping {
  font-size: 10px;
  color: #10b981;
  font-family: var(--font-mono);
}

.globals-info-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.gi-lbl {
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .globals-chat-layout {
    grid-template-columns: 1fr;
  }
}

