/* ========================================
   HYTALE DECORATIVE BLOCKS CATALOG
   Official Hytale Theme
   ======================================== */

/* ---------- CSS Variables (Hytale Brand Colors) ---------- */
:root {
  /* Hytale Dark Theme (Default) - Based on official brand */
  --bg-primary: #060b11;          /* Ebony - official dark */
  --bg-secondary: #0a1219;
  --bg-tertiary: #0f1a24;
  --bg-card: #111d28;
  --bg-card-hover: #162633;

  --text-primary: #ebf7ff;         /* Solitude - official light */
  --text-secondary: #9fb8c9;
  --text-muted: #5a7a8f;

  /* Hytale Accent - Pistachio */
  --accent-primary: #a3b50b;       /* Official Hytale lime/pistachio */
  --accent-primary-hover: #b8cc0d;
  --accent-primary-dark: #7a8808;
  --accent-glow: rgba(163, 181, 11, 0.35);
  --accent-glow-strong: rgba(163, 181, 11, 0.6);

  /* Biome Accent Colors - Hytale inspired */
  --accent-emerald: #6abf4a;       /* Emerald Grove green */
  --accent-sand: #d4a24c;          /* Howling Sands gold */
  --accent-frost: #7ec8e3;         /* Borea ice blue */
  --accent-devastation: #c44536;   /* Devastated Lands ember */
  --accent-ocean: #2d8eb9;         /* Ocean depths */
  --accent-universal: #8b7ec8;     /* Universal purple */

  /* UI Colors */
  --border-color: rgba(163, 181, 11, 0.15);
  --border-color-subtle: rgba(235, 247, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.6);
  --overlay-bg: rgba(6, 11, 17, 0.95);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius - Slightly more angular for Hytale feel */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  /* Transitions */
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme - Hytale inspired */
[data-theme="light"] {
  --bg-primary: #ebf7ff;
  --bg-secondary: #daeaf5;
  --bg-tertiary: #c9dce9;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f8ff;

  --text-primary: #060b11;
  --text-secondary: #2a3f4d;
  --text-muted: #5a7080;

  --accent-primary: #7a8808;
  --accent-primary-hover: #6a7607;
  --accent-glow: rgba(122, 136, 8, 0.25);

  --border-color: rgba(122, 136, 8, 0.2);
  --border-color-subtle: rgba(6, 11, 17, 0.1);
  --shadow-color: rgba(6, 11, 17, 0.12);
  --overlay-bg: rgba(235, 247, 255, 0.95);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Hytale-style atmospheric background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(163, 181, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(46, 142, 185, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(6, 11, 17, 0) 0%, rgba(6, 11, 17, 0.4) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Subtle grid pattern overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(163, 181, 11, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 181, 11, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.25rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #c8db0f 50%, var(--accent-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* ---------- Layout ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(6, 11, 17, 0.95) 100%);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
  gap: var(--spacing-lg);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(163, 181, 11, 0.3));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(163, 181, 11, 0.5));
}

.site-title {
  font-size: 1.5rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.03em;
}

.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.9rem;
  font-family: 'Nunito Sans', sans-serif;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-card);
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

/* ---------- Search & Filter Section ---------- */
.filter-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--border-color-subtle);
}

.search-container {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.search-input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  padding-left: 3.25rem;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Nunito Sans', sans-serif;
  transition: all var(--transition-fast);
}

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

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-card);
  box-shadow:
    0 0 0 4px var(--accent-glow),
    0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-icon {
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-primary);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.8;
}

/* Filter Buttons */
.filter-groups {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.filter-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Biome-specific button colors when active */
.filter-btn[data-biome="emerald-grove"].active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  box-shadow: 0 4px 12px rgba(106, 191, 74, 0.4);
}

.filter-btn[data-biome="howling-sands"].active {
  background: var(--accent-sand);
  border-color: var(--accent-sand);
  box-shadow: 0 4px 12px rgba(212, 162, 76, 0.4);
}

.filter-btn[data-biome="borea"].active {
  background: var(--accent-frost);
  border-color: var(--accent-frost);
  color: var(--bg-primary);
  box-shadow: 0 4px 12px rgba(126, 200, 227, 0.4);
}

.filter-btn[data-biome="devastated-lands"].active {
  background: var(--accent-devastation);
  border-color: var(--accent-devastation);
  color: white;
  box-shadow: 0 4px 12px rgba(196, 69, 54, 0.4);
}

.filter-btn[data-biome="ocean"].active {
  background: var(--accent-ocean);
  border-color: var(--accent-ocean);
  color: white;
  box-shadow: 0 4px 12px rgba(45, 142, 185, 0.4);
}

.filter-btn[data-biome="universal"].active {
  background: var(--accent-universal);
  border-color: var(--accent-universal);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 126, 200, 0.4);
}

