/* ==========================================================================
   Timer420 — Windows Fluent Dark Acrylic Design System
   ========================================================================== */

:root {
  /* Windows 11 Fluent Palette */
  --win-bg: #1C1C1C;
  --win-bg-alt: #202020;
  --win-bg-card: rgba(32, 32, 32, 0.75);
  --win-bg-card-hover: rgba(45, 45, 45, 0.85);
  --win-bg-acrylic: rgba(255, 255, 255, 0.04);

  /* Windows Accent Colors */
  --win-accent: #0078D4;
  /* Windows Blue */
  --win-cyan: #00BCD4;
  /* Windows Cyan */
  --win-purple: #8E8CD8;
  /* Fluent Purple */
  --win-mint: #107C41;
  /* Windows Green */
  --win-rose: #E81123;
  /* Windows Close Red */

  --win-border: rgba(255, 255, 255, 0.08);
  --win-border-active: rgba(0, 120, 212, 0.5);

  --win-text: #FFFFFF;
  --win-text-muted: #A0A0A0;
  --win-text-dim: #6E6E6E;

  --font-fluent: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-mono: 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
}

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

::-webkit-scrollbar-track {
  background: #181818;
}

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0078D4;
}

body {
  font-family: var(--font-fluent);
  background-color: var(--win-bg);
  color: var(--win-text);
  overflow-x: hidden;
}

/* Windows Fluent Acrylic Glass Card */
.acrylic-card {
  background: var(--win-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--win-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.25s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.acrylic-card:hover {
  border-color: var(--win-border-active);
  box-shadow: 0 12px 40px 0 rgba(0, 120, 212, 0.25);
}

/* Windows Fluent Button Primary */
.btn-fluent-primary {
  background: var(--win-accent);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-fluent-primary:hover {
  background: #1084D9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.5);
}

/* Windows Fluent Button Secondary */
.btn-fluent-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--win-border);
  color: var(--win-text);
  font-weight: 600;
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-fluent-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--win-cyan);
  transform: translateY(-1px);
}

/* Sidebar Active Navigation Link */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  color: var(--win-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--win-text);
}

.sidebar-link.active {
  background: rgba(0, 120, 212, 0.15);
  color: var(--win-cyan);
  border-left: 3px solid var(--win-accent);
  font-weight: 600;
}

/* Keycap styling for hotkeys */
kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--win-cyan);
}

/* Documentation Content Styling */
.doc-article h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  border-bottom: 1px solid var(--win-border);
  padding-bottom: 0.75rem;
}

.doc-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--win-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--win-purple);
}

.doc-article p {
  color: var(--win-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.doc-article ul,
.doc-article ol {
  color: var(--win-text-muted);
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.doc-article li {
  margin-bottom: 0.5rem;
}

.doc-article pre {
  background: #141414 !important;
  border: 1px solid var(--win-border);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.doc-article code {
  font-family: var(--font-mono);
  color: var(--win-cyan);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
}

.doc-article pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.doc-article blockquote {
  border-left: 4px solid var(--win-accent);
  background: rgba(0, 120, 212, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5rem;
  color: var(--win-text-muted);
}