/*
 * Raccoon Audio – Home Custom Template Styles
 * Scope: only loaded on pages using page-templates/home_custom.php
 */

@import url('https://fonts.googleapis.com/css2?family=Fontdiner+Swanky&display=swap');

@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/ethnocentric-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Base type + text color for this template shell */
.ra-home {
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e6e6f0;
  background-color: #000000;
}

/* =========================
   HERO - ROBOCOMP LAUNCH
   ========================= */
.ra-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 112px) 18px clamp(58px, 7vw, 88px);
  min-height: min(780px, 82vh);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.87) 0%,
      rgba(0, 0, 0, 0.67) 42%,
      rgba(0, 0, 0, 0.33) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.23) 0%,
      rgba(0, 0, 0, 0.17) 54%,
      rgba(0, 0, 0, 0.87) 100%
    ),
    var(--ra-robocomp-hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000000;
}

.ra-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 6px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 6px
    );
  opacity: 0.36;
  mix-blend-mode: soft-light;
}

.ra-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(460px, 1.22fr);
  align-items: center;
  gap: clamp(13px, 2vw, 28px) clamp(34px, 5vw, 78px);
  min-width: 0;
}

.ra-hero-heading {
  grid-column: 1 / -1;
  text-align: center;
}

.ra-hero-copy {
  max-width: 520px;
  min-width: 0;
  text-align: left;
  align-self: center;
}

.ra-hero-eyebrow {
  margin: 0 0 16px;
  color: #f2df54;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.88);
}

.ra-hero-title {
  margin: 0;
  font-family: 'Ethnocentric', 'Arial Black', 'Lato', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(50px, 7.4vw, 106px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.72),
    0 0 28px rgba(0, 0, 0, 0.78);
}

.ra-hero-title-robo {
  color: #d83a40;
}

.ra-hero-title-comp {
  color: #f2d646;
}

.ra-hero-sub {
  margin: 0;
  color: #f8d96a;
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.7),
    0 0 22px rgba(0, 0, 0, 0.78);
}

.ra-hero-offer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 28px 0 18px;
}

.ra-hero-offer-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 2px solid rgba(248, 217, 106, 0.88);
  border-radius: 999px;
  color: #f8d96a;
  background: rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(0, 0, 0, 0.26);
}

.ra-hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: #ffffff;
  font-size: clamp(24px, 3.3vw, 36px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.ra-hero-price .ra-price-was {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72em;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ra-hero-price .ra-price-now {
  color: #ffffff;
}

.ra-btn-robocomp {
  min-width: 214px;
  margin-top: 0;
  color: #060606;
  background: #f2df54;
  border-color: rgba(242, 223, 84, 0.88);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(242, 223, 84, 0.22);
}

.ra-btn-robocomp:hover,
.ra-btn-robocomp:focus-visible {
  color: #000000;
  background: #ffef68;
  border-color: #fff3a3;
}

.ra-hero-sale-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.88);
}

.ra-hero-product-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.ra-hero-product-link:focus-visible {
  outline: 3px solid rgba(242, 223, 84, 0.95);
  outline-offset: 8px;
}

.ra-hero-product {
  display: block;
  width: min(112%, 780px);
  height: auto;
  margin: clamp(4px, 1.4vw, 18px) 0 0 auto;
  filter:
    drop-shadow(0 30px 42px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 26px rgba(242, 223, 84, 0.16));
  transform: rotate(-1deg);
}

/* =========================
   MANTUBE MAY SALE STRIP
   ========================= */
.ra-mantube-may-strip {
  position: relative;
  z-index: 2;
  padding: 18px 16px;

  /* Full-bleed ad strip between hero and ManTube */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  overflow: hidden;
  background:
    radial-gradient(circle at 18% 50%, rgba(143, 69, 255, 0.88) 0%, rgba(93, 32, 190, 0.44) 28%, rgba(0, 0, 0, 0) 58%),
    radial-gradient(circle at 82% 45%, rgba(245, 130, 53, 0.78) 0%, rgba(191, 55, 35, 0.34) 30%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(90deg, #050009 0%, #21083b 26%, #4d1690 50%, #21083b 74%, #050009 100%);
  border-top: 1px solid rgba(238, 198, 255, 0.24);
  border-bottom: 1px solid rgba(245, 183, 110, 0.38);
  box-shadow:
    0 -12px 34px rgba(84, 34, 180, 0.30),
    0 18px 42px rgba(0, 0, 0, 0.74),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

.ra-mantube-may-strip::before,
.ra-mantube-may-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ra-mantube-may-strip::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0,
      rgba(255, 255, 255, 0.045) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 7px
    );
  opacity: 0.32;
  mix-blend-mode: screen;
}

.ra-mantube-may-strip::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0.72) 100%);
}

