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

:root {
  --bg:        #1a1a1a;
  --surface:   #242424;
  --surface2:  #2e2e2e;
  --border:    #3a3a3a;
  --text:      #e8e8e8;
  --muted:     #888;
  --accent:    #c0c0c0;
  --radius:    6px;
}

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.nav-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#select-drop {
  appearance: none;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 32px 6px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

#select-drop:hover,
#select-drop:focus {
  border-color: var(--accent);
}

.select-arrow {
  position: absolute;
  right: 10px;
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
  line-height: 1;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.hero {
  margin-bottom: 52px;
}

h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
}

.intro a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.intro a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.slideshow-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slideshow-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.numbertext {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.45);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
  line-height: 1;
}

.prev { left: 12px; }
.next { right: 12px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.dot:hover {
  background: var(--muted);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.fade {
  animation: fade 0.6s ease;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

img {
  max-width: 100%;
  display: block;
}

@media (max-width: 600px) {
  .page-content {
    padding: 36px 20px 60px;
  }
  .topnav {
    padding: 0 20px;
  }
  h1 {
    font-size: 22px;
  }
}

.setup-section {
  margin-bottom: 48px;
}

.setup-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.setup-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.setup-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  transition: background 0.2s;
}

.setup-item:hover {
  background: var(--surface2);
}

.setup-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}

.setup-value {
  font-size: 14px;
  color: var(--text);
}