/**
 * The Loop — Reveal.js theme
 * Dark premium, accent orange #E8650A, Bricolage Grotesque + Inter
 */

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

:root {
  --r-background-color: #080808;
  --r-main-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r-main-font-size: 32px;
  --r-main-color: #ffffff;
  --r-block-margin: 24px;
  --r-heading-margin: 0 0 28px 0;
  --r-heading-font: 'Bricolage Grotesque', sans-serif;
  --r-heading-color: #ffffff;
  --r-heading-line-height: 1.04;
  --r-heading-letter-spacing: -0.025em;
  --r-heading-text-transform: none;
  --r-heading-text-shadow: none;
  --r-heading-font-weight: 800;
  --r-heading1-text-shadow: none;
  --r-heading1-size: 3.4em;
  --r-heading2-size: 2.2em;
  --r-heading3-size: 1.5em;
  --r-heading4-size: 1.1em;
  --r-code-font: 'JetBrains Mono', monospace;
  --r-link-color: #E8650A;
  --r-link-color-dark: #c2530a;
  --r-link-color-hover: #f59e0b;
  --r-selection-background-color: rgba(232, 101, 10, 0.4);
  --r-selection-color: #ffffff;
  --r-overlay-element-bg-color: 232, 101, 10;
  --r-overlay-element-fg-color: 255, 255, 255;

  --tl-orange: #E8650A;
  --tl-amber: #F59E0B;
  --tl-green: #4ade80;
  --tl-gray: #A1A1AA;
  --tl-gray-dark: #52525b;
  --tl-surface: #0d0d0d;
  --tl-border: rgba(255, 255, 255, 0.1);
}

.reveal-viewport {
  background: #080808;
  background-color: var(--r-background-color);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(232, 101, 10, 0.06), transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(232, 101, 10, 0.03), transparent 50%);
}

.reveal {
  font-family: var(--r-main-font);
  font-size: var(--r-main-font-size);
  font-weight: 400;
  color: var(--r-main-color);
  line-height: 1.6;
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section,
.reveal .slides section > section {
  text-align: left;
  line-height: 1.6;
  font-weight: 400;
  padding: 0 2%;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  font-family: var(--r-heading-font);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: #ffffff;
  margin: var(--r-heading-margin);
  text-transform: none;
}

.reveal h1 { font-size: var(--r-heading1-size); }
.reveal h2 { font-size: var(--r-heading2-size); }
.reveal h3 { font-size: var(--r-heading3-size); }
.reveal h4 { font-size: var(--r-heading4-size); font-weight: 700; }

.reveal h1 em,
.reveal h2 em,
.reveal h3 em,
.reveal .accent {
  color: var(--tl-orange);
  font-style: normal;
}

.reveal p {
  color: #ffffff;
  line-height: 1.75;
  font-size: 0.55em;
  margin: 0 0 var(--r-block-margin) 0;
}

.reveal p.lead {
  font-size: 0.7em;
  color: var(--tl-gray);
  font-weight: 300;
}

.reveal a {
  color: var(--tl-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 101, 10, 0.4);
  transition: all 0.25s ease;
}

.reveal a:hover {
  color: var(--tl-amber);
  border-bottom-color: var(--tl-amber);
}

.reveal strong,
.reveal b {
  color: #ffffff;
  font-weight: 600;
}

.reveal em {
  color: var(--tl-orange);
  font-style: normal;
}

.reveal ul,
.reveal ol {
  display: block;
  margin-left: 1em;
  font-size: 0.55em;
  line-height: 1.75;
}

.reveal ul li,
.reveal ol li {
  margin-bottom: 12px;
  color: #ffffff;
}

.reveal ul li::marker {
  color: var(--tl-orange);
}

.reveal .label {
  text-transform: uppercase;
  font-size: 0.32em;
  letter-spacing: 0.12em;
  color: var(--tl-orange);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.reveal .stat {
  font-family: var(--r-heading-font);
  font-size: 4.5em;
  font-weight: 800;
  color: var(--tl-orange);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  margin: 12px 0;
}

.reveal .card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--tl-border);
  border-radius: 20px;
  padding: 32px;
  margin: 16px 0;
  transition: border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.reveal .card:hover {
  border-color: rgba(232, 101, 10, 0.4);
}

.reveal .cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.reveal .cards-grid.three { grid-template-columns: repeat(3, 1fr); }

.reveal .pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(232, 101, 10, 0.15);
  border: 1px solid rgba(232, 101, 10, 0.3);
  color: var(--tl-orange);
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: 8px;
}

.reveal .cta {
  display: inline-block;
  background: var(--tl-orange);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.5em;
  letter-spacing: -0.01em;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 32px rgba(232, 101, 10, 0.3);
}

.reveal .cta:hover {
  background: #f47419;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 101, 10, 0.5);
}

.reveal pre {
  background: var(--tl-surface);
  border: 1px solid var(--tl-border);
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
  font-size: 0.45em;
  line-height: 1.6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  width: 100%;
  word-wrap: break-word;
}

.reveal pre code {
  font-family: var(--r-code-font);
  color: #e4e4e7;
  background: transparent;
  padding: 0;
  display: block;
  overflow: auto;
  max-height: 100%;
}

.reveal code {
  font-family: var(--r-code-font);
  background: rgba(232, 101, 10, 0.12);
  color: var(--tl-amber);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}

.reveal blockquote {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-left: 3px solid var(--tl-orange);
  border-radius: 0 14px 14px 0;
  padding: 24px 28px;
  margin: 24px 0;
  font-style: normal;
  font-size: 0.65em;
  line-height: 1.6;
  color: #ffffff;
  box-shadow: none;
}

.reveal blockquote::before {
  content: none;
}

.reveal table {
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.5em;
  width: 100%;
}

.reveal table th {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--tl-border);
  font-weight: 600;
  color: var(--tl-orange);
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 0.08em;
}

.reveal table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.reveal table tr:last-child td {
  border-bottom: none;
}

.reveal .progress {
  color: var(--tl-orange);
  height: 4px;
}

.reveal .controls {
  color: var(--tl-orange);
}

.reveal .slide-number {
  background: rgba(13, 13, 13, 0.8);
  color: var(--tl-gray);
  font-family: var(--r-main-font);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--tl-border);
}

.reveal section img {
  background: transparent;
  border: none;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  border-radius: 14px;
}

.reveal hr {
  border: none;
  border-top: 1px solid var(--tl-border);
  margin: 32px 0;
}

.reveal .footer {
  position: absolute;
  bottom: 24px;
  left: 32px;
  font-size: 12px;
  color: var(--tl-gray-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  :root { --r-main-font-size: 28px; }
}

.reveal .center {
  text-align: center;
}

.reveal .two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.reveal .three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
