:root {
  /* Monochrome Theme (Default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #151515;
  --accent: #ffffff;
  --accent-rgb: 255, 255, 255;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  
  /* Dynamic Values */
  --blur-intensity: 15px;
  --glass-opacity: 0.1;
  --ring-thickness: 6px;
  --ring-size: 26rem;
  --time-size: 5rem;
  --button-size: 1rem;
}

.nav-btn:hover {
            background: rgba(255, 255, 255, 0.2) !important;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .nav-btn:active {
            transform: translateY(0);
        }

/* Theme Variations */
[data-theme="ocean"] {
  --accent: #38bdf8;
  --accent-rgb: 56, 189, 248;
}

[data-theme="sunset"] {
  --accent: #fb923c;
  --accent-rgb: 251, 146, 60;
}

[data-theme="forest"] {
  --accent: #4ade80;
  --accent-rgb: 74, 222, 128;
}

[data-theme="lavender"] {
  --accent: #c084fc;
  --accent-rgb: 192, 132, 252;
}

[data-theme="crimson"] {
  --accent: #f43f5e;
  --accent-rgb: 244, 63, 94;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Aurora Background */
.aurora-bg {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(var(--accent-rgb), 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(var(--accent-rgb), 0.05), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.03), transparent 70%);
  z-index: 0;
  animation: aurora 20s ease infinite;
  will-change: transform;
  transition: filter 0.3s ease;
}

body.settings-open .aurora-bg {
  filter: blur(8px);
}

@keyframes aurora {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.05) rotate(2deg); opacity: 0.9; }
}

/* Liquid Glass Mixin */
.liquid-glass {
  background: rgba(255, 255, 255, var(--glass-opacity));
  backdrop-filter: blur(var(--blur-intensity)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--blur-intensity)) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Settings Gear (Top Right) */
.settings-gear {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

body.timer-running .nav-buttons {
    opacity: 0;
    pointer-events: none;
}

.settings-gear svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-gear:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.settings-gear:hover svg {
  transform: rotate(90deg);
}

body.timer-running .settings-gear {
  opacity: 0.3;
}

body.settings-open .settings-gear {
  opacity: 0;
  pointer-events: none;
}

/* Floating Stop Button (Changed to X) */
.floating-stop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.floating-stop svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 2.5;
}

body.timer-running .floating-stop {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.floating-stop:hover {
  transform: scale(1.1);
  box-shadow: 
    0 12px 40px rgba(var(--accent-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-stop:hover svg {
  transform: rotate(90deg);
}

/* Settings Overlay */
.settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Settings Panel */
.settings-panel {
  position: fixed;
  top: 0;
  right: -30rem;
  width: 30rem;
  height: 100vh;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-overlay.open .settings-panel {
  right: 0;
}

.settings-content {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.settings-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.close-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s;
}

.close-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.settings-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.75rem;
}

/* Custom Scrollbar */
.settings-scroll::-webkit-scrollbar {
  width: 0.5rem;
}

.settings-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.settings-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.2);
  border-radius: 1rem;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s;
}

.settings-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb), 0.4);
  background-clip: padding-box;
}

.tutorial-modal::-webkit-scrollbar {
  width: 0.5rem;
}

.tutorial-modal::-webkit-scrollbar-track {
  background: transparent;
}

.tutorial-modal::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.2);
  border-radius: 1rem;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.tutorial-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb), 0.4);
  background-clip: padding-box;
}

.setting-group {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-group:last-child {
  border-bottom: none;
}

.setting-group h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* Input Labels */
.input-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.input-label span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.input-label input[type="number"] {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

.input-label input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

/* Theme Grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.theme-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.theme-btn.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

.theme-preview {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-preview.mono { background: linear-gradient(135deg, #ffffff, #a0a0a0); }
.theme-preview.ocean { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.theme-preview.sunset { background: linear-gradient(135deg, #fb923c, #f97316); }
.theme-preview.forest { background: linear-gradient(135deg, #4ade80, #22c55e); }
.theme-preview.lavender { background: linear-gradient(135deg, #c084fc, #a855f7); }
.theme-preview.crimson { background: linear-gradient(135deg, #f43f5e, #e11d48); }

/* Sliders */
.slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.slider-label span:first-child {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  flex-shrink: 0;
}

.slider-value {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 3rem;
  text-align: right;
}

.slider-label input[type="range"] {
  flex: 1;
  height: 0.375rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  cursor: pointer;
}

.slider-label input[type="range"]::-webkit-slider-track {
  height: 0.375rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.slider-label input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.125rem;  
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.5);
  transition: transform 0.2s;
}

.slider-label input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(var(--accent-rgb), 0.6);
}

