/* global.css */
:root {
  --bg-dark-1: #1a1a1a;
  /* Deepest */
  --bg-dark-2: #1e1e1e;
  --bg-dark-3: #252525;
  /* Lighter dark */

  --bg-dark-card: #1a1a1a;
  --text-light: #e0e0e0;
  /* Primary text */
  --text-bright: #ffffff;
  --text-dim: #a0a0a0;
  /* Subtitles, secondary info */
  --accent: #7c3aed;
  /* Vibrant purple accent */
  --accent-hover: #6d28d9;
  /* Darker accent for hover */
  --accent-rgb: 124, 58, 237;
  /* RGB values for transparency uses */

  /* Font variables */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html, body {
  height: 100vh;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark-2);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* Base button styles */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.button-primary {
  background-color: var(--accent);
  color: var(--text-bright) !important;
}

.button-primary:hover {
  background-color: var(--accent-hover);
  color: var(--text-bright) !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.25);
}

/* Ensure button text color overrides any anchor styles */
a.button-primary,
a.button-primary:hover,
a.button-primary:visited {
  color: var(--text-bright) !important;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.2);
  text-decoration: none;
  transform: translateY(-2px);
}

img,
video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 0rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-bright);
}

p {
  margin-bottom: 1.5rem;
}

section {
  scroll-margin-top: 70px;
  /* Accounts for sticky header */
}

/* Hide all scrollbars */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}

/* Hide scrollbar for Firefox */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Apply custom scrollbar to specific scrollable areas */
.content-area,
.sidebar-container,
.table-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), 0.3) var(--bg-dark-1);
}
