/* 🌌 Class Drawing Web Tool - style.css */

:root {
  /* HSL Color System */
  --bg-color: hsl(222, 28%, 7%);
  --bg-gradient: radial-gradient(circle at 50% 50%, hsl(222, 28%, 10%), hsl(222, 28%, 5%));
  
  --card-bg: hsla(222, 25%, 12%, 0.65);
  --card-border: hsla(222, 20%, 20%, 0.45);
  
  --text-primary: hsl(220, 20%, 96%);
  --text-secondary: hsl(220, 10%, 70%);
  --text-muted: hsl(220, 8%, 50%);
  
  --accent-cyan: hsl(180, 100%, 50%);
  --accent-cyan-glow: hsla(180, 100%, 50%, 0.35);
  
  --accent-violet: hsl(270, 90%, 65%);
  --accent-violet-glow: hsla(270, 90%, 65%, 0.35);
  
  --accent-emerald: hsl(150, 80%, 45%);
  --accent-emerald-glow: hsla(150, 80%, 45%, 0.3);
  
  --accent-rose: hsl(340, 85%, 60%);
  --accent-rose-glow: hsla(340, 85%, 60%, 0.3);
  
  --shadow-lg: 0 12px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--accent-cyan-glow);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Light Theme overrides */
[data-theme="light"] {
  --bg-color: hsl(210, 20%, 96%);
  --bg-gradient: radial-gradient(circle at 50% 50%, hsl(210, 20%, 98%), hsl(210, 20%, 92%));
  
  --card-bg: hsla(210, 20%, 100%, 0.8);
  --card-border: hsla(210, 15%, 85%, 0.6);
  
  --text-primary: hsl(210, 30%, 15%);
  --text-secondary: hsl(210, 15%, 40%);
  --text-muted: hsl(210, 10%, 60%);
  
  --accent-cyan-glow: hsla(180, 100%, 40%, 0.15);
  --accent-violet-glow: hsla(270, 90%, 60%, 0.15);
  
  --shadow-lg: 0 12px 30px -10px rgba(150, 155, 170, 0.3);
}

/* Basic Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Noto Sans TC', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Confetti Canvas overlay */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Floating bubble canvas */
#bubble-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* Layout App Container */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
}

/* Header Styles */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

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

.logo-icon {
  font-size: 32px;
  animation: float 4s ease-in-out infinite;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text .subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.header-controls {
  display: flex;
  gap: 12px;
}

.control-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.control-badge:hover {
  background: hsla(0, 0%, 100%, 0.1);
  border-color: var(--accent-cyan);
}

/* Main Dashboard layout */
.app-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .app-main {
    grid-template-columns: 1fr;
  }
}

/* Premium Card component */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 14px;
}

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

.card-icon {
  font-size: 20px;
}

.card h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Giant Display Screen Card */
.display-card {
  padding: 32px;
  background: radial-gradient(circle at top left, hsla(270, 90%, 65%, 0.1), transparent), var(--card-bg);
  border-color: hsla(270, 90%, 65%, 0.2);
}

.display-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
}

