/* ═══════════════════════════════════════════
   Roshade scale refresh — search traffic / conversion
═══════════════════════════════════════════ */

:root {
  --accent: #7eb8ff;
  --accent-2: #c4a1ff;
  --accent-glow: rgba(126, 184, 255, .22);
  --glass: rgba(255, 255, 255, .04);
  --glass-border: rgba(255, 255, 255, .1);
}

/* ─── Ambient atmosphere ─── */
.bg-glow {
  display: block !important;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% -5%, rgba(126, 184, 255, .14), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(196, 161, 255, .1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 255, 255, .04), transparent 55%);
}
.noise {
  display: block !important;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  display: block !important;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: .45;
}
.orb-1 {
  width: 420px; height: 420px;
  top: -120px; left: -80px;
  background: rgba(126, 184, 255, .18);
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 360px; height: 360px;
  top: 20%; right: -100px;
  background: rgba(196, 161, 255, .14);
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 280px; height: 280px;
  bottom: 10%; left: 30%;
  background: rgba(255, 255, 255, .06);
  animation: orb-drift 26s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, -18px) scale(1.08); }
}

main, .topbar, .footer, .sticky-bar, .marquee-wrap { position: relative; z-index: 1; }

/* ─── Hero polish ─── */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute;
  inset: -10% 40% 10% -20%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.h1-grad {
  background: linear-gradient(120deg, #fff 0%, var(--accent) 42%, var(--accent-2) 68%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.img-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, var(--accent-glow), transparent 62%);
  z-index: 0;
  pointer-events: none;
}
.img-stack { z-index: 1; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-stats .stat-div { background: #2a2a2a; }
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: -.5rem;
  margin-bottom: 1.5rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.trust-pill svg { opacity: .75; flex-shrink: 0; }

/* ─── Trust strip ─── */
.trust-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(12px);
}
.trust-strip-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.trust-strip-logos {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.trust-logo strong { color: var(--ink); font-weight: 700; }

/* ─── Compare strip ─── */
.compare-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--pad) 3rem;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.5rem;
}
.compare-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.compare-card--after {
  border-color: rgba(126, 184, 255, .35);
  background: linear-gradient(160deg, rgba(126, 184, 255, .08), rgba(255,255,255,.02));
  box-shadow: 0 0 40px rgba(126, 184, 255, .08);
}
.compare-card h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .85rem;
}
.compare-card--after h3 { color: var(--accent); }
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.compare-list li {
  font-size: .84rem;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.compare-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #444;
  flex-shrink: 0;
}
.compare-card--after .compare-list li::before { background: var(--accent); }
.compare-arrow {
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--ink-3);
  padding: 0 .25rem;
}

/* ─── Feature cards glass ─── */
.feat-card {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.feat-card:hover {
  box-shadow: 0 12px 40px rgba(126, 184, 255, .12);
  border-color: rgba(126, 184, 255, .25);
}

/* ─── Games showcase ─── */
.games-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.game-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.game-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.game-card:hover img { transform: scale(1.05); }
.game-card-body {
  padding: 1rem 1.1rem 1.15rem;
}
.game-card-body h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.game-card-body p {
  font-size: .78rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.game-tag {
  position: absolute;
  top: .65rem; left: .65rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

/* ─── Mid-page CTA ─── */
.mid-cta {
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 0 var(--pad);
}
.mid-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--r-lg) + 4px);
  border: 1px solid rgba(126, 184, 255, .25);
  background:
    linear-gradient(135deg, rgba(126, 184, 255, .12), rgba(196, 161, 255, .06)),
    var(--bg-2);
  box-shadow: 0 24px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.mid-cta-inner::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.mid-cta-copy { position: relative; z-index: 1; }
.mid-cta-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: .03em;
  line-height: .95;
  margin-bottom: .65rem;
}
.mid-cta-copy p {
  font-size: .9rem;
  color: var(--ink-2);
  max-width: 36ch;
  margin-bottom: 1.25rem;
}
.mid-cta-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.mid-cta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.mid-cta-visual img {
  width: min(100%, 380px);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(1.5deg);
}