.ra-mantube-may-link {
  position: relative;
  isolation: isolate;
  display: block;
  max-width: 1220px;
  min-height: 156px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 40%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, rgba(90, 31, 190, 0.96) 0%, rgba(14, 3, 27, 0.98) 42%, rgba(86, 13, 156, 0.96) 69%, rgba(245, 130, 53, 0.94) 100%);
  border: 1px solid rgba(255, 226, 177, 0.48);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.72),
    0 0 24px rgba(114, 47, 255, 0.46),
    0 0 34px rgba(245, 130, 53, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    border-color 0.18s ease;
}

.ra-mantube-may-link:hover:not(.ra-sale-strip--owned),
.ra-mantube-may-link:focus-visible:not(.ra-sale-strip--owned) {
  transform: translateY(-2px);
  filter: brightness(1.07) saturate(1.08);
  border-color: rgba(255, 235, 191, 0.82);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.78),
    0 0 32px rgba(132, 63, 255, 0.66),
    0 0 48px rgba(245, 130, 53, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ra-mantube-may-link:focus-visible {
  outline: 3px solid rgba(255, 235, 191, 0.95);
  outline-offset: 4px;
}

.ra-mantube-may-content {
  position: relative;
  z-index: 3;
  min-height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.2vw, 40px);
  padding: 44px clamp(22px, 5vw, 48px);
  text-align: center;
  text-transform: uppercase;
}

.ra-mantube-may-title {
  font-family: 'Fontdiner Swanky', 'Lato', system-ui, sans-serif;
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.72),
    0 0 9px rgba(118, 54, 255, 0.86),
    0 0 22px rgba(118, 54, 255, 0.72),
    0 0 34px rgba(0, 0, 0, 0.86);
}

.ra-mantube-may-offer {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.75),
    0 0 14px rgba(0, 0, 0, 0.88);
}

.ra-mantube-may-copy {
  font-size: clamp(14px, 1.9vw, 21px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ra-mantube-may-price {
  display: inline-block;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.65),
    0 0 12px rgba(255, 255, 255, 0.62),
    0 0 28px rgba(245, 130, 53, 0.72);
}

.ra-mantube-may-was {
  position: relative;
  display: inline-block;
  padding: 4px 9px 5px;
  border-radius: 999px;
  font-size: clamp(18px, 2.6vw, 30px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-variant-numeric: tabular-nums;
}

.ra-mantube-may-was::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 51%;
  height: 3px;
  border-radius: 999px;
  background: #f58235;
  box-shadow: 0 0 9px rgba(245, 130, 53, 0.82);
  transform: rotate(-8deg);
}

.ra-mantube-may-marquee {
  position: absolute;
  z-index: 2;
  display: flex;
  width: max-content;
  white-space: nowrap;
  pointer-events: none;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.88);
  animation: raMantubeMayMarquee 24s linear infinite;
}

.ra-mantube-may-marquee span {
  display: inline-block;
  padding-right: 18px;
}

.ra-mantube-may-marquee--top {
  top: 16px;
  left: 0;
}

.ra-mantube-may-marquee--bottom {
  right: 0;
  bottom: 16px;
  animation-direction: reverse;
  opacity: 0.78;
}

.ra-mantube-may-link:hover .ra-mantube-may-marquee,
.ra-mantube-may-link:focus-visible .ra-mantube-may-marquee {
  animation-play-state: paused;
}

.ra-mantube-may-link.ra-sale-strip--owned {
  cursor: default;
  opacity: 0.74;
  filter: saturate(0.82);
}

@keyframes raMantubeMayMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* =========================
   PRODUCT BANDS – SHARED
   ========================= */

