/*
Theme Name: Binaural Tones
Theme URI: https://binauraltones.app
Author: Ray Paez
Description: Dark, cyan + magenta theme for the Binaural Tones app — live sample player, auto-updating video wall, blog and FAQ.
Version: 1.0.10
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: binaural-tones
*/

:root {
  --bg: #06071a;
  --bg-2: #0b0d24;
  --surface: #11132e;
  --surface-2: #171a3a;
  --line: rgba(160, 170, 255, 0.14);
  --line-strong: rgba(160, 170, 255, 0.28);
  --text: #eef0ff;
  --muted: #a3a8cc;
  --dim: #6d7299;
  --cyan: #35e8ff;
  --cyan-deep: #12b5d6;
  --magenta: #e34bff;
  --purple: #8b5cff;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--purple) 55%, var(--magenta) 100%);
  --glow-c: 0 0 24px rgba(53, 232, 255, 0.35);
  --glow-m: 0 0 24px rgba(227, 75, 255, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 15% -10%, rgba(53, 232, 255, 0.08), transparent 60%),
    radial-gradient(1000px 600px at 95% 0%, rgba(227, 75, 255, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: rgba(227, 75, 255, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 800px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 14px; display: inline-block;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 12px; width: auto; height: auto; clip: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  font-family: var(--sans); line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #07081c; box-shadow: 0 8px 30px rgba(139, 92, 255, 0.35); }
.btn-primary:hover { color: #07081c; box-shadow: 0 10px 38px rgba(227, 75, 255, 0.45); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-primary, .btn-primary:hover, .entry-content a.btn-primary, .footer-grid a.btn-primary { color: #07081c !important; text-decoration: none !important; }
.entry-content a.btn, .footer-grid a.btn { text-decoration: none; }
.footer-grid a.btn-ghost { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 7, 26, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--glow-m); }
.brand-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted);
  font-size: 0.93rem; font-weight: 500;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current_page_parent > a { color: #fff; background: rgba(255,255,255,0.06); }
.header-cta { flex: none; padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .header-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: rgba(8, 9, 30, 0.97); border-bottom: 1px solid var(--line);
    display: none; padding: 10px 16px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .header-cta { margin-left: auto; padding: 9px 14px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; height: 64px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 0.92rem; letter-spacing: 0.08em; }
  .header-cta { padding: 8px 12px; font-size: 0.8rem; gap: 6px; }
  .header-cta svg { width: 15px; height: 15px; }
  .header-cta .cta-long { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 350px) { .brand-name { display: none; } }
@media (min-width: 481px) { .header-cta .cta-short { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { color: var(--dim); font-size: 0.88rem; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at center, #000 52%, transparent 71%);
          mask-image: radial-gradient(circle at center, #000 52%, transparent 71%);
  animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.04); filter: brightness(1.15); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero { padding: 40px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-art { order: -1; max-width: 340px; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Tone type cards */
.tone-card { position: relative; overflow: hidden; }
.tone-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--accent, var(--grad)); }
.tone-card h3 { display: flex; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 1rem; }
.tone-card h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent, var(--cyan)); box-shadow: 0 0 12px var(--accent, var(--cyan)); }
.tone-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.tone-card .tag { position: absolute; top: 22px; right: 22px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 7px; }
.tone-card .tag.free { color: var(--cyan); border-color: rgba(53,232,255,0.4); }

/* Screenshot gallery */
.shots { scrollbar-color: var(--purple) transparent; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 22px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shot { scroll-snap-align: start; margin: 0; }
.phone { border-radius: 28px; padding: 8px; background: linear-gradient(160deg, #2a2d55, #0c0d22); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.phone img { border-radius: 21px; width: 100%; }
.shot figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; letter-spacing: 0.08em; text-transform: uppercase; }

/* CTA band */
.cta-band { position: relative; border-radius: 24px; padding: 48px; overflow: hidden; border: 1px solid var(--line-strong);
  background: radial-gradient(600px 300px at 0% 0%, rgba(53,232,255,0.18), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(227,75,255,0.2), transparent 70%), var(--surface); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 36em; }
.cta-band .row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
@media (max-width: 620px) { .cta-band { padding: 30px 22px; } }

/* ---------- Page / posts ---------- */
.page-hero { padding: 64px 0 24px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 40em; }
.entry-content { font-size: 1.06rem; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide, .entry-content > .bt-wide { max-width: var(--wrap); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.5em; color: #fff; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content blockquote { border-left: 3px solid var(--magenta); margin: 1.5em auto; padding: 0.4em 0 0.4em 1.2em; color: var(--muted); font-style: italic; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(53,232,255,0.4); text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { color: var(--muted); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.wp-block-table { overflow-x: auto; }
.entry-content .bt-callout { background: var(--surface); border: 1px solid var(--line-strong); border-left: 3px solid var(--cyan); border-radius: var(--radius-sm); padding: 18px 22px; }
.entry-content .bt-callout p:last-child { margin: 0; }

/* FAQ (core Details block) */
.entry-content details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 auto 12px; padding: 0; }
.entry-content details[open] { border-color: var(--line-strong); }
.entry-content details summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; font-size: 1.04rem; list-style: none; position: relative; color: #fff; }
.entry-content details summary::-webkit-details-marker { display: none; }
.entry-content details summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--cyan); font-weight: 400; }
.entry-content details[open] summary::after { content: "–"; color: var(--magenta); }
.entry-content details > :not(summary) { padding: 0 22px; color: var(--muted); }
.entry-content details > :last-child { padding-bottom: 18px; margin-bottom: 0; }

/* Blog list */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--line-strong); transform: translateY(-2px); color: var(--text); }
.post-thumb { aspect-ratio: 16/9; background: #0d0f2a; position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.gen { display: flex; align-items: flex-end; padding: 18px; background:
  radial-gradient(circle at 34% 50%, transparent 30%, rgba(53,232,255,0.55) 31%, transparent 33%),
  radial-gradient(circle at 66% 50%, transparent 30%, rgba(227,75,255,0.55) 31%, transparent 33%),
  radial-gradient(400px 200px at 50% 50%, rgba(139,92,255,0.35), transparent 70%), #0a0b22; }
.post-thumb.gen span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: 0.78rem; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.post-card h3 { font-size: 1.18rem; margin: 0; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.pagination .current { background: var(--grad); color: #07081c; border-color: transparent; }

.single-header { padding: 60px 0 20px; text-align: center; }
.single-header .post-meta { margin-bottom: 16px; }
.single-header h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 900px; margin: 0 auto 10px; }
.single-feature { max-width: 900px; margin: 10px auto 40px; border-radius: var(--radius); overflow: hidden; }
.post-cta { max-width: 760px; margin: 48px auto 0; }

/* ---------- Videos ---------- */
.bt-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.bt-filters button { font: inherit; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); cursor: pointer; }
.bt-filters button.on { background: rgba(255,255,255,0.08); color: #fff; border-color: var(--cyan); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; align-items: start; }
.video-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-align: left; padding: 0; font: inherit; cursor: pointer; width: 100%; transition: border-color .2s, transform .2s; }
.video-card:hover { border-color: var(--line-strong); transform: translateY(-2px); color: var(--text); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #0c0d24; overflow: hidden; }
.video-card.vertical .video-thumb { aspect-ratio: 4/5; }
.entry-content a.video-card, .entry-content a.post-card { text-decoration: none; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(6,7,26,0.6); border: 1px solid rgba(255,255,255,0.4); display: grid; place-items: center; backdrop-filter: blur(4px); }
.video-thumb .play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.video-thumb .src { position: absolute; top: 10px; left: 10px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(6,7,26,0.75); padding: 4px 9px; border-radius: 6px; font-weight: 600; }
.video-thumb .src.yt { color: #ff6b6b; } .video-thumb .src.ig { color: #ff8be4; } .video-thumb .src.tt { color: #6ff3ff; }
.video-thumb.ig-fallback { background: radial-gradient(circle at 30% 110%, #fdd36b 0%, #f9543c 35%, #d6249f 60%, #6a3cf5 90%); display: grid; place-items: center; }
.video-thumb.ig-fallback .ig-mark { display: none; }
.video-info { padding: 14px 16px 18px; }
.video-info h3 { font-size: 1rem; margin: 0 0 4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info .date { font-size: 0.78rem; color: var(--dim); }
.video-empty { text-align: center; color: var(--muted); padding: 50px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.bt-modal { position: fixed; inset: 0; z-index: 200; background: rgba(3,3,12,0.88); display: none; align-items: center; justify-content: center; padding: 20px; }
.bt-modal.open { display: flex; }
.bt-modal .frame { width: min(1000px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.bt-modal .frame.vertical { width: auto; height: min(86vh, 900px); aspect-ratio: 9/16; }
.bt-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.bt-modal .close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.4); color: #fff; font-size: 1.5rem; cursor: pointer; }
.follow-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sample player ---------- */
.bt-player { background: linear-gradient(180deg, var(--surface) 0%, #0a0b20 100%); border: 1px solid var(--line-strong); border-radius: 22px; overflow: hidden; }
.bt-player-top { display: grid; grid-template-columns: 300px 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.bt-viz-wrap { position: relative; background: radial-gradient(circle at center, rgba(139,92,255,0.18), transparent 70%), #07081c; border-right: 1px solid var(--line); display: grid; place-items: center; padding: 18px; min-height: 260px; }
.bt-viz { width: 100%; max-width: 260px; aspect-ratio: 1; }
.bt-now { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.bt-now .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.bt-now .name { font-family: var(--display); font-size: 2.2rem; line-height: 1.1; letter-spacing: 0.06em; text-transform: uppercase; }
.bt-now .meta { font-family: var(--mono); color: var(--muted); font-size: 0.92rem; }
.bt-now .desc { color: var(--muted); font-size: 0.97rem; margin: 6px 0 0; }
.bt-progress { height: 4px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; margin-top: 16px; }
.bt-progress span { display: block; height: 100%; width: 0; background: var(--grad); }
.bt-progress-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.78rem; color: var(--dim); margin-top: 6px; }
.bt-tabs { display: flex; gap: 6px; padding: 14px 16px 0; overflow-x: auto; scrollbar-width: none; }
.bt-tabs::-webkit-scrollbar { display: none; }
.bt-tab { flex: none; font: inherit; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 10px 16px; border-radius: 10px 10px 0 0; border: 1px solid transparent; border-bottom: 0; background: transparent; color: var(--dim); cursor: pointer; }
.bt-tab:hover { color: var(--text); }
.bt-tab.on { color: #fff; background: rgba(255,255,255,0.04); border-color: var(--line); }
.bt-panel { padding: 22px 20px 24px; border-top: 1px solid var(--line); margin-top: -1px; }
.bt-panel .panel-blurb { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.bt-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bt-preset { font: inherit; text-align: left; cursor: pointer; background: #0e1028; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 13px; color: var(--text); transition: border-color .15s, background .15s, box-shadow .2s; position: relative; }
.bt-preset:hover { border-color: var(--line-strong); background: #12153a; }
.bt-preset .t { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: 0.1em; font-size: 0.86rem; text-transform: uppercase; color: var(--c); }
.bt-preset .t i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.bt-preset .s { display: block; font-size: 0.8rem; color: var(--dim); margin-top: 5px; }
.bt-preset .ic { position: absolute; top: 14px; right: 12px; width: 14px; height: 14px; fill: var(--dim); }
.bt-preset.playing { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 22px color-mix(in srgb, var(--c) 30%, transparent); background: #12153a; }
.bt-preset.playing .ic { fill: var(--c); }
.bt-locked { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 0.92rem; }
.bt-locked svg { width: 20px; height: 20px; flex: none; fill: var(--magenta); }
.bt-player-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid var(--line); background: rgba(0,0,0,0.2); font-size: 0.88rem; color: var(--muted); }
.bt-player-foot .hp { display: flex; align-items: center; gap: 8px; }
.bt-player-foot svg { width: 18px; height: 18px; fill: var(--cyan); }
.bt-vol { display: flex; align-items: center; gap: 10px; }
.bt-vol input { accent-color: var(--magenta); width: 120px; }
.bt-upsell { display: none; margin: 0 20px 20px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(227,75,255,0.45); background: linear-gradient(100deg, rgba(53,232,255,0.1), rgba(227,75,255,0.14)); align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bt-upsell.show { display: flex; animation: rise .35s ease; }
.bt-upsell strong { display: block; font-size: 1.05rem; color: #fff; }
.bt-upsell span { color: var(--muted); font-size: 0.92rem; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .bt-player-top { grid-template-columns: 1fr; }
  .bt-viz-wrap { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 14px; }
  .bt-viz { max-width: 190px; }
  .bt-now { padding: 18px 20px 20px; text-align: center; }
  .bt-now .name { font-size: 1.7rem; }
  .bt-presets { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bt-preset { padding: 12px 12px 11px; }
  .bt-preset .t { font-size: 0.76rem; letter-spacing: 0.06em; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 48px 0 30px; color: var(--muted); font-size: 0.92rem; background: rgba(0,0,0,0.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 30em; margin-top: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--dim); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* WP core bits */
.alignleft { float: left; margin: 0 1.5em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.5em; } .aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.85rem; color: var(--dim); }
.wp-block-image img { border-radius: 12px; }
.wp-block-button__link { background: var(--grad); color: #07081c; border-radius: 999px; font-weight: 600; }
.wp-block-separator { border: 0; height: 1px; background: var(--line-strong); }

/* Video sections */
.video-section + .video-section { margin-top: 56px; }
.video-section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.video-section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.video-section-head span { color: var(--muted); font-size: 0.95rem; }
.video-grid.long { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.video-grid.short { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.video-grid.short .video-thumb { aspect-ratio: 9/14; }
.video-grid.short .video-info { padding: 12px 14px 14px; }
.video-grid.short .video-info h3 { font-size: 0.92rem; }
@media (max-width: 620px) { .video-grid.long { grid-template-columns: 1fr; } .video-grid.short { grid-template-columns: 1fr 1fr; gap: 12px; } }

.video-card[hidden] { display: none !important; }