.display-screen {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.display-status {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 9px;
  font-family: monospace;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.display-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 1.5s infinite;
}

.draw-roll-container {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 16px 0;
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.draw-roll-container.spinning {
  animation: scaleBounce 0.15s ease infinite alternate;
  color: var(--accent-cyan);
  text-shadow: 0 0 15px var(--accent-cyan-glow);
}

.draw-roll-container.won {
  color: var(--accent-violet);
  text-shadow: 0 0 25px var(--accent-violet-glow);
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.display-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.stage-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.multi-draw-box {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 4px;
  align-items: center;
  flex: 1;
}

.multi-draw-box input {
  width: 50px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.multi-draw-box button {
  flex: 1;
}

/* Seating Chart Details */
.seating-info-bar {
  display: flex;
  gap: 20px;
  font-size: 12px;
  background: hsla(0, 0%, 100%, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  justify-content: space-around;
}

.classroom-front {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-muted);
  background: hsla(0, 0%, 100%, 0.04);
  border-bottom: 2px dashed var(--card-border);
  padding: 8px 0;
  border-radius: 4px;
}

.seating-grid {
  display: grid;
  gap: 12px;
  justify-content: center;
  margin: 10px 0;
}

.seat {
  aspect-ratio: 1.4 / 1;
  background: hsla(0, 0%, 100%, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  user-select: none;
}

.seat-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.seat-frequency {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Seat States */
.seat.available {
  border-left: 3px solid var(--accent-cyan);
}

.seat.available:hover {
  background: hsla(180, 100%, 50%, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  transform: translateY(-2px);
}

.seat.excluded {
  border-left: 3px solid var(--accent-rose);
  opacity: 0.35;
  background: hsla(340, 85%, 60%, 0.05);
}

.seat.drawn {
  border-left: 3px solid var(--text-muted);
  background: hsla(0, 0%, 100%, 0.01);
  opacity: 0.5;
}

.seat.flashing {
  background: var(--accent-cyan) !important;
  color: #000 !important;
  box-shadow: 0 0 15px var(--accent-cyan);
  border-color: var(--accent-cyan) !important;
  transform: scale(1.08);
  z-index: 10;
}

.seat.flashing .seat-number,
.seat.flashing .seat-frequency {
  color: #000 !important;
}

.seat.won-seat {
  background: var(--accent-violet) !important;
  color: #fff !important;
  box-shadow: 0 0 20px var(--accent-violet);
  border-color: var(--accent-violet) !important;
  transform: scale(1.1);
  z-index: 10;
  animation: pulseWon 1s infinite alternate;
}

.seat.won-seat .seat-number,
.seat.won-seat .seat-frequency {
  color: #fff !important;
}

/* Sidebar & Tab Navigation */
.tab-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 6px;
  gap: 6px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.tab-btn.active {
  background: hsla(0, 0%, 100%, 0.08);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
}

/* Sub-tabs for Automatic Draw (Settings and History) */
.sub-tab-header {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.sub-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sub-tab-btn:hover {
  color: var(--text-primary);
  background: hsla(0, 0%, 100%, 0.04);
}

.sub-tab-btn.active {
  background: var(--accent-cyan-glow);
  color: var(--accent-cyan);
  border-color: hsla(180, 100%, 50%, 0.3);
}

[data-theme="light"] .sub-tab-btn.active {
  background: hsla(180, 100%, 40%, 0.08);
  color: hsl(180, 100%, 30%);
  border-color: hsla(180, 100%, 40%, 0.2);
}

.sub-tab-content {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.sub-tab-content.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

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


/* Input Fields and Buttons styles */
.settings-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-group h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 8px;
}

.panel-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.grid-dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-field input,
.input-field textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-field input:focus,
.input-field textarea:focus {
  border-color: var(--accent-cyan);
}

.textarea-names {
  resize: vertical;
}

/* Alert info box */
.info-alert {
  background: hsla(180, 100%, 50%, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.list-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Group Generator results */
.group-mode-selectors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.radio-field input {
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.group-results-container h3 {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.group-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.group-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 12px;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-sm);
}

.group-card {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.group-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 6px;
}

.group-members {
  list-style: none;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-member-item {
  color: var(--text-primary);
  background: hsla(0, 0%, 100%, 0.02);
  padding: 4px 6px;
  border-radius: 4px;
}

/* Timer UI Widget */
.timer-display-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.timer-circle-container {
  position: relative;
  width: 180px;
  height: 180px;
}

.timer-svg {
  width: 100%;
  height: 100%;
}

.timer-bg-circle {
  fill: none;
  stroke: var(--card-border);
  stroke-width: 4px;
}

.timer-progress-circle {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 283; /* 2 * PI * r (r=45) */
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
}

.timer-progress-circle.warning {
  stroke: var(--accent-rose);
}

.timer-digits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 700;
  font-family: monospace;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.timer-modes {
  display: flex;
  gap: 8px;
  width: 100%;
}

.timer-modes button {
  flex: 1;
  padding: 8px 0;
  font-size: 12px;
}

.timer-modes button.active {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
}

.timer-presets {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.preset-btn {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: hsla(180, 100%, 50%, 0.08);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.timer-custom-input {
  display: flex;
  justify-content: center;
}

.input-field-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
}

.input-field-inline input {
  width: 45px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.timer-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.timer-actions button {
  flex: 1;
}

/* Noise Status Board & Widget */
.noise-status-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.noise-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-large {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-small {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

#input-noise-threshold {
  width: 100%;
  accent-color: var(--accent-rose);
  cursor: pointer;
  height: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.noise-warning-card {
  display: none;
  background: hsla(340, 85%, 60%, 0.15);
  border: 1px solid var(--accent-rose);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  animation: flashRed 1s infinite alternate;
}

/* Duties Widget UI */
.duties-results-section h3 {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.duty-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
}

.duty-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.duty-result-item:hover {
  transform: translateX(4px);
  border-color: var(--accent-cyan);
}

.duty-name {
  color: var(--accent-cyan);
  font-weight: 700;
}

.duty-student {
  color: var(--text-primary);
  background: hsla(0, 0%, 100%, 0.05);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* Stats Overview */
.stats-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.stat-val {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.history-list-wrapper {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.1);
}

.history-log {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.history-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 12px;
  border-bottom: 1px solid var(--card-border);
}

.history-item:last-child {
  border-bottom: none;
}

.history-name {
  font-weight: 600;
  color: var(--text-primary);
}

.history-time {
  color: var(--text-muted);
  font-size: 10px;
}

/* Button Classes */
.btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-glow:hover {
  box-shadow: 0 0 15px var(--accent-cyan-glow), 0 0 15px var(--accent-violet-glow);
}

.btn-secondary {
  background: hsla(0, 0%, 100%, 0.05);
  border-color: var(--card-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: hsla(0, 0%, 100%, 0.1);
  border-color: var(--accent-cyan);
}

.btn-accent {
  background: var(--accent-cyan);
  color: #000;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-text {
  background: transparent;
  color: var(--text-secondary);
  padding: 6px 12px;
}

.btn-text:hover {
  color: var(--text-primary);
  background: hsla(0, 0%, 100%, 0.04);
}

.btn-danger-text:hover {
  color: var(--accent-rose);
  background: hsla(340, 85%, 60%, 0.05);
}

.app-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(10deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulseWon {
  0% { box-shadow: 0 0 15px var(--accent-violet-glow); }
  100% { box-shadow: 0 0 25px var(--accent-violet); }
}

@keyframes scaleBounce {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

@keyframes flashRed {
  0% { opacity: 0.65; }
  100% { opacity: 1; }
}

/* Custom Scrollbar for modern feel */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