.ra-band {
  position: relative;
  padding: 72px 16px 80px;

  /* Full-bleed band like hero */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #000000;

  /* Kill any stray borders / spacing between bands */
  margin-top: 0;
  margin-bottom: 0;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.ra-band + .ra-band {
  margin-top: 0;
}

.ra-band-inner {
  max-width: 1220px;
  margin: 0 auto;
}

/* Shared product layout */
.ra-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* =========================
   LOGOS & SUBTEXT
   ========================= */

/* Logo */
.ra-product-logo {
  display: block;
  width: min(460px, 80%);
  max-width: 100%;
  height: auto;
  margin: 0 auto 6px;
  filter:
    drop-shadow(0 0 4px rgba(0, 0, 0, 0.96))
    drop-shadow(0 0 14px rgba(0, 0, 0, 0.92))
    drop-shadow(0 0 26px rgba(0, 0, 0, 0.88));
}

/* Subtext wrapper – just handles width now */
.ra-product-subwrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

/* Tagline – bigger, bolder, plain white with strong feathered halo */
.ra-product-tagline {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  opacity: 0.99;
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.98),
    0 0 12px rgba(0, 0, 0, 0.97),
    0 0 28px rgba(0, 0, 0, 0.95),
    0 0 52px rgba(0, 0, 0, 0.9);
}

/* =========================
   MEDIA BLOCK
   ========================= */

.ra-product-media-link {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 12px auto 18px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.85),
    0 0 26px rgba(0, 0, 0, 0.9);
}

/* Video */
.ra-product-video {
  display: block;
  width: calc(100% + 2px) !important;
  height: auto;
  background: #000000 !important;
  transform: translateX(-2px);
  filter:
    saturate(1.08)
    contrast(1.04);
}

/* Static image (if needed later) */
.ra-product-image {
  display: block;
  width: 100%;
  height: auto;
  background: #000000 !important;
  filter:
    saturate(1.06)
    contrast(1.03);
}

/* =========================
   CTA BUTTONS – SHARED
   ========================= */

.ra-product-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Button */
.ra-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 9999px;
  border: 0;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;

  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.40),
    0 20px 36px rgba(0, 0, 0, 0.70);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    text-shadow 0.18s ease;

  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 6px;
}

/* Slightly tighter/nicer digits */
.ra-product-btn .ra-price-now {
  font-variant-numeric: tabular-nums;
}

.ra-product-btn .ra-price-was {
  position: relative;
  display: inline-block;
  margin-left: 2px;
  padding: 1px 2px;
  font-size: 0.86em;
  line-height: 1;
  color: rgba(17, 17, 17, 0.70);
  font-variant-numeric: tabular-nums;
}

.ra-product-btn .ra-price-was::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-8deg);
}

.ra-product-btn--primary:hover:not(.ra-product-btn--owned) .ra-price-was,
.ra-product-btn--primary:focus-visible:not(.ra-product-btn--owned) .ra-price-was {
  color: rgba(255, 255, 255, 0.72);
}

/* Primary (buy) button */
.ra-product-btn--primary {
  color: #111111;
}

/* Secondary (learn more) button – darker, more solid */
.ra-product-btn--secondary {
  background: rgba(0, 0, 0, 0.55);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.40),
    0 16px 28px rgba(0, 0, 0, 0.70);
}

/* Owned state */
.ra-product-btn--owned {
  background: #444444 !important;
  color: #cccccc !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  box-shadow: none;
  text-shadow: none;
}

/* Hover / focus state – more contrast + glow (skip owned) */
.ra-product-btn:hover:not(.ra-product-btn--owned),
.ra-product-btn:focus-visible:not(.ra-product-btn--owned) {
  transform: translateY(-2px);
  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.45),
    0 28px 48px rgba(0, 0, 0, 0.85);
  filter: brightness(1.05);
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.85),
    0 0 14px rgba(255, 255, 255, 0.7);
}

/* Primary button hover – force text to pure white (skip owned) */
.ra-product-btn--primary:hover:not(.ra-product-btn--owned),
.ra-product-btn--primary:focus-visible:not(.ra-product-btn--owned) {
  color: #ffffff;
}

/* Active press (skip owned) */
.ra-product-btn:active:not(.ra-product-btn--owned) {
  transform: translateY(0);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.45),
    0 14px 28px rgba(0, 0, 0, 0.75);
  filter: brightness(1);
}

/* =========================
   BUTTON COLORS PER PRODUCT
   ========================= */