/* Active Filters Display */
.active-filters {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg-primary);
}

.filter-chip button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.filter-chip button:hover {
  opacity: 1;
}

/* ---------- Results Info ---------- */
.results-info {
  padding: var(--spacing-md) 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Catalog Grid ---------- */
.catalog-section {
  padding: var(--spacing-xl) 0 var(--spacing-3xl);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

/* ---------- Block Card ---------- */
.block-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-color-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.block-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.block-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 30px var(--accent-glow);
}

.block-card:hover::before {
  opacity: 1;
}

.block-image-container {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.block-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.block-image {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.block-card:hover .block-image {
  transform: scale(1.08);
}

/* Placeholder block */
.block-placeholder {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transform: perspective(500px) rotateX(-5deg) rotateY(15deg);
  box-shadow:
    -5px 5px 0 rgba(0,0,0,0.2),
    -10px 10px 0 rgba(0,0,0,0.1);
}

.block-info {
  padding: var(--spacing-md);
}

.block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.block-name {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.biome-badge {
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.biome-badge.emerald-grove {
  background: rgba(106, 191, 74, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(106, 191, 74, 0.3);
}

.biome-badge.howling-sands {
  background: rgba(212, 162, 76, 0.15);
  color: var(--accent-sand);
  border: 1px solid rgba(212, 162, 76, 0.3);
}

.biome-badge.borea {
  background: rgba(126, 200, 227, 0.15);
  color: var(--accent-frost);
  border: 1px solid rgba(126, 200, 227, 0.3);
}

.biome-badge.devastated-lands {
  background: rgba(196, 69, 54, 0.15);
  color: var(--accent-devastation);
  border: 1px solid rgba(196, 69, 54, 0.3);
}

.biome-badge.ocean {
  background: rgba(45, 142, 185, 0.15);
  color: var(--accent-ocean);
  border: 1px solid rgba(45, 142, 185, 0.3);
}

.biome-badge.universal {
  background: rgba(139, 126, 200, 0.15);
  color: var(--accent-universal);
  border: 1px solid rgba(139, 126, 200, 0.3);
}

.block-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.block-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.view-3d-btn {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  color: var(--bg-primary);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.view-3d-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px var(--accent-glow-strong);
}

.view-3d-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- 3D Preview Modal ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 850px;
  width: 92%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 60px var(--accent-glow);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color-subtle);
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  color: var(--accent-primary);
}

.modal-close {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-subtle);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--accent-devastation);
  border-color: var(--accent-devastation);
  color: white;
}

.modal-close svg {
  width: 22px;
  height: 22px;
}

.modal-body {
  padding: var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.preview-container {
  aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color-subtle);
}

#preview-canvas {
  width: 100%;
  height: 100%;
}

.preview-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.preview-info h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  font-family: 'Cinzel', serif;
}

.preview-info p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: auto;
  padding: var(--spacing-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-subtle);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
}

.meta-label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.meta-value {
  color: var(--accent-primary);
  font-weight: 600;
}

.preview-controls {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color-subtle);
}

.preview-controls span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.preview-controls svg {
  color: var(--accent-primary);
}

/* ---------- Empty State ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-3xl);
  color: var(--text-muted);
}

.empty-state svg {
  width: 72px;
  height: 72px;
  margin-bottom: var(--spacing-md);
  color: var(--accent-primary);
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  font-family: 'Cinzel', serif;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--spacing-xl) 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color-subtle);
  margin-top: var(--spacing-2xl);
  background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%);
}

.footer a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--accent-primary-hover);
  text-decoration: underline;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.block-card {
  animation: slideUp var(--transition-slow) ease-out;
  animation-fill-mode: both;
}

.block-card:nth-child(1) { animation-delay: 0ms; }
.block-card:nth-child(2) { animation-delay: 40ms; }
.block-card:nth-child(3) { animation-delay: 80ms; }
.block-card:nth-child(4) { animation-delay: 120ms; }
.block-card:nth-child(5) { animation-delay: 160ms; }
.block-card:nth-child(6) { animation-delay: 200ms; }
.block-card:nth-child(7) { animation-delay: 240ms; }
.block-card:nth-child(8) { animation-delay: 280ms; }
.block-card:nth-child(9) { animation-delay: 320ms; }
.block-card:nth-child(10) { animation-delay: 360ms; }
.block-card:nth-child(11) { animation-delay: 400ms; }
.block-card:nth-child(12) { animation-delay: 440ms; }

/* ---------- Responsive Design ---------- */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  .site-title {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-label {
    min-width: auto;
  }

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

  .preview-container {
    max-height: 280px;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }

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

  .filter-buttons {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ---------- Selection Styling ---------- */
::selection {
  background: var(--accent-primary);
  color: var(--bg-primary);
}
