:root {
  --bg: #07111a;
  --bg-soft: #0d1823;
  --panel: rgba(14, 26, 38, 0.92);
  --panel-border: rgba(126, 214, 255, 0.18);
  --text: #eef7fb;
  --muted: #a7bfd1;
  --accent: #7ed6ff;
  --accent-2: #2ad8be;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Verdana", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(42, 216, 190, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(126, 214, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #050c12 0%, var(--bg) 50%, #04080c 100%);
}


.page-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 230px;
  gap: 12px;
  width: calc(100% - 8px);
  margin: 0;
  padding: 8px 4px;
  align-items: stretch;
}

.side-feed {
  display: none;
  background: rgba(10, 18, 27, 0.9);
  border: 2px solid rgba(126, 214, 255, 0.16);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 12px;
  height: auto;
  min-height: 100%;
  max-height: none;
  position: relative;
  top: 0;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.side-feed h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.03em;
  font-size: 0.96rem;
}

.side-feed p {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-window {
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(126, 214, 255, 0.16);
  background: rgba(5, 12, 18, 0.8);
}

.story-track {
  display: flex;
  flex-direction: column;
  animation: story-scroll 52s linear infinite;
}

.side-feed:hover .story-track,
.story-window:hover .story-track,
.story-track:hover,
.story-track:focus-within {
  animation-play-state: paused;
}

.side-feed.paused .story-track {
  animation-play-state: paused;
}

.stock-track {
  animation-duration: 58s;
}

.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.story-list li {
  border-bottom: 1px solid rgba(126, 214, 255, 0.12);
}

.story-list a {
  display: block;
  padding: 9px 9px;
  color: #d8ebf8;
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.4;
}

.story-list a:hover {
  background: rgba(126, 214, 255, 0.08);
  color: #ffffff;
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-rows: min-content;
  gap: 12px;
}

.desktop-only-note {
  display: block;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(126, 214, 255, 0.18);
  background: rgba(126, 214, 255, 0.08);
  color: #d9effc;
  font-size: 0.82rem;
}

@media (min-width: 1321px) {
  .side-feed {
    display: block;
  }

  .desktop-only-note {
    display: none;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 12px;
  align-items: stretch;
  min-height: 405px;
}

.hero > * {
  height: 100%;
}

.hero-copy,
.hero-panel,
.feature-card,
.info-card,
.trust-bar {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.78rem;
}

.hero h1,
.section-block h2,
.info-card h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 3.9vw, 3rem);
  line-height: 0.98;
  max-width: 15ch;
}

.hero-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 58ch;
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.primary {
  color: #041018;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(42, 216, 190, 0.2);
}

.secondary {
  color: var(--text);
  border: 1px solid rgba(126, 214, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hero-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
}

.premium-summary {
  min-height: 180px;
  height: 100%;
  padding: 16px;
  border-radius: 10px;
}

.premium-summary span,
.premium-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.25;
  font-size: 0.92rem;
}

.premium-summary strong {
  color: var(--text);
  margin-top: 0;
  font-size: 1rem;
}

.section-block {
  margin-top: 0;
}

.ad-card {
  display: grid;
  align-content: start;
}

.ad-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.ad-slot {
  min-height: 130px;
  border: 1px dashed rgba(126, 214, 255, 0.5);
  border-radius: 8px;
  background: rgba(126, 214, 255, 0.06);
  color: #d7ecf7;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
}

.ad-slot-wide {
  grid-column: 1 / -1;
  min-height: 88px;
}

.ad-note {
  margin: 8px 0 0;
  color: #b6d0df;
  font-size: 0.8rem;
}

.section-block h2 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-bottom: 8px;
}

.info-card {
  padding: 14px;
}
.info-card p,
.info-card li,
.trust-bar span {
  color: var(--muted);
  line-height: 1.22;
}

.split-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  align-items: stretch;
}

.split-block .info-card {
  min-height: 185px;
  height: 100%;
}

.compact-steps li {
  margin-bottom: 4px;
}

.split-block .info-card h2 {
  margin-bottom: 8px;
}

.split-block .info-card p {
  margin-top: 0;
}

.accent-card {
  background: linear-gradient(160deg, rgba(14, 31, 42, 0.96), rgba(10, 18, 26, 0.96));
}

.steps-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.steps-list li {
  margin-bottom: 5px;
}

.block-cta {
  margin-top: 10px;
  width: 100%;
}

.top12-box {
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(126, 214, 255, 0.16);
  background: rgba(5, 12, 18, 0.8);
  padding: 10px;
}

.top12-box h4 {
  margin: 3px 0 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8d9eb;
}

.top12-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.top12-list li {
  margin-bottom: 5px;
}

.top12-list a,
.trade-link {
  display: block;
  text-decoration: none;
  color: #d8ebf8;
  border: 1px solid rgba(126, 214, 255, 0.16);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.82rem;
  background: rgba(126, 214, 255, 0.05);
}

.top12-list a:hover,
.trade-link:hover {
  background: rgba(126, 214, 255, 0.12);
  color: #fff;
}

.trade-link {
  margin-top: 6px;
  text-align: center;
  font-weight: 700;
}

.version-footer {
  margin-top: 8px;
}

.version-footer-card {
  padding: 10px 12px;
}

.version-footer-card .eyebrow {
  margin-bottom: 5px;
}

.version-footer-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.2;
}

@keyframes story-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-track {
    animation: none;
  }
}

@media (max-width: 1320px) {
  .page-layout {
    grid-template-columns: 1fr;
    width: min(1140px, calc(100% - 20px));
    margin: 0 auto;
    padding: 12px 0;
  }

  .page-shell {
    gap: 12px;
  }

  .page-shell {
    zoom: 1;
  }
}

@media (max-width: 960px) {
  .hero,
  .split-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .hero-panel,
  .feature-card,
  .info-card,
  .trust-bar {
    border-radius: 18px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta {
    width: 100%;
  }
}