/* RoboComp - primary */
.ra-product-btn--primary.ra-btn-robocomp {
  color: #060606;
  background: #f2df54;
  border-color: rgba(242, 223, 84, 0.88);
}

.ra-product-btn--primary.ra-btn-robocomp:hover:not(.ra-product-btn--owned),
.ra-product-btn--primary.ra-btn-robocomp:focus-visible:not(.ra-product-btn--owned) {
  color: #000000;
  background: #ffef68;
  border-color: #fff3a3;
}

/* ManTube – primary */
.ra-product-btn--primary.ra-btn-mantube {
  background: linear-gradient(145deg, #f58235, #e5b45a);
}

/* ManTube – secondary */
.ra-product-btn--secondary.ra-btn-mantube {
  border: 1px solid #f5b76e;
  color: #fbd9a5;
}

/* EchoSnack – primary (green -> purple) */
.ra-product-btn--primary.ra-btn-echosnack {
  background: linear-gradient(145deg, #5df29b, #8a4dff);
}

/* EchoSnack – secondary */
.ra-product-btn--secondary.ra-btn-echosnack {
  border: 1px solid #9be9ff;
  color: #e7f4ff;
}

/* OctoWah – primary (earthy) */
.ra-product-btn--primary.ra-btn-octowah {
  background: linear-gradient(
    145deg,
    rgb(160, 120, 115),
    rgb(170, 150, 70)
  );
}

/* OctoWah – secondary */
.ra-product-btn--secondary.ra-btn-octowah {
  border: 1px solid rgb(190, 165, 100);
  color: #f7edcc;
}

/* =========================
   BAND BACKGROUNDS
   ========================= */

/* ManTube – storm city pixel art */
.ra-band-mantube {
  background-image:
    linear-gradient(
      180deg,
      #000000 0%,
      rgba(0, 0, 0, 0.18) 18%,
      rgba(0, 0, 0, 0.18) 82%,
      #000000 100%
    ),
    url('/wp-content/uploads/homepage-artwork/Storm_Pixel-q92.webp');
  padding-top: 56px; /* slightly tighter above ManTube */
}

/* EchoSnack – lab pixel art */
.ra-band-echosnack {
  background-image:
    linear-gradient(
      180deg,
      #000000 0%,
      rgba(0, 0, 0, 0.2) 20%,
      rgba(0, 0, 0, 0.2) 80%,
      #000000 100%
    ),
    url('/wp-content/uploads/homepage-artwork/Lab_Pixel-q92.webp');
}

/* OctoWah – forest pixel art (lightened bottom fade) */
.ra-band-octowah {
  background-image:
    linear-gradient(
      180deg,
      #000000 0%,
      rgba(0, 0, 0, 0.22) 20%,
      rgba(0, 0, 0, 0.32) 78%,
      rgba(0, 0, 0, 0.80) 100%
    ),
    url('/wp-content/uploads/homepage-artwork/Forest_Pixel-q92.webp');
  box-shadow:
    inset 0 -1px 0 #000000,
    inset 0  1px 0 #000000;
}

/* =========================
   FORMATS BAND
   ========================= */

.ra-formats-band {
  position: relative;
  padding: 56px 16px 80px; /* was 120px; reduced by ~1/3 */

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  background: #000000;
}

.ra-formats-inner {
  max-width: 1220px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ra-formats-title {
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  font-size: clamp(18px, 2.8vw, 26px);
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(0, 0, 0, 0.85);
}

/* One encapsulating card */
.ra-formats-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding: 18px 20px;
  border-radius: 20px;

  background: rgba(26, 28, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.70),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* Individual tiles keep thin outline */
.ra-format-wrap {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);

  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.55),
    0 0 10px rgba(255, 255, 255, 0.08);
}

.ra-format-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* AAX: trim the thin white edge */
.ra-format-wrap--aax .ra-format-logo--aax {
  transform: scale(1.16);
  transform-origin: center;
}

/* AU: crop to feature the icon portion */
.ra-format-wrap--au .ra-format-logo--au {
  object-fit: cover;
  object-position: 50% 28%;
  transform: scale(1.06);
  transform-origin: center;
}

/* VST3: ensure visibility */
.ra-format-wrap--vst3 .ra-format-logo--vst3 {
  filter:
    invert(1)
    brightness(1.14)
    contrast(1.10)
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.16));
}

