*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0c0e14;
  --panel:     #0f1219;
  --border:    #1f2535;
  --border-hi: #2a3a55;
  --blue:      #3b82f6;
  --blue-glow: rgba(59,130,246,0.14);
  --dim:       #64748b;
  --text:      #f1f5f9;
  --pixel:     'Press Start 2P', monospace;
  --sans:      'Inter', system-ui, sans-serif;
}

html, body {
  width: 100%;
  height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  height: 100vh;
}

/* ── LEFT: full-panel canvas ── */
.left-panel {
  background: var(--panel);
  border-right: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Block grid */
.left-panel::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* Canvas fills the whole left panel */
#skin-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* ── RIGHT PANEL ── */
.right-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 80px;
  gap: 36px;
}

.headline {
  display: flex;
  flex-direction: column;
  line-height: 1.0;
  gap: 2px;
}

.hl-white, .hl-blue {
  font-family: var(--pixel);
  font-size: clamp(34px, 3.8vw, 56px);
  display: block;
}

.hl-white { color: var(--text); }
.hl-blue  { color: var(--blue); }

.block-rule {
  width: 56px;
  height: 5px;
  background: var(--blue);
  flex-shrink: 0;
}

.body-copy {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--dim);
  max-width: 420px;
}

.verse-block {
  border-left: 3px solid var(--border-hi);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
}

.verse-text {
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  color: var(--text);
  opacity: 0.75;
}

.verse-ref {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--blue);
  letter-spacing: 0.1em;
  font-style: normal;
}

.cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  border: 2px solid var(--blue);
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--text);
  transition: box-shadow 0.2s, background 0.2s;
  overflow: hidden;
}

.cta:hover {
  background: var(--blue-glow);
  box-shadow: 0 0 24px var(--blue-glow);
}

.cta-label { padding: 16px 24px; }

.cta-arrow {
  background: var(--blue);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: padding-right 0.2s;
}

.cta:hover .cta-arrow { padding-right: 26px; }

@media (max-width: 900px) {
  html, body { overflow: auto; }
  .layout { grid-template-columns: 1fr; height: auto; }
  .left-panel { height: 500px; border-right: none; border-bottom: 2px solid var(--border); }
  .right-panel { padding: 52px 32px 60px; }
  .hl-white, .hl-blue { font-size: 26px; }
}