/* ============================================================
   OneDollarPlay — Cyberpunk Dark-Mode Theme
   Primary: #00ff00  Secondary: #ff00ff  Ink: #0d0d0d
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #0d0d0d;
  color: #c8ffc8;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background: #0d0d0d;
  color: #c8ffc8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Scanlines overlay --- */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #00ff00;
  text-shadow: 0 0 12px rgba(0,255,0,0.55);
}
h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.25rem, 3vw, 2rem); color: #ff00ff; text-shadow: 0 0 10px rgba(255,0,255,0.5); }
h3 { font-size: 1.15rem; color: #00ff00; }
h4 { font-size: 1rem; color: #c8ffc8; }
p { margin-bottom: 1rem; }
a { color: #00ff00; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: #ff00ff; text-shadow: 0 0 8px rgba(255,0,255,0.7); }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }
blockquote { border-left: 3px solid #00ff00; padding-left: 1rem; color: #88ff88; font-style: italic; margin: 1.5rem 0; }
code, pre { font-family: 'Courier New', Courier, monospace; background: rgba(0,255,0,0.07); border: 1px solid rgba(0,255,0,0.2); border-radius: 2px; padding: 0.1em 0.4em; font-size: 0.9em; color: #00ff00; }
pre { padding: 1rem; overflow-x: auto; }
img { max-width: 100%; height: auto; display: block; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th { background: rgba(0,255,0,0.1); color: #00ff00; border: 1px solid rgba(0,255,0,0.25); padding: 0.6rem 0.8rem; text-align: left; font-weight: 600; }
td { border: 1px solid rgba(0,255,0,0.15); padding: 0.6rem 0.8rem; color: #c8ffc8; }
tr:nth-child(even) td { background: rgba(0,255,0,0.04); }

/* --- Glitch animation --- */
@keyframes glitch-skew {
  0%   { transform: skewX(0deg); }
  10%  { transform: skewX(-2deg); }
  20%  { transform: skewX(1.5deg); }
  30%  { transform: skewX(0deg); }
  70%  { transform: skewX(0deg); }
  80%  { transform: skewX(1deg); }
  90%  { transform: skewX(-1.5deg); }
  100% { transform: skewX(0deg); }
}
@keyframes glitch-offset {
  0%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  20%  { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
  40%  { clip-path: inset(50% 0 30% 0); transform: translate(3px, -2px); }
  60%  { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 1px); }
  80%  { clip-path: inset(10% 0 80% 0); transform: translate(2px, -1px); }
}

.glitch {
  position: relative;
  animation: glitch-skew 4s infinite linear;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
}
.glitch::before {
  color: #ff00ff;
  text-shadow: 2px 0 #ff00ff;
  animation: glitch-offset 3s infinite steps(1);
}
.glitch::after {
  color: #00ff00;
  text-shadow: -2px 0 #00ff00;
  animation: glitch-offset 3.7s infinite steps(1) reverse;
}

@media (prefers-reduced-motion: reduce) {
  .glitch, .glitch::before, .glitch::after { animation: none; }
  .glitch::before, .glitch::after { display: none; }
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,13,13,0.96);
  border-bottom: 1px solid rgba(0,255,0,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 64px;
  gap: 1rem;
}
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}
.header-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Nav markup: nav > p > a */
.site-header nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.1rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-header nav p a {
  color: #c8ffc8;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.6rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, text-shadow 0.2s;
  white-space: nowrap;
}
.site-header nav p a:hover {
  color: #00ff00;
  text-shadow: 0 0 8px rgba(0,255,0,0.7);
}

.brand-logo { text-decoration: none; }
.brand-wordmark {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00ff00;
  text-shadow: 0 0 14px rgba(0,255,0,0.8), 0 0 30px rgba(0,255,0,0.4);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* --- CTA Buttons --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  border-radius: 0;
  white-space: nowrap;
}
.cta-signup {
  background: #00ff00;
  color: #0d0d0d;
  border: 2px solid #00ff00;
  box-shadow: 0 0 10px rgba(0,255,0,0.5), inset 0 0 6px rgba(0,255,0,0.1);
}
.cta-signup:hover {
  background: #0d0d0d;
  color: #00ff00;
  box-shadow: 0 0 18px rgba(0,255,0,0.8), inset 0 0 8px rgba(0,255,0,0.15);
}
.cta-login {
  background: transparent;
  color: #ff00ff;
  border: 2px solid #ff00ff;
  box-shadow: 0 0 8px rgba(255,0,255,0.35);
}
.cta-login:hover {
  background: #ff00ff;
  color: #0d0d0d;
  box-shadow: 0 0 18px rgba(255,0,255,0.8);
}
.cta-large {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  min-height: 48px;
}
.cta-hero {
  font-size: 1.05rem;
  padding: 0.8rem 2.2rem;
  min-height: 48px;
  margin-top: 1.5rem;
}
.anchor-cta {
  font-size: 0.78rem;
  padding: 0.4rem 1rem;
  min-height: 40px;
}

/* --- Anchor strip --- */
.anchor-strip {
  position: sticky;
  top: 64px;
  z-index: 190;
  background: rgba(13,13,13,0.94);
  border-bottom: 1px solid rgba(255,0,255,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.anchor-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 44px;
}
.anchor-title {
  flex: 1;
  font-size: 0.78rem;
  color: #88c888;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Hero --- */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d0d0d;
}
.hero-images {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  pointer-events: none;
}
.hero-img {
  position: absolute;
  object-fit: cover;
}
.hero-img-0 {
  top: 0; left: 0;
  width: 55%;
  height: 70%;
  opacity: 0.35;
  filter: hue-rotate(90deg) saturate(2) brightness(0.6);
}
.hero-img-1 {
  bottom: 0; right: 0;
  width: 55%;
  height: 70%;
  opacity: 0.3;
  filter: hue-rotate(270deg) saturate(2) brightness(0.5);
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 2rem 1.5rem;
}
.hero-h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: #00ff00;
  text-shadow: 0 0 20px rgba(0,255,0,0.8), 0 0 40px rgba(0,255,0,0.4);
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: #c8ffc8;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

/* --- Byline --- */
.byline {
  font-size: 0.82rem;
  color: #88aa88;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.byline .author-name { color: #00ff00; font-weight: 600; }
.byline time { color: #88aa88; }

/* --- Stage label --- */
.stage-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2em 0.7em;
  border-radius: 0;
  text-transform: uppercase;
}
.stage-awareness  { background: rgba(0,255,0,0.15); color: #00ff00; border: 1px solid #00ff00; }
.stage-consideration { background: rgba(255,0,255,0.15); color: #ff00ff; border: 1px solid #ff00ff; }
.stage-decision   { background: rgba(0,255,255,0.15); color: #00ffff; border: 1px solid #00ffff; }

/* --- Main layout --- */
main { width: 100%; }
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Body container: main > div.wrap > article > section */
.content-section { width: 100%; }
.content-article {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-direction: row;
}

/* --- Sidebar to the LEFT --- */
.sidebar {
  flex: 0 0 220px;
  order: -1;
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.sidebar-inner {
  background: rgba(0,255,0,0.04);
  border: 1px solid rgba(0,255,0,0.18);
  padding: 1.25rem;
  backdrop-filter: blur(4px);
}
.sidebar-heading {
  font-size: 0.9rem;
  color: #ff00ff;
  text-shadow: 0 0 8px rgba(255,0,255,0.5);
  margin-bottom: 0.25rem;
  letter-spacing: 0.06em;
}
.sidebar-inner nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.75rem;
}
.sidebar-link {
  color: #88c888;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.45rem 0.5rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.sidebar-link:hover {
  color: #00ff00;
  border-left-color: #00ff00;
  text-shadow: 0 0 6px rgba(0,255,0,0.5);
}

/* --- Main content area --- */
.main-content-area {
  flex: 1;
  min-width: 0;
  max-width: 860px;
}
.page-h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
  color: #00ff00;
  text-shadow: 0 0 14px rgba(0,255,0,0.6);
}
.page-content { margin-top: 1.5rem; }
.feature-hero-wrap, .data-hero-wrap {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,255,0,0.2);
}
.feature-hero-img, .data-hero-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

/* --- Cards (glassmorphism, radius 0) --- */
.card {
  background: rgba(0,255,0,0.05);
  border: 1px solid rgba(0,255,0,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.25rem;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: #00ff00;
  box-shadow: 0 0 14px rgba(0,255,0,0.3);
}
.card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.card h3 a { color: #00ff00; text-decoration: none; }
.card h3 a:hover { color: #ff00ff; }
.card p { font-size: 0.88rem; color: #99bb99; margin-bottom: 0.4rem; }
.card-date { font-size: 0.75rem; color: #556655; }

/* --- Child pages list (ul > li > section) --- */
.child-pages-section { margin-top: 3rem; }
.child-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.child-list li { list-style: none; }

/* --- h2 + p.subtitle --- */
.subtitle {
  color: #88aa88;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  font-style: italic;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.78rem;
  color: #556655;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb a { color: #88aa88; }
.breadcrumb a:hover { color: #00ff00; }
.breadcrumb span { color: #556655; }

/* --- Sibling links --- */
.sibling-links { margin-top: 3rem; }

/* --- FAQ layout --- */
.faq-section {}
.faq-header { margin-bottom: 1.5rem; }
.faq-intro { color: #99bb99; font-size: 1rem; }
.faq-content { }
.faq-cta-block {
  margin-top: 3rem;
  background: rgba(255,0,255,0.05);
  border: 1px solid rgba(255,0,255,0.25);
  padding: 2rem;
  text-align: center;
}
.faq-cta-block h2 { color: #ff00ff; margin-bottom: 0.3rem; }

/* --- Pricing layout --- */
.pricing-h1 { color: #ff00ff; text-shadow: 0 0 14px rgba(255,0,255,0.6); }
.pricing-intro { color: #99bb99; font-size: 1.05rem; margin-bottom: 1.5rem; }
.pricing-content {}
.pricing-cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* --- About layout --- */
.author-section { margin-top: 3rem; }
.author-heading { color: #ff00ff; margin-bottom: 0.25rem; }
.author-card { margin-top: 1rem; }
.author-name-large {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00ff00;
  text-shadow: 0 0 8px rgba(0,255,0,0.5);
  margin-bottom: 0.25rem;
}
.author-credentials {
  font-size: 0.85rem;
  color: #88aa88;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.author-bio { color: #c8ffc8; line-height: 1.7; }

/* --- Contact layout --- */
.contact-content {}
.contact-info-block {
  margin-top: 2rem;
  border-color: rgba(255,0,255,0.3);
}
.contact-info-block h2 { color: #ff00ff; }

/* --- Privacy layout --- */
.privacy-content {}

/* --- Data layout --- */
.data-content {}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(0,255,0,0.2);
  background: #0a0a0a;
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

/* Footer structure: footer contains nav, direct child layer has a article container */
.footer-brand-block {
  text-align: center;
  margin-bottom: 1.5rem;
}
.footer-wordmark {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: #00ff00;
  text-shadow: 0 0 20px rgba(0,255,0,0.7), 0 0 40px rgba(0,255,0,0.3);
  letter-spacing: 0.1em;
  display: block;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  color: #88aa88;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.5rem 0.6rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #00ff00; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(0,255,0,0.1);
  padding-top: 1rem;
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: #556655;
}
.footer-trust {
  font-size: 0.78rem;
  color: #556655;
}
.footer-trust a {
  color: #88aa88;
  font-size: 0.78rem;
}
.footer-rg {
  border-top: 1px solid rgba(255,0,255,0.12);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.rg-notice {
  font-size: 0.75rem;
  color: #776688;
  text-align: center;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Carousel (home hero rotation hook) --- */
.hero-images { transition: opacity 0.6s ease; }

/* --- Hover micro-interactions --- */
.child-list li { transition: transform 0.18s ease; }
.child-list li:hover { transform: translateY(-2px); }

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .header-inner { gap: 0.5rem; }
  .site-header nav p a { font-size: 0.72rem; padding: 0.55rem 0.45rem; }
  .sidebar { flex: 0 0 190px; }
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    min-height: auto;
    row-gap: 0.4rem;
  }
  .header-left { order: 2; flex: 0 0 100%; }
  .header-brand { order: 1; flex: 1; justify-content: flex-start; }
  .header-right { order: 1; flex: 0 0 auto; }
  .site-header nav p { gap: 0.1rem; }
  .site-header nav p a { font-size: 0.7rem; padding: 0.5rem 0.35rem; }

  .content-article {
    flex-direction: column;
  }
  .sidebar {
    position: static;
    max-height: none;
    flex: 0 0 auto;
    width: 100%;
    order: 0;
  }
  .sidebar-inner nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-link {
    flex: 0 0 auto;
    font-size: 0.75rem;
  }
  .main-content-area { max-width: 100%; }
  .child-list { grid-template-columns: 1fr; }
  .pricing-cta-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .anchor-strip { top: 0; }
}

/* ============================================================
   Responsive — 375px / mobile
   ============================================================ */
@media (max-width: 480px) {
  .hero-home { min-height: 100svh; }
  .hero-copy { padding: 1.25rem 1rem; }
  .hero-h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 0.95rem; }
  .wrap { padding: 1.5rem 1rem; }
  .header-right .cta { font-size: 0.72rem; padding: 0.5rem 0.7rem; min-height: 40px; }
  .footer-wordmark { font-size: 2rem; }
  .cta-large { font-size: 0.9rem; padding: 0.65rem 1.4rem; }
  .faq-cta-block { padding: 1.25rem; }
  .contact-info-block { padding: 1rem; }
  .sidebar-inner { padding: 0.75rem; }
}

/* ============================================================
   Page-content prose overrides (injected HTML)
   ============================================================ */
.page-content h2 { margin-top: 2rem; margin-bottom: 0.5rem; }
.page-content h2 + p { margin-top: 0; }
.page-content h3 { margin-top: 1.5rem; margin-bottom: 0.4rem; }
.page-content p { color: #c8ffc8; }
.page-content ul, .page-content ol { color: #c8ffc8; }
.page-content a { color: #00ff00; }
.page-content a:hover { color: #ff00ff; }
.page-content strong { color: #00ff00; font-weight: 600; }
.page-content em { color: #88cc88; }
.page-content hr { border: none; border-top: 1px solid rgba(0,255,0,0.2); margin: 2rem 0; }

/* Ranking table overrides */
.page-content table { font-size: 0.9rem; }
.page-content table th { font-size: 0.82rem; }

/* 2026-09-09 mobile nav collapse: one row [Menu][brand][Sign Up][Log In]; links drop down under the header */
.nav-toggle { display: none; }
@media (max-width: 768px) {
  .header-inner { flex-wrap: nowrap; padding: 0.35rem 0.75rem; min-height: 56px; gap: 0.4rem; }
  .header-left { order: 1; flex: 0 0 auto; }
  .header-brand { order: 2; flex: 1; justify-content: flex-start; min-width: 0; }
  .header-brand img { max-width: 100px; height: auto; }
  .header-brand .brand-logo { display: inline-flex; align-items: center; min-height: 44px; }
  .header-right { order: 3; flex: 0 0 auto; gap: 0.35rem; }
  .header-right .cta { padding: 0.5rem 0.55rem; min-height: 44px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.5rem; background: transparent; border: 1px solid rgba(0,255,0,0.4); color: #c8ffc8; font-family: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; }
  #primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(13,13,13,0.98); border-bottom: 1px solid rgba(0,255,0,0.25); padding: 0.5rem 1rem 0.75rem; }
  .nav-toggle[aria-expanded="true"] + #primary-nav { display: block; }
  #primary-nav p { flex-direction: column; align-items: stretch; gap: 0; }
  #primary-nav p a { white-space: normal; min-height: 44px; font-size: 0.85rem; }
}
/* 2026-09-09 mobile tap targets: footer trust links and breadcrumb links were 16-21px tall */
.footer-trust a, .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.35rem; }

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}