/*
Theme Name: CB Quantum
Theme URI: https://cb8899.com/
Author: CB8899
Description: Dark quantum control-room theme for Chaturbate and Stripchat recharge services.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cb-quantum
*/

:root {
  --q-bg: #050a0f;
  --q-panel: #0b141d;
  --q-panel-2: #101e2b;
  --q-line: #213847;
  --q-ink: #eaf8ff;
  --q-muted: #8ea6b4;
  --q-cyan: #66f4ff;
  --q-blue: #4d8dff;
  --q-lime: #c8ff54;
  --q-danger: #ff6a72;
  --q-radius: 5px;
  --q-font: "Bahnschrift", "Aptos", "PingFang SC", "Microsoft YaHei", sans-serif;
  --q-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--q-ink);
  background:
    linear-gradient(rgba(102, 244, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 244, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(77, 141, 255, .16), transparent 32rem),
    var(--q-bg);
  background-size: 30px 30px, 30px 30px, auto, auto;
  font: 16px/1.75 var(--q-font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--q-cyan); text-decoration: none; transition: .2s ease; }
a:hover { color: var(--q-lime); }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol { margin-top: 0; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.quantum-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: var(--q-mono); }
.eyebrow {
  display: inline-block; color: var(--q-cyan); font: 700 11px/1.3 var(--q-mono);
  letter-spacing: .16em; text-transform: uppercase;
}

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(5, 10, 15, .9);
  border-bottom: 1px solid var(--q-line); backdrop-filter: blur(16px);
}
.header-signal {
  display: flex; justify-content: space-between; gap: 20px; padding: 7px 0;
  color: #73909f; border-bottom: 1px solid rgba(33, 56, 71, .65);
  font: 10px/1.2 var(--q-mono); letter-spacing: .08em;
}
.header-signal strong { color: var(--q-lime); font-weight: 700; }
.header-main { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--q-ink); }
.brand:hover { color: var(--q-ink); }
.brand-mark {
  width: 45px; height: 45px; display: grid; place-items: center; color: var(--q-bg);
  background: var(--q-cyan); font: 900 15px/1 var(--q-mono);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { color: var(--q-ink); font-size: 20px; letter-spacing: .05em; }
.brand-copy small { color: #6e8c9a; font: 9px/1.4 var(--q-mono); letter-spacing: .11em; }
.menu-toggle {
  display: none; width: 42px; height: 42px; color: var(--q-cyan); background: transparent;
  border: 1px solid var(--q-line); border-radius: 3px; font-size: 24px; cursor: pointer;
}
.primary-menu { display: flex; align-items: center; gap: 3px; }
.primary-menu ul { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a {
  display: block; padding: 9px 11px; color: #a9bec9; border-radius: 3px;
  font-size: 12px; font-weight: 700;
}
.primary-menu a:hover, .primary-menu .current-menu-item > a {
  color: var(--q-ink); background: #112332;
}
.primary-menu a.price-menu-item,
.primary-menu .menu-item-206 a {
  color: var(--q-bg); background: var(--q-lime);
}

.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 34px; margin-top: 34px; padding: 52px; background:
    linear-gradient(135deg, rgba(102,244,255,.06), transparent 45%),
    var(--q-panel); border: 1px solid var(--q-line); border-radius: var(--q-radius);
}
.hero::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -140px; top: -160px;
  border: 1px solid rgba(102,244,255,.25); border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(102,244,255,.03), 0 0 0 70px rgba(102,244,255,.02);
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  margin: 13px 0 18px; color: #fff; font-size: clamp(40px, 5.4vw, 68px);
  line-height: .98; letter-spacing: -.045em;
}
.hero h1 em { color: var(--q-cyan); font-style: normal; }
.hero p { max-width: 690px; color: #93aeba; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 0 17px; border: 1px solid var(--q-line); border-radius: 3px;
  color: var(--q-ink); background: transparent; font-size: 12px; font-weight: 800;
}
.button:hover { color: var(--q-cyan); border-color: var(--q-cyan); }
.button-primary { color: var(--q-bg); background: var(--q-cyan); border-color: var(--q-cyan); }
.button-primary:hover { color: var(--q-bg); background: var(--q-lime); border-color: var(--q-lime); }
.hero-console {
  position: relative; z-index: 1; align-self: center; padding: 20px;
  background: rgba(3, 11, 17, .72); border: 1px solid #254759; border-radius: 4px;
}
.console-head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #233d4c; }
.console-head span { color: var(--q-cyan); font: 700 10px/1 var(--q-mono); letter-spacing: .12em; }
.console-head i { width: 8px; height: 8px; background: var(--q-lime); border-radius: 50%; box-shadow: 0 0 10px var(--q-lime); }
.console-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; padding: 10px 0; border-bottom: 1px solid #152b39; }
.console-row span { color: #7894a2; font: 11px/1.5 var(--q-mono); }
.console-row strong { color: var(--q-cyan); font: 700 14px/1.5 var(--q-mono); }

.section { padding: 70px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2 { margin: 5px 0 0; color: #fff; font-size: clamp(29px, 4vw, 42px); line-height: 1.16; letter-spacing: -.035em; }
.section-head p { max-width: 520px; margin: 0; color: var(--q-muted); }

.price-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-card { overflow: hidden; background: var(--q-panel); border: 1px solid var(--q-line); border-radius: var(--q-radius); }
.price-card h3 {
  display: flex; justify-content: space-between; margin: 0; padding: 16px 18px;
  color: #edfaff; background: var(--q-panel-2); border-bottom: 1px solid var(--q-line); font-size: 17px;
}
.price-card h3 span { color: var(--q-cyan); font: 700 9px/1.4 var(--q-mono); letter-spacing: .1em; }
.price-row { display: grid; grid-template-columns: 1fr auto 55px; align-items: center; gap: 14px; min-height: 50px; padding: 0 18px; border-bottom: 1px solid #172c39; }
.price-row:last-child { border-bottom: 0; }
.price-row span { color: #8aa4b1; font: 12px/1.4 var(--q-mono); }
.price-row strong { color: #fff; font-size: 20px; }
.price-row em { justify-self: end; padding: 2px 7px; color: var(--q-bg); background: var(--q-lime); border-radius: 2px; font: 800 8px/1.4 var(--q-mono); font-style: normal; }
.price-row em:empty { visibility: hidden; }
.price-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 14px 16px; color: #bfd7e2; background: #07111a; border-left: 3px solid var(--q-lime); }
.price-footer p { margin: 0; font-size: 11px; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service-card {
  position: relative; min-height: 210px; padding: 22px; overflow: hidden;
  background: var(--q-panel); border: 1px solid var(--q-line); border-radius: var(--q-radius);
}
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -35px; width: 110px; height: 110px; border: 1px solid #244556; border-radius: 50%; }
.service-card small { color: var(--q-cyan); font: 9px/1.4 var(--q-mono); letter-spacing: .12em; }
.service-card h3 { margin: 24px 0 10px; color: #fff; font-size: 20px; line-height: 1.35; }
.service-card p { color: var(--q-muted); font-size: 12px; }
.service-card a { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 800; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.post-card { padding: 22px; background: var(--q-panel); border: 1px solid var(--q-line); border-radius: var(--q-radius); }
.post-card time { color: #6e8c9a; font: 9px/1.4 var(--q-mono); }
.post-card h3 { margin: 12px 0 10px; font-size: 19px; line-height: 1.45; }
.post-card h3 a { color: #fff; }
.post-card p { color: var(--q-muted); font-size: 12px; }

.content-shell { padding: 44px 0 70px; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
.article-main, .page-main { padding: 36px; background: var(--q-panel); border: 1px solid var(--q-line); border-radius: var(--q-radius); }
.article-kicker { display: flex; gap: 8px; margin-bottom: 18px; color: #718c99; font: 10px/1.4 var(--q-mono); }
.article-main h1, .page-main h1 { margin: 0 0 18px; color: #fff; font-size: clamp(32px, 4.2vw, 51px); line-height: 1.16; letter-spacing: -.035em; overflow-wrap: anywhere; }
.article-meta { margin-bottom: 26px; color: #718c99; font: 10px/1.5 var(--q-mono); }
.article-content, .page-content { color: #b5cbd5; }
.article-content h2, .page-content h2 { margin: 34px 0 13px; padding-left: 15px; color: #fff; border-left: 3px solid var(--q-cyan); font-size: 26px; line-height: 1.35; }
.article-content h3, .page-content h3 { margin: 25px 0 10px; color: var(--q-cyan); font-size: 20px; }
.article-content a, .page-content a { text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote, .page-content blockquote { margin: 24px 0; padding: 18px 20px; background: #08141e; border-left: 3px solid var(--q-lime); }
.article-content table, .page-content table { width: 100%; border-collapse: collapse; }
.article-content th, .article-content td, .page-content th, .page-content td { padding: 10px; border: 1px solid var(--q-line); text-align: left; }
.article-content th, .page-content th { background: var(--q-panel-2); }
.sidebar-card { position: sticky; top: 105px; padding: 24px; background: var(--q-panel-2); border: 1px solid var(--q-line); border-radius: var(--q-radius); }
.sidebar-card h2 { margin: 8px 0 12px; color: #fff; font-size: 23px; line-height: 1.35; }
.sidebar-card p { color: var(--q-muted); font-size: 12px; }
.sidebar-card .button { width: 100%; margin-top: 9px; }
.contact-qq { padding: 13px; color: var(--q-bg) !important; background: var(--q-lime); text-align: center; font-weight: 900; }

.site-footer { color: #7893a0; background: #03080c; border-top: 1px solid var(--q-line); }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px 0; }
.footer-brand { color: #fff; font-size: 22px; font-weight: 800; }
.footer-main p { margin: 6px 0 0; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a { padding: 8px 11px; color: #a4bbc6; border: 1px solid var(--q-line); border-radius: 3px; font-size: 10px; }
.footer-bottom { padding: 13px 0; border-top: 1px solid #142632; font: 9px/1.5 var(--q-mono); }
.footer-bottom .quantum-container { display: flex; justify-content: space-between; gap: 20px; }

.pricing-page-hero { margin-top: 34px; padding: 46px; background: var(--q-panel); border: 1px solid var(--q-line); border-radius: var(--q-radius); }
.pricing-page-hero h1 { margin: 9px 0 13px; color: #fff; font-size: clamp(39px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.pricing-page-hero p { max-width: 760px; color: var(--q-muted); }
.pricing-page-section { padding: 22px 0 70px; }
.contact-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 18px; padding: 24px 26px; background: var(--q-panel-2); border-left: 3px solid var(--q-lime); }
.contact-band h2 { margin: 4px 0 0; color: #fff; font-size: 24px; }
.contact-band p { margin: 4px 0 0; color: var(--q-muted); font-size: 12px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}
@media (max-width: 760px) {
  .quantum-container { width: min(100% - 28px, 680px); }
  .header-signal span:first-child { display: none; }
  .header-signal { justify-content: flex-end; }
  .header-main { min-height: 66px; }
  .menu-toggle { display: block; }
  .primary-menu { display: none; position: absolute; top: 100%; left: 14px; right: 14px; padding: 12px; background: #08121a; border: 1px solid var(--q-line); }
  .primary-menu.is-open { display: block; }
  .primary-menu ul { display: block; }
  .primary-menu a { padding: 11px; }
  .hero { margin-top: 18px; padding: 27px 21px; }
  .hero h1 { font-size: 42px; }
  .section { padding: 48px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .price-board, .service-grid, .post-grid { grid-template-columns: 1fr; }
  .content-shell { padding: 22px 0 50px; }
  .article-main, .page-main { padding: 24px 19px; }
  .article-main h1, .page-main h1 { font-size: 31px; }
  .price-footer, .contact-band, .footer-main, .footer-bottom .quantum-container { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .pricing-page-hero { margin-top: 18px; padding: 28px 21px; }
  .pricing-page-hero h1 { font-size: 42px; }
}
