/*
Theme Name: VibesRoulette
Theme URI: https://vibesroulette.com
Author: Lenny
Description: Modern burgundy and deep purple theme for vibesroulette.com. Landing page, full-width chat page with an 18+ gate and iframe embed (Meetgle or any chat provider), SEO intent-page template with TL;DR and FAQ schema.
Version: 1.2.6
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: vibesroulette
*/

:root {
  --vr-bg: #12071c;
  --vr-bg-deep: #0e0517;
  --vr-surface: #1c0e2b;
  --vr-surface-2: #281540;
  --vr-surface-3: #2a1148;
  --vr-border: #3a2354;
  --vr-border-soft: #2a1640;
  --vr-border-strong: #5a3a7e;
  --vr-text: #f6eef8;
  --vr-text-soft: #cdbbdc;
  --vr-text-mute: #b9a5ca;
  --vr-burgundy: #9b1c45;
  --vr-burgundy-dark: #6e1634;
  --vr-burgundy-light: #c2305f;
  --vr-violet: #7c45c4;
  --vr-violet-light: #8b54d6;
  --vr-rose: #f08aae;
  --vr-white: #ffffff;
  --vr-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --vr-font-body: "DM Sans", system-ui, sans-serif;
  --vr-max: 1280px;
  --vr-radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--vr-bg);
  color: var(--vr-text);
  font-family: var(--vr-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vr-white); }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--vr-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}

:focus-visible { outline: 3px solid var(--vr-rose); outline-offset: 3px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--vr-burgundy); color: var(--vr-white);
  padding: 12px 20px; border-radius: 999px; z-index: 1000;
}
.skip-link:focus { left: 16px; }

.vr-wrap { max-width: var(--vr-max); margin: 0 auto; padding: 0 32px; }

/* Buttons */
.vr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 52px; border-radius: 999px;
  border: 2px solid transparent; font: 700 18px/1 var(--vr-font-body);
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.vr-btn:hover { transform: translateY(-1px); }
.vr-btn--primary { background: var(--vr-burgundy); color: var(--vr-white); }
.vr-btn--primary:hover { background: var(--vr-burgundy-light); color: var(--vr-white); }
.vr-btn--ghost { border-color: var(--vr-border-strong); color: var(--vr-text); background: transparent; }
.vr-btn--ghost:hover { background: var(--vr-surface-2); }
.vr-btn--dark { background: var(--vr-bg); color: var(--vr-white); }
.vr-btn--lg { padding: 20px 34px; min-height: 60px; font-size: 19px; }

