:root {
  --bg: #0a0a0a;
  --bg-dark: #0f0f0f;
  --surface: #151515;
  --border: #1e1e1e;
  --accent: #20c15a;
  --accent-dim: #1a9e4a;
  --accent-glow: rgba(32, 193, 90, 0.15);
  --text: #f0f0f0;
  --text-dim: #b0b0b0;
  --text-mute: #707070;
  --mono: "JetBrains Mono", "Courier New", monospace;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

.mirrors-column {
  position: fixed;
  inset: 0 auto 0 0;
  width: 88px;
  background: var(--bg-dark);
  border-right: 1px solid var(--border);
  padding: 48px 14px 180px;
  font-size: 13px;
  z-index: 20;
  overflow: hidden;
}

.mirrors-title {
  color: var(--accent);
  font-size: 10.8px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  white-space: nowrap;
}

.mirror-line {
  color: var(--text-mute);
  font-family: var(--mono);
  font-size: 12.6px;
  line-height: 1.7;
  margin: 14px 0;
  word-break: break-all;
  hyphens: auto;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  opacity: 0.62;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.mirror-line:hover {
  opacity: 0.92;
  color: #999;
}

.content-ribbon {
  position: relative;
  margin-left: 168px;
  max-width: 880px;
  margin-bottom: 420px;
}

.ribbon-label {
  position: absolute;
  left: -144px;
  top: 36px;
  color: var(--accent);
  font-size: 13.4px;
  font-weight: 500;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: top right;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.screen {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #000;
  image-rendering: crisp-edges;
  margin: 24px 0 12px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.screen:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1.5px var(--accent-glow);
}

.caption {
  color: var(--text-mute);
  font-family: var(--mono);
  font-size: 13.4px;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.text-block {
  color: #d4d4d4;
  font-size: 15.4px;
  line-height: 1.75;
  margin: 36px 0;
}

.text-block p {
  margin: 22px 0;
}

.text-block strong {
  color: var(--accent);
  font-weight: 500;
}

.long-text {
  font-size: 15.6px;
  max-width: 800px;
  margin: 48px 0 96px;
}

.ad-floating {
  position: fixed;
  right: 36px;
  bottom: 36px;
  z-index: 10;
  width: 1060px;
  height: 128px;
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 18px 52px rgba(0,0,0,0.75);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ad-floating:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.9);
}

.ad-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: crisp-edges;
}

/* Ribbon vertical rhythm */
.ribbon-1 { margin-top: 110px; }
.ribbon-2 { margin-top: 560px; margin-left: 260px; }
.ribbon-3 { margin-top: 960px; margin-left: 110px; }
.ribbon-4 { margin-top: 1380px; margin-left: 300px; }
.ribbon-5 { margin-top: 1060px; margin-left: 200px; }
.ribbon-6 { margin-top: 820px; margin-left: 140px; margin-bottom: 880px; }

/* Performance & accessibility */
@media (prefers-reduced-motion: reduce) {
  .screen,
  .ad-floating,
  .mirror-line {
    transition: none;
  }
  .ad-floating:hover {
    transform: none;
  }
}

@media (max-width: 1400px) {
  .content-ribbon {
    margin-left: 120px;
    max-width: 720px;
  }
  .ribbon-label {
    left: -120px;
  }
  .ad-floating {
    right: 20px;
    bottom: 20px;
    width: 90%;
    max-width: 1060px;
  }
}

.links-block {
  position: relative;
  margin: 100px 0 80px 168px;
  max-width: 880px;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.links-title {
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.links-subtitle {
  color: var(--text-dim);
  font-size: 15px;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.5;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.link-item {
  padding: 18px 24px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: border-color 0.2s ease;
}

.link-item:hover {
  border-color: var(--accent-dim);
}

.link-item.primary {
  border-color: var(--accent);
  background: rgba(32, 193, 90, 0.06);
}

.link-label {
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.link-url {
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  word-break: break-all;
  margin-bottom: 8px;
  line-height: 1.4;
}

.link-status {
  color: var(--text-mute);
  font-size: 13.2px;
}

.status-active {
  color: var(--accent);
  font-weight: 500;
}

.links-note {
  font-size: 14px;
  color: #c0c0c0;
  line-height: 1.6;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}