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

:root {
  --bg: #0a0e17;
  --bg-soft: #0f1421;
  --surface: #111827;
  --surface-2: #152038;
  --accent: #274372;
  --accent-dim: #1e355c;
  --accent-light: #3a5a94;
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --glow: rgba(39, 67, 114, 0.38);
  --border: rgba(39, 67, 114, 0.22);
}

html, body {
  background: linear-gradient(to bottom, #0a0e17 0%, #0b1324 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.52;
  min-height: 100vh;
}

body {
  padding: 1.8rem 1rem 5rem;
}

.scan-header {
  position: relative;
  text-align: center;
  padding: 1.2rem 0 2.8rem;
  overflow: hidden;
}

.scan-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 10px var(--glow);
}

.scan-header p {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scan-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 45%, rgba(255,255,255,0.04) 50%, transparent 55%);
  animation: scan 10s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(120%); }
}

.sticker-links {
  position: relative;
  max-width: 680px;
  margin: 0 auto 2.2rem;
  transform: rotate(-1.1deg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.03);
}

.tape {
  position: absolute;
  width: 68px;
  height: 16px;
  background: rgba(217, 83, 79, 0.38);
  top: -7px;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.tape-left  { left:  18%; transform: rotate(-16deg); }
.tape-right { right: 16%; transform: rotate(13deg); }

.mirror-list {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.94rem;
  color: #7da3e3;
}

.mirror-list strong {
  display: block;
  color: var(--text-dim);
  font-size: 0.86rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.mirror-list a {
  display: block;
  color: #6b9eff;
  text-decoration: none;
  margin: 0.36rem 0;
  word-break: break-all;
  transition: color 0.13s ease;
}

.mirror-list a:hover {
  color: #a0c0ff;
  text-shadow: 0 0 8px rgba(107, 158, 255, 0.5);
}

.ad-container {
  max-width: 1060px;
  margin: 0 auto 2.8rem;
  transform: rotate(0.6deg);
  filter: brightness(0.94) contrast(1.04);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.ad-container img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshots-stack {
  max-width: 1100px;
  margin: 0 auto;
}

.frame {
  position: relative;
  margin-bottom: 3.2rem;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px var(--border);
}

.frame img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: crisp-edges;
}

.frame.tilt-left        { transform: rotate(-1.6deg) translateX(-10px); }
.frame.tilt-right       { transform: rotate( 1.9deg) translateX(9px); }
.frame.tilt-left-small  { transform: rotate(-0.8deg) translateX(-5px); }

.caption {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,0.68);
  color: #b3c7ff;
  font-size: 0.82rem;
  padding: 0.36rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.92;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.frame-text {
  background: var(--surface-2);
  padding: 1.4rem 1.6rem 1.7rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.6;
}

.frame-text h2 {
  color: #5d8ce0;
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0 0 1rem;
  text-shadow: 0 1px 6px var(--glow);
}

.frame-text p {
  margin-bottom: 1.1rem;
}

.frame-text ul {
  list-style: none;
  margin: 1.3rem 0;
  padding-left: 1.4rem;
}

.frame-text ul li {
  position: relative;
  margin-bottom: 0.7rem;
}

.frame-text ul li:before {
  content: "•";
  position: absolute;
  left: -1.1rem;
  color: var(--accent-light);
  font-weight: bold;
}

.frame-text .highlight {
  font-size: 1.06rem;
  color: #a0c0ff;
  font-weight: 500;
  text-align: center;
  margin: 1.8rem 0;
  padding: 0.9rem;
  background: rgba(39,67,114,0.12);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
}

.standalone {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  margin: 3rem auto 2.5rem;
  max-width: 940px;
  transform: rotate(0.3deg);
}

.scan-footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4rem;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.scan-footer br + br {
  content: "";
  display: block;
  margin: 0.4rem 0;
}

@media (max-width: 1100px) {
  .ad-container { transform: none; }
}

@media (max-width: 720px) {
  body { padding: 1.4rem 0.9rem 6rem; }
  .sticker-links { transform: rotate(-0.7deg); padding: 1rem; }
  .frame { margin-bottom: 2.6rem; }
  .frame.tilt-left,
  .frame.tilt-right,
  .frame.tilt-left-small { transform: none; }
  .frame-text { padding: 1.2rem 1.3rem; font-size: 0.94rem; }
}

.intro-section {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
  text-align: center;
}

.intro-section .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.intro-section h2 {
  font-size: 1.38rem;
  color: #5d8ce0;
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px var(--glow);
}

.intro-section p {
  font-size: 0.97rem;
  color: var(--text-dim);
  line-height: 1.58;
  margin-bottom: 1rem;
}

.mirror-notice {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-style: italic;
}

.frame-text p:last-child,
.frame-text ul:last-child {
  margin-bottom: 0;
}

.standalone h2 {
  margin-bottom: 1.2rem;
  font-size: 1.22rem;
}

.standalone p {
  margin-bottom: 1rem;
}

.standalone ul {
  margin: 1.1rem 0 1.4rem;
}

.highlight {
  padding: 1rem;
  margin: 1.6rem 0;
  border-radius: 6px;
  background: rgba(39,67,114,0.14);
  border-left: 4px solid var(--accent);
  font-weight: 500;
  color: #a5c1ff;
}

.scan-footer {
  margin-top: 5rem;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .scan-line,
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .intro-section .container { padding: 1.3rem; }
  .frame-text { padding: 1.3rem 1.4rem; font-size: 0.95rem; }
  .standalone { padding: 1.6rem 1.4rem; }
}

@media (max-width: 640px) {
  body { padding: 1.2rem 0.8rem 6rem; font-size: 14.5px; }
  .scan-header h1 { font-size: 1.55rem; }
  .scan-header p { font-size: 0.82rem; }
  .sticker-links { padding: 0.9rem; transform: rotate(-0.6deg); }
  .ad-container { transform: none; margin-bottom: 2rem; }
  .frame { margin-bottom: 2.4rem; }
  .frame.tilt-left,
  .frame.tilt-right,
  .frame.tilt-left-small { transform: none !important; }
  .caption { font-size: 0.78rem; padding: 0.3rem 0.7rem; }
  .frame-text h2 { font-size: 1.12rem; }
  .standalone { transform: none; margin: 2.2rem auto; }
}