/* =========================
   COMMENT BOARD BAND
   ========================= */

.ra-comment-band {
  position: relative;
  padding: 6px 16px 100px;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  background:
    radial-gradient(
      circle at top center,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.006) 24%,
      rgba(0, 0, 0, 0) 60%
    ),
    #050505;
}

.ra-comment-inner {
  max-width: 1220px;
  margin: 0 auto;
}

/* Outer silver frame only */
.ra-comment-stage {
  position: relative;
  width: min(100%, 930px);
  margin: 0 auto;
  padding: 6px;
  border-radius: 18px;
  box-sizing: border-box;

  background:
    linear-gradient(
      145deg,
      rgba(248, 249, 251, 0.98) 0%,
      rgba(197, 201, 208, 0.99) 10%,
      rgba(112, 118, 127, 0.99) 22%,
      rgba(232, 235, 239, 0.98) 38%,
      rgba(123, 129, 138, 0.99) 58%,
      rgba(244, 246, 248, 0.98) 78%,
      rgba(150, 156, 165, 0.99) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.34);

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.82),
    0 4px 0 rgba(0, 0, 0, 0.34),
    inset 0 1px 1px rgba(255, 255, 255, 0.62),
    inset 0 -1px 1px rgba(0, 0, 0, 0.24);
}

/* Metallic top sheen */
.ra-comment-stage::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.10) 18%,
      rgba(255, 255, 255, 0.03) 42%,
      rgba(0, 0, 0, 0.08) 100%
    );

  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Dark charcoal board surface */
.ra-comment-stage-inner {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  line-height: 0;

  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(110, 114, 120, 0.18) 0%,
      rgba(74, 78, 84, 0.12) 26%,
      rgba(38, 40, 44, 0.04) 56%,
      rgba(0, 0, 0, 0) 76%
    ),
    linear-gradient(
      180deg,
      #51545a 0%,
      #3e4147 14%,
      #2f3237 38%,
      #26292d 68%,
      #1f2226 100%
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -2px 8px rgba(0, 0, 0, 0.34);
}

/* Thin separation rim between silver frame and board surface */
.ra-comment-stage-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(18, 19, 22, 0.65),
    inset 0 0 0 2px rgba(255, 255, 255, 0.03);
}

/* Flush on all 4 sides, with tiny crop only */
.ra-comment-board-image {
  display: block;
  position: relative;
  z-index: 1;
  width: calc(100% + 4px);
  max-width: none;
  height: auto;
  margin: -2px;
  background: transparent;
  filter:
    drop-shadow(0 10px 16px rgba(0, 0, 0, 0.12))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

/* =========================
   ABOUT BAND
   ========================= */

.ra-about-band {
  position: relative;
  padding: 72px 16px 40px; /* was 80px; reduced by ~1/2 */

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  background: #000000;
}

.ra-about-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.ra-about-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;

  background: #171721;
  border: 1px solid rgba(77, 208, 225, 0.45);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.85),
    0 0 16px rgba(77, 208, 225, 0.35);
}