/* Header */
.site-logo { display: inline-flex; padding: 8px 0; align-items: center; gap: 12px; font: 800 26px/1 var(--vr-font-display); letter-spacing: -0.02em; }
.site-logo b { color: var(--vr-rose); font-weight: 800; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-weight: 500; color: var(--vr-text-soft); }
.site-nav a { padding: 8px 0; display: inline-block; }
.site-nav .current-menu-item > a, .site-nav a:hover { color: var(--vr-white); }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero .vr-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--vr-surface-2); border: 1px solid var(--vr-border); font-size: 15px; font-weight: 500; color: #e3d5ee; }
.hero-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--vr-rose); display: inline-block; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; margin: 0; }
.hero h1 span { color: var(--vr-rose); }
.hero-lead { font-size: 21px; color: var(--vr-text-soft); max-width: 560px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { font-size: 15px; color: var(--vr-text-mute); margin: 0; }

.hero-card { flex: 1 1 440px; min-width: 0; background: var(--vr-surface); border: 1px solid var(--vr-border); border-radius: 32px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.hero-tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-tile { flex: 1 1 180px; min-width: 0; aspect-ratio: 4/5; border-radius: 20px; position: relative; overflow: hidden; }
.hero-tile--you { background: #3a1b63; }
.hero-tile--them { background: var(--vr-burgundy-dark); }
.hero-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 7, 28, .8); font-size: 14px; font-weight: 500; }
.tile-live { position: absolute; right: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 7, 28, .8); font-size: 13px; font-weight: 700; color: var(--vr-rose); }
.bubble-row { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 78%; padding: 12px 16px; font-size: 16px; }
.bubble--in { align-self: flex-start; border-radius: 18px 18px 18px 4px; background: var(--vr-surface-2); }
.bubble--out { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: var(--vr-burgundy); color: var(--vr-white); }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-row span { flex: 1 1 110px; text-align: center; padding: 14px; border-radius: 999px; background: var(--vr-surface-2); font-weight: 700; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--vr-surface); border-top: 1px solid var(--vr-border-soft); border-bottom: 1px solid var(--vr-border-soft); }
.section--burgundy { background: var(--vr-burgundy-dark); }
.eyebrow { font-weight: 700; color: var(--vr-rose); letter-spacing: .08em; font-size: 14px; text-transform: uppercase; margin-bottom: 12px; }
.section--burgundy .eyebrow { color: #ffd3e1; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card { background: var(--vr-bg); border: 1px solid var(--vr-border); border-radius: var(--vr-radius); padding: 32px; }
.section:not(.section--alt):not(.section--burgundy) .card { background: var(--vr-surface); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--vr-text-soft); margin: 0; }
.card .num { font: 800 64px/1 var(--vr-font-display); margin-bottom: 12px; }
.card .icon { width: 52px; height: 52px; border-radius: 16px; background: #2e1550; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.section--burgundy .card { border: 0; }

.band { background: var(--vr-surface-3); border: 1px solid #4a2a72; border-radius: 36px; padding: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.band-copy { flex: 1 1 380px; min-width: 0; }
.band-copy h2 { font-size: clamp(32px, 4vw, 46px); }
.band-copy p { color: #d9c9e6; margin: 0; }
.pill-row { flex: 1 1 440px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill { padding: 12px 20px; border-radius: 999px; background: var(--vr-bg); border: 1px solid var(--vr-border-strong); font-weight: 500; }
.pill--hot { background: var(--vr-burgundy); border-color: var(--vr-burgundy); color: var(--vr-white); font-weight: 700; }

.rooms-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.rooms-copy { flex: 1 1 380px; min-width: 0; }
.rooms-copy h2 { font-size: clamp(32px, 4vw, 46px); }
.rooms-copy p { color: var(--vr-text-soft); }
.rooms-list { flex: 1 1 460px; min-width: 0; background: var(--vr-surface); border: 1px solid var(--vr-border); border-radius: 28px; padding: 12px; }
.room { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; }
.room--active { background: var(--vr-surface-2); }
.room i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.room strong { display: block; }
.room small { display: block; font-size: 15px; color: #bba8cb; }
.room span.count { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--vr-burgundy); color: var(--vr-white); font-size: 13px; font-weight: 700; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--vr-border); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--vr-border); }
.faq summary { cursor: pointer; font: 700 21px/1.3 var(--vr-font-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--vr-rose); font-size: 28px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--vr-text-soft); }

/* CTA */
.cta { background: var(--vr-burgundy); border-radius: 40px; padding: 80px 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta h2 { color: var(--vr-white); font-size: clamp(34px, 5vw, 60px); max-width: 820px; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--vr-border-soft); background: var(--vr-bg-deep); margin-top: 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding: 64px 0; }
.footer-brand { flex: 1 1 280px; max-width: 360px; }
.footer-brand p { color: var(--vr-text-mute); font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-col h4 { font: 700 16px/1.2 var(--vr-font-body); letter-spacing: 0; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--vr-text-mute); }
.footer-col a:hover { color: var(--vr-white); }
.footer-base { padding: 0 0 40px; color: #9c88ae; font-size: 14px; }

/* Content pages */
.page-hero { padding: 72px 0 24px; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 64px); margin: 0 0 16px; }
.page-hero .lead { color: var(--vr-text-soft); font-size: 20px; max-width: 760px; }
.entry { max-width: 780px; padding-bottom: 80px; }
.entry h2 { font-size: 32px; margin-top: 1.6em; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.3em; color: var(--vr-text-soft); }
.entry p { color: var(--vr-text-soft); }
.entry a { color: var(--vr-rose); text-decoration: underline; }
.tldr { background: var(--vr-surface-2); border: 1px solid var(--vr-border-strong); border-radius: 20px; padding: 24px 28px; margin: 0 0 32px; }
.tldr strong { display: block; color: var(--vr-rose); letter-spacing: .08em; font-size: 13px; text-transform: uppercase; margin-bottom: 6px; }
.tldr p { margin: 0; color: var(--vr-text); font-size: 19px; }
.intent-cta { margin: 40px 0; }

/* Chat page */
.chat-page { padding: 24px 0 64px; }
.chat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 0 20px; }
.chat-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.chat-badges { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 500; }
.chat-badges span { padding: 8px 14px; border-radius: 999px; background: var(--vr-surface); border: 1px solid var(--vr-border); color: #e3d5ee; }
.chat-stage { position: relative; background: var(--vr-surface); border: 1px solid var(--vr-border); border-radius: 28px; overflow: hidden; min-height: 70vh; }
.chat-stage iframe { display: block; width: 100%; height: 78vh; min-height: 560px; border: 0; background: #000; }
.chat-stage[data-locked="true"] .chat-embed { visibility: hidden; }
.chat-empty { padding: 48px 32px; text-align: center; color: var(--vr-text-soft); }
.chat-tools { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 0; font-size: 15px; color: var(--vr-text-mute); align-items: center; }
.chat-tools a { color: var(--vr-rose); text-decoration: underline; }

/* Games drawer beside the chat */
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.chat-layout.games-open { grid-template-columns: minmax(0, 1fr) 440px; }
.games-drawer { background: var(--vr-surface); border: 1px solid var(--vr-border); border-radius: 28px; overflow: hidden; }
.games-drawer iframe { display: block; width: 100%; height: 78vh; min-height: 560px; border: 0; background: var(--vr-bg); }
.games-toggle { padding: 8px 16px; min-height: 38px; font-size: 14px; }
.games-toggle[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 960px) {
  .chat-layout.games-open { grid-template-columns: minmax(0, 1fr); }
}

/* Age gate */
.gate { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(18, 7, 28, .94); }
.chat-stage[data-locked="false"] .gate { display: none; }
.gate-card { max-width: 520px; text-align: center; background: var(--vr-surface-2); border: 1px solid var(--vr-border-strong); border-radius: 28px; padding: 40px 32px; }
.gate-card h2 { font-size: 34px; }
.gate-card p { color: var(--vr-text-soft); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

@media (max-width: 720px) {
  .vr-wrap { padding: 0 20px; }
  .site-logo { font-size: 22px; }
  .chat-page { padding-top: 8px; }
  .chat-head { padding: 8px 0 12px; }
  .chat-badges { font-size: 13px; }
  .gate { padding: 12px; }
  .gate-card { padding: 28px 20px; border-radius: 22px; }
  .gate-card h2 { font-size: 28px; }
  .chat-stage { min-height: 520px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 64px 0; }
  .band { padding: 36px 24px; border-radius: 28px; }
  .cta { border-radius: 28px; padding: 56px 24px; }
  .chat-stage iframe { height: 72vh; min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vr-btn { transition: none; }
}

/* Mode choice: video or text */
.lobby { display: none; }
.chat-stage[data-locked="false"][data-mode="lobby"] .lobby { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 32px 20px; }
.chat-stage[data-mode="lobby"] .chat-embed,
.chat-stage[data-mode="video"] .chat-text,
.chat-stage[data-mode="text"] .chat-embed[data-panel="video"] { display: none; }
.lobby-card { width: 100%; max-width: 820px; text-align: center; }
.lobby-card h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.lobby-lead { color: var(--vr-text-soft); margin: 0 0 28px; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mode {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 32px 24px; border-radius: 28px; border: 1px solid var(--vr-border); background: var(--vr-surface-2);
  color: var(--vr-text); font: inherit; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.mode:hover { transform: translateY(-3px); border-color: var(--vr-rose); background: var(--vr-surface-3); }
.mode strong { font: 800 26px/1.1 var(--vr-font-display); }
.mode > span:last-child { color: var(--vr-text-soft); font-size: 15px; max-width: 30ch; }
.mode-icon { width: 68px; height: 68px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: var(--vr-burgundy); color: #fff; }
.mode[data-mode-pick="text"] .mode-icon { background: var(--vr-violet); }
.lobby-live { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--vr-text-soft); font-size: 15px; }
.lobby-live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #4bd37b; box-shadow: 0 0 0 4px rgba(75, 211, 123, .2); }
.lobby-live[hidden] { display: none; }
.chat-text iframe { height: 78vh; min-height: 560px; }
@media (max-width: 720px) {
  .mode-grid { grid-template-columns: 1fr; }
  .mode { padding: 22px 18px; flex-direction: row; text-align: left; gap: 16px; }
  .mode > span:last-child { max-width: none; }
  .mode strong { display: block; font-size: 22px; }
  .mode .mode-icon { flex: none; width: 56px; height: 56px; }
  .chat-stage[data-locked="false"][data-mode="lobby"] .lobby { min-height: 520px; padding: 20px 14px; }
}
@media (prefers-reduced-motion: reduce) { .mode { transition: none; } .mode:hover { transform: none; } }

/* Buttons set their own display, so hidden must win */
[hidden] { display: none !important; }

/* "Connected! Play a game?" prompt over the video chat */
.game-pop {
  position: absolute; z-index: 60; left: 28px; top: 132px; bottom: auto; max-width: min(340px, calc(100% - 56px));
  display: flex; align-items: center; gap: 10px; padding: 8px 40px 8px 14px;
  border-radius: 999px; border: 1px solid var(--vr-rose); background: rgba(40, 21, 64, .96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: pop-in .35s cubic-bezier(.2, .9, .3, 1.2);
}
.game-pop span { font: 600 14px var(--vr-font-display); }
.game-pop strong { font: 700 15px var(--vr-font-display); }
.game-pop [data-game-pop-yes] { padding: 6px 14px; min-height: 34px; font-size: 14px; }
.game-pop--invite { flex-wrap: wrap; border-radius: 20px; padding: 12px 40px 12px 16px; }
.game-pop-list { display: flex; flex-wrap: wrap; gap: 8px; }
.game-pop-list .vr-btn { padding: 10px 16px; min-height: 40px; font-size: 14px; }
.game-pop-close { position: absolute; top: 50%; transform: translateY(-50%); right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--vr-text-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.game-pop-close:hover { background: var(--vr-burgundy); color: #fff; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .game-pop { left: 22px; right: auto; top: 158px; max-width: calc(100% - 44px); }
}
@media (prefers-reduced-motion: reduce) { .game-pop { animation: none; } }

/* Game beside the video: header bar, and a bottom sheet on phones */
.games-drawer { display: flex; flex-direction: column; }
.games-drawer[hidden] { display: none; }
.games-drawer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--vr-border); background: var(--vr-surface-2); }
.games-drawer-bar strong { font: 700 16px var(--vr-font-display); }
.games-drawer-bar .vr-btn { padding: 8px 16px; min-height: 36px; font-size: 14px; }
.games-drawer iframe { flex: 1; }
.game-pop--invite { border-color: var(--vr-burgundy-light); }
@media (max-width: 900px) {
  .games-drawer { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 58vh; border-radius: 24px 24px 0 0; border-bottom: 0; box-shadow: 0 -16px 40px rgba(0, 0, 0, .55); }
  .games-drawer iframe { height: auto; min-height: 0; }
  .chat-layout.games-open { padding-bottom: 58vh; }
}

@media (max-width: 720px) {
  /* Phones: the trust badges give way to the page controls so the chat starts higher up the screen */
  .chat-badges span { display: none; }
  .chat-head { padding-bottom: 10px; }
  .chat-page .vr-wrap { padding-left: 12px; padding-right: 12px; }
  .chat-stage { border-radius: 22px; }
}


/* ---- Home page with pictures ---- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(155, 28, 69, .45), transparent 70%); pointer-events: none; }
.hero .vr-wrap { position: relative; }
.hero-visual { flex: 1 1 420px; min-width: 0; max-width: 560px; margin-inline: auto; position: relative; padding-bottom: 36px; }
.hero-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden; background: linear-gradient(160deg, #3a1b63 0%, #6e1634 60%, #9b1c45 100%); border: 1px solid var(--vr-border-strong); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback svg { position: absolute; inset: 12% 8% 0; width: 84%; height: 88%; opacity: .55; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 5, 23, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 14px; }
.float-chip--live { top: 18px; left: 18px; }
.float-chip i { width: 9px; height: 9px; border-radius: 50%; background: #4bd37b; box-shadow: 0 0 0 4px rgba(75, 211, 123, .25); }
.float-bubble { position: absolute; max-width: 62%; padding: 12px 16px; border-radius: 20px; font-size: 15px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.float-bubble--in { left: -4%; bottom: 128px; background: var(--vr-surface-2); border: 1px solid var(--vr-border-strong); border-bottom-left-radius: 6px; }
.float-bubble--out { right: -3%; bottom: 76px; background: var(--vr-burgundy); border-bottom-right-radius: 6px; }
.float-actions { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 8px; white-space: nowrap; padding: 6px; border-radius: 999px; background: rgba(14, 5, 23, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--vr-border); }
.float-actions span { padding: 8px 16px; border-radius: 999px; background: var(--vr-surface-2); font-size: 14px; font-weight: 600; }
.float-actions span:first-child { background: var(--vr-burgundy); }
@media (max-width: 720px) { .float-bubble--in { left: 2%; } .float-bubble--out { right: 2%; } .float-bubble { font-size: 14px; } .hero-photo { border-radius: 30px; } }

.strip { border-block: 1px solid var(--vr-border-soft); background: var(--vr-bg-deep); }
.strip .vr-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; padding-block: 18px; color: var(--vr-text-soft); font-weight: 600; font-size: 15px; }
.strip span::before { content: "\2726"; color: var(--vr-rose); margin-right: 10px; }

.mode-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.mode-tile { position: relative; display: flex; align-items: flex-end; min-height: 460px; aspect-ratio: 3 / 4; border-radius: 32px; overflow: hidden; border: 1px solid var(--vr-border); color: #fff; text-decoration: none; isolation: isolate; transition: transform .25s ease, border-color .25s ease; }
.mode-tile--g1 { background: linear-gradient(160deg, #3a1b63, #9b1c45); }
.mode-tile--g2 { background: linear-gradient(160deg, #281540, #7c45c4); }
.mode-tile--g3 { background: linear-gradient(160deg, #6e1634, #c2305f 60%, #f08aae); }
.mode-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.mode-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 5, 23, .92) 0%, rgba(14, 5, 23, .35) 45%, transparent 70%); }
.mode-tile:hover { transform: translateY(-6px); border-color: var(--vr-rose); }
.mode-tile:hover > img { transform: scale(1.05); }
.mode-tile:focus-visible { outline: 3px solid var(--vr-rose); outline-offset: 3px; }
.mode-tile-body { display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.mode-tile-body strong { font: 800 32px/1.05 var(--vr-font-display); }
.mode-tile-body span { color: #eadcf5; max-width: 30ch; }
.mode-tile-body em { font-style: normal; font-weight: 700; color: var(--vr-rose); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .mode-tile, .mode-tile > img { transition: none; } .mode-tile:hover { transform: none; } .mode-tile:hover > img { transform: none; } }

.band--photo { padding: 0; overflow: hidden; gap: 0; align-items: stretch; }
.band--photo .band-copy { padding: 64px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.band--photo .pill-row { margin-top: 10px; flex: 0 0 auto; align-items: flex-start; }
.band-photo { flex: 1 1 380px; min-height: 340px; position: relative; background: linear-gradient(150deg, #4a2a72, #9b1c45); display: flex; align-items: center; justify-content: center; font-size: 96px; }
.band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .band--photo .band-copy { padding: 36px 24px; } }

.safety-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.safety-split .card-grid { grid-template-columns: 1fr; }
.safety-split .section-head { margin-bottom: 28px; }
.safety-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; background: linear-gradient(150deg, #281540, #12071c); border: 1px solid rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; font-size: 96px; }
.safety-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .safety-split { grid-template-columns: 1fr; gap: 32px; } }

.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(110, 22, 52, .88), rgba(110, 22, 52, .55)); }

/* Page banner, scroll reveal */
.page-banner{background:linear-gradient(90deg,#12071c 30%,rgba(18,7,28,.2)),var(--banner,none) center/cover,#1d0b2b;padding:clamp(48px,9vw,110px) 0;border-bottom:1px solid rgba(255,255,255,.08)}
.page-banner h1{max-width:18ch;margin:0}
.will-reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.will-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.will-reveal{opacity:1;transform:none;transition:none}}

/* Ticker */
.ticker{overflow:hidden;background:#f6c150;color:#2a0f1f;transform:rotate(-1.2deg);margin:28px -2vw;border-block:2px solid rgba(0,0,0,.12)}
.ticker-track{display:flex;width:max-content;animation:vr-tick 38s linear infinite}
.ticker:hover .ticker-track{animation-play-state:paused}
.ticker-set{display:flex;flex-shrink:0}
.ticker-set span{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;text-transform:uppercase;font-size:clamp(18px,2.4vw,28px);padding:14px 0;white-space:nowrap}
.ticker-set span::after{content:"\2726";color:#c2305f;margin:0 28px}
@keyframes vr-tick{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none}}
.float-chip--game{bottom:18px;left:18px}

/* Breadcrumbs, byline, related, TL;DR */
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px 10px;margin:0 0 18px;padding:0;font-size:14px;color:var(--vr-text-soft)}
.crumbs li+li::before{content:"/";margin-right:10px;opacity:.5}
.crumbs a{color:inherit;text-decoration:underline}
.byline{color:var(--vr-text-soft);font-size:15px;margin:14px 0 0}
.related{margin-top:56px;padding-top:24px;border-top:1px solid var(--vr-border-soft)}
.related ul{padding-left:1.2em}
.page-banner .lead{color:var(--vr-text-soft);font-size:20px;max-width:760px}
.entry table{border-collapse:collapse;width:100%;margin:1.4em 0;font-size:16px}
.entry th,.entry td{border:1px solid var(--vr-border-soft);padding:10px 12px;text-align:left;vertical-align:top}
.entry img{max-width:100%;height:auto;border-radius:12px}
.entry blockquote{margin:1.4em 0;padding:4px 20px;border-left:3px solid var(--vr-rose);color:var(--vr-text-soft)}
@media (max-width:720px){.entry table{display:block;overflow-x:auto}}

.entry a.vr-btn{color:var(--vr-white);text-decoration:none}

.page-banner + .vr-wrap .entry{padding-top:44px}

/* Header: one floating pill, logo plus a few links. */
.site-header{position:relative;z-index:50;padding:18px 0 0}
.site-header .vr-wrap{display:flex;justify-content:center}
.pillnav{display:flex;align-items:center;gap:28px;padding:8px 22px 8px 20px;border-radius:999px;background:rgba(28,14,43,.72);border:1px solid #3a2354;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);max-width:100%}
.site-nav ul{display:flex;gap:6px 26px;list-style:none;margin:0;padding:0;font-weight:500;color:var(--vr-text-soft)}
.site-nav a{padding:8px 0;display:inline-block}
.site-nav .current-menu-item>a,.site-nav a:hover{color:var(--vr-white)}
@media (max-width:480px){.pillnav{gap:16px;padding:8px 16px}.site-logo{font-size:20px}.site-logo svg{width:28px;height:28px}.site-nav ul{gap:4px 16px}}
.home .site-header{position:absolute;top:0;left:0;right:0}

.vr-share { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--vr-border-soft, #3a2352); color: inherit; font-weight: 700; font-size: 14px; }
.vr-share:hover { border-color: var(--vr-rose, #ff4d85); }
.vr-share:focus-visible { outline: 3px solid var(--vr-rose, #ff4d85); outline-offset: 2px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.footer-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--vr-border-soft, #3a2352); color: inherit; font-weight: 700; font-size: 14px; text-decoration: none; }
.footer-social a:hover { border-color: var(--vr-rose, #ff4d85); }
.chat-tools .vr-share { min-height: 36px; padding: 0 14px; }

/* Contact Form 7 (v1.2.2) */
.wpcf7 { max-width: 680px; margin: 28px 0 36px; padding: clamp(22px, 4vw, 40px); background: var(--vr-surface); border: 1px solid var(--vr-border); border-radius: var(--vr-radius); }
.wpcf7 form p { margin: 0 0 22px; }
.wpcf7 form p:last-of-type { margin-bottom: 0; }
.wpcf7 label { display: block; font: 600 16px/1.3 var(--vr-font-body); color: var(--vr-text); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select {
  width: 100%; box-sizing: border-box; padding: 15px 18px; min-height: 54px;
  background: var(--vr-bg-deep); color: var(--vr-text); border: 1.5px solid var(--vr-border); border-radius: 16px;
  font: 400 17px/1.4 var(--vr-font-body); transition: border-color .2s, box-shadow .2s, background .2s;
}
.wpcf7 textarea { min-height: 170px; resize: vertical; }
.wpcf7 input:hover, .wpcf7 textarea:hover { border-color: var(--vr-border-strong); }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; background: var(--vr-bg); border-color: var(--vr-rose); box-shadow: 0 0 0 4px rgba(240,138,174,.22); }
.wpcf7 input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 38px; margin-top: 4px; cursor: pointer;
  background: var(--vr-burgundy); color: var(--vr-white); border: 2px solid transparent; border-radius: 999px;
  font: 700 18px/1 var(--vr-font-body); transition: background .2s, transform .15s;
}
.wpcf7 input[type="submit"]:hover { background: var(--vr-burgundy-light); transform: translateY(-1px); }
.wpcf7 input[type="submit"]:focus-visible { outline: 3px solid var(--vr-rose); outline-offset: 3px; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 14px; background-color: var(--vr-rose); }
.wpcf7-not-valid { border-color: #ff7a8a !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 8px; color: #ffb3bd; font-size: 15px; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--vr-border-strong); background: var(--vr-surface-2); color: var(--vr-text); font-size: 16px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #3ddc84; background: rgba(61,220,132,.1); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #ff7a8a; background: rgba(255,122,138,.1); }
@media (max-width: 600px) { .wpcf7 input[type="submit"] { width: 100%; } }

