/* Hide scrollbar UI while allowing scrolling */
html, body {
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none;  /* For IE and Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none; /* For Webkit browsers */
}
:root {
  --bg: #0f172a;
  --card: rgba(15, 23, 42, 0.85);
  --text: #f8fafc;
  --muted: #cbd5f5;
  --accent: #fbbf24;
  --radius: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1d1f3b, #060918 60%);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.slide {
  width: min(960px, 100%);
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(248, 250, 252, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.badge {
  margin: 0 0 1rem;
  display: inline-flex;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.subtitle {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.intro {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}

.visual {
  margin-top: 2.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px dashed rgba(248, 250, 252, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
}

.image-suggestion {
  font-size: 1.1rem;
  line-height: 1.6;
}

figcaption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-arrow {
  position: fixed;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: rgba(6, 9, 24, 0.6);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease,
    background 0.3s ease, border-color 0.3s ease;
}

.nav-arrow.is-near {
  opacity: 0.5;
  transform: translateY(-50%) scale(1);
}

.nav-arrow.is-hidden-vertical {
  opacity: 0;
}

.nav-arrow:hover,
.nav-arrow:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  background: rgba(251, 191, 36, 0.25);
  border-color: rgba(251, 191, 36, 0.7);
}

.nav-prev {
  left: 2rem;
}

.nav-next {
  right: 2rem;
}