/* Image side */
.ra-about-image {
  flex: 1 1 360px;
  min-width: 0;
  background: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ra-about-img-el {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Text side */
.ra-about-content {
  flex: 1 1 420px;
  min-width: 0;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ra-about-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  color: #4dd0e1;
}

.ra-about-body {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #d8ddff;
}

.ra-about-body:last-child {
  margin-bottom: 0;
}

.ra-about-body strong {
  font-weight: 900;
  color: #ffffff;
}

/* =========================
   CONTENT BELOW BANDS
   ========================= */

.ra-home-main {
  padding: 40px 16px 60px;
}

.ra-home-main .entry-content {
  max-width: 1220px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .ra-mantube-may-content {
    flex-direction: column;
    gap: 16px;
    min-height: 184px;
    padding: 48px 22px;
  }

  .ra-mantube-may-title {
    font-size: clamp(42px, 10vw, 70px);
  }

  .ra-mantube-may-offer {
    gap: 8px;
  }

}

@media (max-width: 600px) {
  .ra-mantube-may-strip {
    padding: 14px 12px;
  }

  .ra-mantube-may-link {
    min-height: 210px;
    border-radius: 20px;
  }

  .ra-mantube-may-content {
    min-height: 210px;
    padding: 52px 16px;
  }

  .ra-mantube-may-copy {
    width: 100%;
    font-size: 13px;
  }

  .ra-mantube-may-price {
    font-size: clamp(52px, 16vw, 76px);
  }

  .ra-mantube-may-was {
    font-size: 22px;
  }


  .ra-mantube-may-marquee {
    font-size: 11px;
    letter-spacing: 0.19em;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ra-mantube-may-marquee {
    animation: none;
  }

  .ra-mantube-may-link {
    transition: none;
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .ra-hero {
    padding: 64px 16px 58px;
    min-height: auto;
    text-align: center;
  }

  .ra-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }

  .ra-hero-heading {
    width: 100%;
  }

  .ra-hero-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .ra-hero-offer {
    justify-content: center;
  }

  .ra-hero-product {
    width: min(100%, 620px);
    margin: 0 auto;
    transform: none;
  }

  .ra-band {
    padding: 60px 16px 64px;
  }

  .ra-product-media-link {
    margin-top: 10px;
  }

  .ra-product-actions {
    gap: 10px;
  }

  .ra-product-btn {
    width: 100%;
    max-width: 320px;
  }

  .ra-formats-band {
    padding: 52px 16px 72px; /* was 112px; reduced ~1/3 */
  }

  .ra-comment-band {
    padding: 0 16px 84px;
  }

  .ra-comment-stage {
    width: min(100%, 930px);
    padding: 5px;
    border-radius: 17px;
  }

  .ra-comment-stage::before {
    inset: 2px;
    border-radius: 13px;
  }

  .ra-comment-stage-inner {
    border-radius: 11px;
  }

  .ra-comment-board-image {
    width: calc(100% + 4px);
    margin: -2px;
    max-width: none;
  }

  .ra-about-band {
    padding: 72px 16px 36px; /* was 80px; reduced ~1/2 */
  }

  .ra-about-card {
    flex-direction: column;
  }

  .ra-about-img-el {
    max-height: 260px;
  }

  .ra-about-content {
    padding: 28px 22px 30px;
  }
}

@media (max-width: 600px) {
  .ra-hero {
    padding: 52px 14px 46px;
    background-position: 58% center;
  }

  .ra-hero-inner {
    display: block;
    width: 100%;
    max-width: calc(100vw - 28px);
    transform: none;
  }

  .ra-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .ra-hero-title {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 0.94;
  }

  .ra-hero-sub {
    margin-top: 12px;
    font-size: clamp(16px, 4.5vw, 18px);
    letter-spacing: 0.04em;
  }

  .ra-hero-offer {
    flex-direction: column;
    margin: 22px 0 16px;
    gap: 12px;
  }

  .ra-hero-price {
    font-size: clamp(24px, 7.4vw, 30px);
  }

  .ra-btn-robocomp {
    width: min(100%, 300px);
  }

  .ra-hero-sale-note {
    font-size: 13px;
  }

  .ra-hero-product {
    width: min(100%, 440px);
  }

  .ra-band {
    padding: 52px 14px 56px;
  }

  .ra-product-logo {
    width: min(80%, 360px);
  }

  .ra-formats-band {
    padding: 48px 14px 68px; /* was 104px; reduced ~1/3 */
  }

  .ra-formats-card {
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .ra-format-wrap {
    width: 68px;
    height: 68px;
    border-radius: 13px;
  }

  .ra-comment-band {
    padding: 0 14px 72px;
  }

  .ra-comment-stage {
    width: 100%;
    padding: 4px;
    border-radius: 15px;
  }

  .ra-comment-stage::before {
    inset: 1px;
    border-radius: 11px;
  }

  .ra-comment-stage-inner {
    border-radius: 9px;
  }

  .ra-comment-board-image {
    width: calc(100% + 4px);
    margin: -2px;
    max-width: none;
  }

  .ra-about-band {
    padding: 64px 14px 32px; /* was 80px; reduced ~1/2 */
  }

  .ra-about-title {
    font-size: clamp(24px, 6vw, 30px);
  }

  .ra-about-body {
    font-size: 14px;
  }

  /* Optional: mobile-only boost for legibility */
  .ra-product-btn {
    font-size: 16px;
    padding: 16px 32px;
  }
}
