@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=IBM+Plex+Mono:wght@400;700&display=swap');

:root {
  --bg-dark: #060c18;
  --bg-card: #0a1628;
  --bg-card-hover: #0f1f38;
  --bg-header: linear-gradient(135deg, #0a1628, #091220);
  --border-color: rgba(26, 45, 74, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --primary-glow: rgba(0, 212, 255, 0.2);
  --text-main: #e8f4fd;
  --text-muted: #a8bdd4;
  --text-darker: #6e88a6;
  
  --color-cec: #00d4ff;
  --color-pnp: #a855f7;
  --color-french: #22c55e;
  --color-health: #f43f5e;
  --color-phys: #f97316;
  --color-trades: #84cc16;
  --color-senior: #6366f1;
  --color-stem: #06b6d4;
  --color-danger: #f44444;

  /* Safe area insets for mobile */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  padding-bottom: calc(60px + var(--safe-bottom));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseGlow { 
    0% { box-shadow: 0 0 10px var(--primary-glow); } 
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); } 
    100% { box-shadow: 0 0 10px var(--primary-glow); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.fade-in { animation: fadeIn 0.4s ease-out forwards; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1a2d4a; border-radius: 4px; }
a { color: var(--color-cec); text-decoration: none; font-size: 11px; font-weight: 600; transition: color 0.2s; }
a:hover { color: #fff; }

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.splash-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 0 30px var(--primary-glow);
    animation: splashPulse 2s infinite ease-in-out;
}

.splash-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    letter-spacing: 5px;
    color: var(--color-cec);
    font-weight: 800;
    margin-top: 10px;
}

.splash-loader {
    width: 40px;
    height: 2px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.splash-loader::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-cec);
    animation: loadingBar 1.5s infinite linear;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes loadingBar {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Header */
.header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  padding: calc(24px + var(--safe-top)) 20px 0;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: -50px; left: -50px; right: -50px; height: 100px;
  background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.logo-row { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--color-cec); text-transform: uppercase; font-weight: 700; }
.dot-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--color-french); box-shadow: 0 0 10px var(--color-french); }

.title { font-size: 28px; font-weight: 800; color: #fff; margin: 12px 0 4px; letter-spacing: -0.5px; }
.subtitle { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--text-darker); letter-spacing: 1px; }

/* Tabs */
.tabs { display: flex; margin-top: 24px; gap: 4px; }
.tab-btn {
  background: transparent; border: none; color: var(--text-darker);
  padding: 10px 16px; font-size: 11px; letter-spacing: 2px; font-family: 'IBM Plex Mono', monospace;
  font-weight: 700; cursor: pointer; text-transform: uppercase;
  border-radius: 6px 6px 0 0; transition: all 0.3s ease;
}
.tab-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.03); }
.tab-btn.active { color: var(--bg-dark); background: var(--color-cec); box-shadow: 0 -4px 15px var(--primary-glow); }

/* Layout */
.container { padding: 20px; max-width: 800px; margin: 0 auto; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease-out forwards; }

.match-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 30px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px dashed var(--border-color);
  font-size: 0.95rem;
}