/* ─── Changelog ─── */
.changelog-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--pad) 4rem;
}
.changelog-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: grid;
  gap: .85rem;
}
.changelog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem 1rem;
  align-items: start;
  padding-bottom: .85rem;
  border-bottom: 1px solid #1a1a1a;
}
.changelog-item:last-child { border-bottom: none; padding-bottom: 0; }
.changelog-ver {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--accent);
  white-space: nowrap;
}
.changelog-item p {
  font-size: .84rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ─── Install progress ─── */
.install-progress {
  max-width: 1060px;
  margin: 0 auto 1.5rem;
  padding: 0 var(--pad);
}
.install-progress-bar {
  height: 3px;
  background: #1a1a1a;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .55rem;
}
.install-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width .35s var(--ease);
}
.install-progress-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─── BA section glow ─── */
.ba-wrap {
  box-shadow: 0 0 0 1px var(--border), 0 24px 80px rgba(0,0,0,.45), 0 0 60px rgba(126, 184, 255, .06);
}

/* ─── Topbar brand icon ─── */
.brand::before {
  content: '';
  width: 22px; height: 22px;
  background: url('/images/roshade-mark.svg') center/contain no-repeat;
  flex-shrink: 0;
}
.brand-icon {
  display: block !important;
  width: 28px; height: 28px;
  flex-shrink: 0;
}

/* ─── SEO page shell ─── */
body.seo-page {
  overflow-x: hidden;
  overflow-y: auto;
}
.seo-page main {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 3rem;
}
.seo-hero {
  width: 100%;
  padding: clamp(2.5rem, 6vh, 5rem) var(--pad) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.seo-hero-copy { min-width: 0; }
.seo-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: .92;
  letter-spacing: .03em;
  margin-bottom: 1rem;
}
.seo-hero h1 span { color: var(--accent); }
.seo-hero-lead {
  font-size: .95rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 1.35rem;
  max-width: 42ch;
}
.seo-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.seo-hero .img-stack {
  width: min(100%, 480px);
}
.seo-hero-shot {
  width: min(100%, 460px);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border);
}
.seo-breadcrumb {
  font-size: .75rem;
  color: var(--ink-3);
  margin-bottom: .85rem;
}
.seo-breadcrumb a { color: var(--ink-2); text-decoration: none; }
.seo-breadcrumb a:hover { color: var(--ink); }

.seo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  padding: 0 var(--pad) 2rem;
  align-items: start;
}
.seo-content { min-width: 0; }
.seo-content h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: .03em;
  margin: 0 0 .75rem;
  line-height: .95;
}
.seo-content h2:not(:first-child) { margin-top: 2rem; }
.seo-content p,
.seo-content li {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: .85rem;
}
.seo-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.seo-content a,
.seo-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
}
.seo-content a:hover,
.seo-links a:hover { color: #fff; }
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: .5rem;
}

.seo-aside {
  position: sticky;
  top: calc(var(--topbar-h) + 1rem);
  padding: 1.15rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(126, 184, 255, .22);
  background: linear-gradient(160deg, rgba(126, 184, 255, .1), rgba(255,255,255,.02));
}
.seo-aside h3 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .45rem;
}
.seo-aside p {
  font-size: .78rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.seo-aside .cta-btn { width: 100%; justify-content: center; }

.seo-related {
  padding: 1rem var(--pad) 4rem;
  border-top: 1px solid #1a1a1a;
  margin-top: 1rem;
}
.seo-related-head {
  margin-bottom: 1.25rem;
}
.seo-related-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: .03em;
  line-height: .95;
}
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.seo-related a {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  text-decoration: none;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.seo-related a:hover { border-color: var(--border-hi); background: var(--bg-3); }

/* Games SEO page */
.seo-page .games-section {
  width: 100%;
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad) 3rem;
}
.seo-page .games-section .section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.seo-page .games-section .section-head h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  letter-spacing: .03em;
  line-height: .92;
  margin-bottom: .5rem;
}
.seo-page .games-section .section-head h1 span { color: var(--accent); }
.seo-page .games-section .section-sub {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.seo-page .mid-cta {
  max-width: 100%;
  padding: 0;
  margin-top: 2.5rem;
}
.seo-page .mid-cta-inner--center {
  grid-template-columns: 1fr;
  text-align: center;
}
.seo-page .mid-cta-inner--center .mid-cta-copy p {
  text-align: center;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}
.seo-page .mid-cta-inner--center .mid-cta-actions {
  justify-content: center;
}
.seo-page .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); padding: .5rem 0; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .mid-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .mid-cta-copy p { margin-left: auto; margin-right: auto; }
  .mid-cta-actions { justify-content: center; }
  .seo-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  .seo-hero-lead { margin-left: auto; margin-right: auto; }
  .seo-hero .hero-visual { order: -1; }
  .seo-body { grid-template-columns: 1fr; }
  .seo-aside { position: static; }
  .seo-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .games-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { justify-content: center; text-align: center; }
  .seo-related-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
}