.slider-label input[type="range"]::-moz-range-thumb {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.5);
  transition: transform 0.2s;
}

.slider-label input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
}

/* Ring Style Grid */
.ring-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ring-btn {
  padding: 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.ring-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ring-btn.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
}

/* Toggle Switch */
.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  cursor: pointer;
}

.toggle-label span:first-child {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--text-primary);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toggle-label input:checked + .toggle-slider {
  background: var(--accent);
}

.toggle-label input:checked + .toggle-slider::before {
  transform: translateX(1.25rem);
}

/* Help Button */
.help-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: none;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-primary);
}

.help-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Main Timer */
.timer-main {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: filter 0.3s ease;
}

body.settings-open .timer-main {
  filter: blur(4px);
}

.timer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mode Label */
.mode-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.6;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.timer-running .mode-label {
  opacity: 0;
  transform: translateY(-20px);
}

/* Progress Ring */
.timer-ring-container {
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  max-width: 90vw;
  max-height: 90vw;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.3));
  will-change: filter;
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: var(--ring-thickness);
}

.ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: var(--ring-thickness);
  stroke-linecap: round;
  stroke-dasharray: 628.32;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: stroke-dashoffset;
}

body[data-ring="glow"] .ring-progress {
  filter: url(#glow);
}

body[data-ring="gradient"] .ring-progress {
  stroke: url(#ring-gradient);
}

.gradient-start { stop-color: var(--accent); }
.gradient-end { stop-color: rgba(var(--accent-rgb), 0.5); }

.timer-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#time-display {
  font-family: Arial, 'SF Mono', 'Consolas', monospace;
  font-size: var(--time-size);
  font-weight: 200;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(var(--accent-rgb), 0.2);
}

/* Controls */
.controls {
  display: flex;
  gap: 1rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.timer-running .controls {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.ctrl-btn {
  padding: calc(var(--button-size) * 0.875) calc(var(--button-size) * 2);
  border-radius: calc(var(--button-size) * 1.25);
  border: none;
  font-size: calc(var(--button-size) * 0.9375);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.ctrl-btn.primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 
    0 4px 16px rgba(var(--accent-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ctrl-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
}

.ctrl-btn.secondary {
  color: var(--text-primary);
}

.ctrl-btn.secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

/* Keyboard Hints */
.keyboard-hints {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.5;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.timer-running .keyboard-hints {
  opacity: 0;
  transform: translateY(20px);
}

kbd {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  font-family: 'SF Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-primary);
}

/* Tutorial Modal */
.tutorial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.tutorial-modal {
  width: 90%;
  max-width: 36rem;
  max-height: 85vh;
  padding: 2.5rem;
  border-radius: 2rem;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-overlay.show .tutorial-modal {
  transform: scale(1);
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.tutorial-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tutorial-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tutorial-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.tutorial-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

.tutorial-step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tutorial-start-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 1.25rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 
    0 4px 16px rgba(var(--accent-rgb), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.4);
}

/* Flash Animation */
@keyframes flash {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.8; filter: brightness(1.5); }
}

.flash {
  animation: flash 0.4s ease;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .aurora-bg { animation: none; }
}

/* Mobile */
@media (max-width: 48rem) {
  .settings-panel {
    width: 100vw;
    right: -100vw;
  }
  
  .settings-gear {
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .floating-stop {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
  
  .timer-content {
    gap: 2rem;
  }
  
  .controls {
    flex-direction: column;
    width: 100%;
    max-width: 16rem;
  }
  
  .ctrl-btn {
    width: 100%;
  }
  
  .tutorial-modal {
    padding: 2rem;
  }
}


/* ========== COMPLETION MODAL ========== */
.completion-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.completion-modal.show {
  opacity: 1;
  pointer-events: all;
}

.completion-modal-content {
  padding: 3rem 4rem;
  border-radius: 24px;
  text-align: center;
  max-width: 500px;
  transform: translateY(20px) scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.completion-modal.show .completion-modal-content {
  transform: translateY(0) scale(1);
}

.completion-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.completion-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.completion-modal[data-type="break-complete"] .completion-title {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.completion-message {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.completion-close {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.completion-modal[data-type="break-complete"] .completion-close {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.completion-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.completion-close:active {
  transform: translateY(0);
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  z-index: 99999;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body.loaded #loading-screen {
  opacity: 0;
}