/* Global Notification Banner */
.global-notify-banner {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notify-enable-btn {
  background: var(--color-stem);
  color: #060c18;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Cards & Elements */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { border-color: rgba(0, 212, 255, 0.3); }

.section-title {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px;
  color: #8dacc8; text-transform: uppercase; margin-bottom: 12px; font-weight: 700;
}

.section-subtitle {
  font-size: 11px; color: var(--text-muted); margin-top: -8px; margin-bottom: 14px;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

/* Input & Buttons */
.input-row { display: flex; gap: 10px; }
.input-style {
  background: rgba(0,0,0,0.2); border: 1px solid var(--border-color); border-radius: 8px;
  color: #fff; font-family: 'Inter', sans-serif; font-size: 16px; padding: 12px 16px;
  width: 100%; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-style:focus { border-color: var(--color-cec); box-shadow: 0 0 0 2px var(--primary-glow); }

.btn {
  background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--color-cec); border-radius: 8px; padding: 12px 20px;
  font-size: 11px; letter-spacing: 2px; font-weight: 700; font-family: 'IBM Plex Mono', monospace;
  cursor: pointer; text-transform: uppercase; transition: all 0.2s ease; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.btn:hover { background: rgba(0, 212, 255, 0.2); transform: translateY(-1px); box-shadow: 0 4px 12px var(--primary-glow); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Filters */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-btn {
  background: transparent; border: 1px solid var(--border-color); color: var(--text-muted);
  padding: 6px 12px; font-size: 10px; letter-spacing: 1px; font-family: 'IBM Plex Mono', monospace;
  font-weight: 700; cursor: pointer; text-transform: uppercase; border-radius: 20px;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--text-muted); color: var(--text-main); }
.filter-btn.active { background: rgba(0, 212, 255, 0.15); border-color: var(--color-cec); color: var(--color-cec); box-shadow: 0 0 10px var(--primary-glow); }

/* Chart Range Buttons */
.chart-range-btn {
  background: transparent; border: 1px solid var(--border-color); color: var(--text-muted);
  padding: 4px 10px; font-size: 9px; letter-spacing: 1px; font-family: 'IBM Plex Mono', monospace;
  font-weight: 700; cursor: pointer; text-transform: uppercase; border-radius: 12px;
  transition: all 0.2s ease;
}
.chart-range-btn:hover { border-color: var(--text-muted); color: var(--text-main); }
.chart-range-btn.active { background: rgba(0,212,255,0.12); border-color: var(--color-cec); color: var(--color-cec); box-shadow: 0 0 8px var(--primary-glow); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; padding: 3px 8px; font-size: 9px; letter-spacing: 1px;
  font-weight: 800; text-transform: uppercase; font-family: 'IBM Plex Mono', monospace;
}

/* Draw Item Styles */
.draw-item {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px;
  padding: 16px; margin-bottom: 12px; position: relative;
  transition: all 0.2s ease; display: flex; flex-direction: column; gap: 8px;
}
.draw-item:hover { transform: translateX(4px); background: var(--bg-card-hover); }
.draw-item.is-latest {
  background: linear-gradient(145deg, #0a1f2e, #080f1c);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.draw-item.would-qualify { border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.03); }

/* Pool Grid — single stat */
.pool-grid-single { display: flex; justify-content: center; margin-bottom: 16px; }
.pool-grid-single .pool-stat { max-width: 180px; width: 100%; border: 1px solid; }
.pool-stat {
  background: var(--bg-card); border-radius: 10px; padding: 20px 10px; text-align: center;
}
.pool-val { font-size: 32px; font-weight: 800; display: block; line-height: 1; font-family: 'IBM Plex Mono', monospace; }
.pool-lbl { font-size: 9px; color: var(--text-darker); letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; display: block; }

.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-french); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ============================================================
   YEAR RANGE SLIDER
   ============================================================ */
.year-slider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 18px 14px;
  margin-bottom: 12px;
}
.year-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.year-slider-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #8dacc8;
  text-transform: uppercase;
  font-weight: 700;
}
.year-slider-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-cec);
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

/* Dual-range slider track */
.dual-range-wrap {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
}
.range-track {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: rgba(26, 45, 74, 0.9);
  border-radius: 2px;
}
.range-fill {
  position: absolute;
  height: 4px;
  background: linear-gradient(90deg, rgba(0,212,255,0.5), var(--color-cec));
  border-radius: 2px;
  pointer-events: none;
}

/* Overlapping range inputs */
.range-thumb {
  position: absolute;
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
  margin: 0;
}
.range-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--color-cec);
  cursor: grab;
  box-shadow: 0 0 10px rgba(0,212,255,0.45);
  transition: box-shadow 0.2s, transform 0.15s;
}
.range-thumb::-webkit-slider-thumb:hover {
  box-shadow: 0 0 18px rgba(0,212,255,0.75);
  transform: scale(1.18);
}
.range-thumb::-webkit-slider-thumb:active { cursor: grabbing; }
.range-thumb::-moz-range-thumb {
  pointer-events: all;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--color-cec);
  cursor: grab;
  box-shadow: 0 0 10px rgba(0,212,255,0.45);
}

/* Year tick labels below slider */
.range-year-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--text-darker);
  letter-spacing: 0.5px;
}

/* Single-year chip fallback */
.year-chip-row { display: flex; gap: 8px; margin-bottom: 12px; }
.year-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-darker);
}
.year-chip.active {
  background: rgba(0,212,255,0.12);
  border-color: var(--color-cec);
  color: var(--color-cec);
  box-shadow: 0 0 8px var(--primary-glow);
}

