/* ── NEETstuff Refined Dark Cyber Design System ── */

:root {
  /* Colors */
  --bg-deep: #0A0A0F;
  --surface: #14141A;
  --surface-elevated: #1A1A22;
  --accent-primary: #00FF9F;
  --accent-secondary: #FF0066;
  --text-primary: #F0F0F5;
  --text-secondary: #A3A3AD;
  --text-muted: #6B6B75;
  --border: #25252E;
  --focus-ring: rgba(0, 255, 159, 0.4);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Navigation */
  --nav-height: 64px;
  --nav-height-mobile: 56px;
}

/* Typography Classes */
.text-display {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -2%;
}

.text-page-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.5%;
}

.text-section {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -1%;
}

.text-subhead {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.5%;
}

.text-body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
}

.text-small {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.3%;
}

.text-mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
}

/* Navigation & Layout */
nav.glass-nav,
.neet-deck-header {
  height: var(--nav-height);
  min-height: var(--nav-height);
  z-index: 1000;
}

.main-content {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

@media (max-width: 768px) {
  nav.glass-nav,
  .neet-deck-header {
    height: var(--nav-height-mobile);
    min-height: var(--nav-height-mobile);
  }

  .main-content {
    padding-top: var(--nav-height-mobile);
    padding-bottom: 24px;
  }

  /* Remove inoperable bottom menu + editor CTAs on mobile */
  #mobile-toolbar,
  .mobile-tool-btn,
  button[onclick*="_startEditorPoll"],
  .mobile-menu-link[data-i18n="nav.create"] {
    display: none !important;
  }
  /* iOS Safari may require hard refresh (Settings > Safari > Clear History) */
}

/* Mobile Floating Share / Action Button */
.mobile-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--accent-primary);
  color: #0A0A0F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 255, 159, 0.35);
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 255, 159, 0.45);
}

@media (min-width: 769px) {
  .mobile-fab {
    display: none;
  }
}

/* Editor-specific override (if needed) */
#editor-root,
.editor-container {
  padding-top: var(--nav-height);
}