/* Year group headers in draws list */
.year-group-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-darker);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 0 6px;
  margin: 6px 0 2px;
  position: relative;
}
.year-group-header::before,
.year-group-header::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border-color);
}
.year-group-header::before { left: 0; }
.year-group-header::after  { right: 0; }

/* Version pill on draw badges */
.ver-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  color: var(--text-darker);
  padding: 2px 6px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.loader {
    width: 14px; height: 14px; border: 2px solid var(--color-cec);
    border-top-color: transparent; border-radius: 50%;
    animation: spin 0.8s linear infinite; display: inline-block;
}

/* ============================================================
   PROFILE TAB STYLES
   ============================================================ */

/* Score Display */
.profile-score-card {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(180deg, #0a1f2e, #0a1628);
}

.profile-score-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-score-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 56px;
  font-weight: 800;
  color: var(--color-cec);
  line-height: 1;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  letter-spacing: -2px;
}

.profile-edit-btn {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  color: var(--color-cec);
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-edit-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: scale(1.05);
}

.profile-score-meta {
  font-size: 10px;
  color: var(--text-darker);
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.5px;
}

/* Preference Chips */
.pref-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pref-chip {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-darker);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pref-chip:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
}

.pref-chip.active {
  box-shadow: 0 0 12px var(--chip-glow, rgba(0, 212, 255, 0.3));
  transform: scale(1.02);
}

/* Toggle Switches */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 45, 74, 0.4);
}
.toggle-row:last-child { border-bottom: none; }

.toggle-info { flex: 1; margin-right: 16px; }

.toggle-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.toggle-desc {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 45, 74, 0.8);
  border-radius: 26px;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--text-darker);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(34, 197, 94, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: var(--color-french);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* Match History */
.match-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.2s ease;
}

.match-item:hover {
  background: var(--bg-card-hover);
}

.match-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.match-icon.qualify {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-french);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.match-icon.fail {
  background: rgba(244, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(244, 68, 68, 0.2);
}

.match-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.match-draw-info {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.match-draw-date {
  font-size: 10px;
  color: var(--text-muted);
}

.match-crs {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.match-item.qualify { border-color: rgba(34, 197, 94, 0.25); }
.match-item.fail { border-color: rgba(244, 68, 68, 0.12); }

.match-empty {
  text-align: center;
  color: var(--text-darker);
  font-size: 11px;
  padding: 24px;
  line-height: 1.6;
}

/* ============================================================
   AD CONTAINERS
   ============================================================ */

.ad-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 16px auto;
  width: 100%;
  overflow: hidden;
  min-height: 0;
}

/* Only show placeholder styling in dev/web */
.ad-container.placeholder {
  background: rgba(0, 212, 255, 0.05);
  border: 1px dashed rgba(0, 212, 255, 0.2);
  color: var(--text-darker);
  font-size: 9px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 60px;
}

.ad-banner-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: var(--safe-bottom);
  min-height: 0;
}

.ad-banner-bottom.placeholder {
  background: rgba(6, 12, 24, 0.95);
  border-top: 1px solid var(--border-color);
  min-height: 50px;
  color: var(--text-darker);
  font-size: 9px;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .tabs { gap: 2px; }
  .tab-btn { padding: 10px 8px; font-size: 9px; letter-spacing: 0.8px; }
}

/* Global footer */
.global-footer {
  text-align: center;
  padding: 20px 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--text-darker);
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}
.global-footer a {
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.8px;
  color: var(--text-darker);
  text-transform: uppercase;
  transition: color 0.2s;
}
.global-footer a:hover { color: var(--color-cec); }
.footer-sep { color: var(--border-color); }

/* Motivational Quote Card */
.quote-card {
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.6), rgba(6, 12, 24, 0.8));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin-top: 10px;
  margin-bottom: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 80px;
  font-family: 'serif';
  color: rgba(0, 212, 255, 0.05);
  line-height: 1;
}

.quote-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 12px;
  font-style: italic;
}

.quote-author {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--color-cec);
  text-transform: uppercase;
  font-weight: 700;
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--color-cec);
    color: #060c18;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    transform: translateY(20px);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    transform: scale(1.1);
}

#scroll-to-top:active {
    transform: scale(0.95);
}
