/* ==========================================================================
   BlockRadio.app — Official One-Page Hub
   Theme matching blockradio.fr (Clean UI, Deep Brand Blue-Violet, Glassmorphism)
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces & Backgrounds */
  --bg: #130c3a;
  --bg-2: #110a34;
  --surface: #1a1147;
  --surface-2: #231858;
  --surface-3: #2e2169;
  --overlay: rgba(10, 6, 34, 0.78);
  --glass: rgba(26, 17, 71, 0.88);
  --glass-strong: rgba(26, 17, 71, 0.97);
  --glass-card: rgba(26, 17, 71, 0.75);

  /* Lines & Borders */
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.24);

  /* Typography Colors */
  --text: #ffffff;
  --text-2: #dcd8f5;
  --muted: #b3acdb;
  --dim: #8c84bd;

  /* Brand Accents */
  --violet: #7346f5;
  --violet-2: #c4b5ff;
  --violet-deep: #3d2bf2;
  --cyan: #c4b5ff;
  --pink: #b43cf0;
  --live: #ef4444;
  --live-glow: rgba(239, 68, 68, 0.4);
  --success: #22c55e;
  --warning: #f59e0b;
  --mc-green: #38b000;
  --mc-green-glow: rgba(56, 176, 0, 0.35);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #3d2bf2 0%, #7a22f0 100%);
  --grad-cool: linear-gradient(120deg, #2f25f0 0%, #4a22f2 35%, #6a1ff0 70%, #8c1cf0 100%);
  --grad-accent: linear-gradient(135deg, #7346f5 0%, #b43cf0 100%);
  --grad-card-glow: radial-gradient(circle at 50% 0%, rgba(115, 70, 245, 0.25) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --fs-2xl: clamp(1.8rem, 1.3rem + 2vw, 2.5rem);
  --fs-3xl: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem);
  --fs-hero: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 70px;
  --player-h: 74px;

  /* Shapes */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px rgba(115, 70, 245, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --dur-1: 150ms;
  --dur-2: 240ms;
  --dur-3: 400ms;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
  background: #2f25f0;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  min-height: 100dvh;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Official BlockRadio Brand Background with diagonal stripes */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background: linear-gradient(120deg, #2f25f0 0%, #4a22f2 35%, #6a1ff0 70%, #8c1cf0 100%);
}

body::after {
  inset: -20%;
  background:
    repeating-linear-gradient(-35deg, transparent 0 90px, rgba(255, 255, 255, 0.045) 90px 150px, transparent 150px 260px),
    repeating-linear-gradient(-35deg, transparent 0 210px, rgba(255, 255, 255, 0.035) 210px 240px, transparent 240px 420px);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: rgba(115, 70, 245, 0.6);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 10px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(19, 12, 58, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
  transition: background var(--dur-2), border-color var(--dur-2);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: var(--fs-md);
  font-family: var(--font-display);
  color: #fff;
  transition: transform var(--dur-1);
}

.header-brand:hover {
  transform: translateY(-1px);
}

.header-brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
}

.header-brand__text {
  display: flex;
  flex-direction: column;
}

.header-brand__name {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.header-brand__suffix {
  color: var(--violet-2);
  font-size: 0.85em;
}

.header-brand__tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color var(--dur-1), background var(--dur-1);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: #fff;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Badges, Chips & Buttons
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  white-space: nowrap;
}

.badge--live {
  background: var(--live);
  color: #fff;
  box-shadow: 0 0 12px var(--live-glow);
}

.badge--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-live 1.5s infinite;
}

.badge--coming {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  animation: glow-pulse 3s infinite;
}

.badge--violet {
  background: rgba(115, 70, 245, 0.25);
  color: var(--violet-2);
  border: 1px solid rgba(196, 181, 255, 0.2);
}

.badge--cyan {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge--mc {
  background: rgba(56, 176, 0, 0.2);
  color: #55d614;
  border: 1px solid rgba(56, 176, 0, 0.3);
}

/* Button styles */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: all var(--dur-2) var(--ease-out);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  background: var(--surface-3);
  border-color: var(--line-3);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: #ffffff;
  color: #2414a3;
  border: 1px solid transparent;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
  background: #ede9fe;
  color: #1c0f82;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn--brand {
  background: var(--grad-accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

.btn--brand:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 40px rgba(180, 60, 240, 0.5);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--line-3);
}

.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: var(--fs-base);
  border-radius: var(--radius);
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: var(--fs-xs);
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-block: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 40px);
  position: relative;
}

.hero-intro {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.hero-intro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-intro__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-intro__title span.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #c4b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro__lead {
  font-size: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 660px;
  margin-inline: auto;
}

/* ==========================================================================
   FIRST SPOTLIGHT: Mobile Apps (Play Store & App Store) — COMING SOON
   ========================================================================== */
.apps-spotlight {
  position: relative;
  background: rgba(26, 17, 71, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px -15px rgba(10, 6, 34, 0.8), 0 0 50px rgba(115, 70, 245, 0.2);
  overflow: hidden;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.apps-spotlight::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(115, 70, 245, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.apps-spotlight__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.apps-spotlight__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.apps-spotlight__title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}

.apps-spotlight__desc {
  color: var(--text-2);
  font-size: var(--fs-md);
  line-height: 1.6;
  margin-bottom: 24px;
}

.apps-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.apps-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.apps-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--violet-2);
  flex-shrink: 0;
}

/* Store Buttons Row */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.store-card {
  flex: 1 1 230px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(17, 10, 52, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-2), border-color var(--dur-2), background var(--dur-2);
}

.store-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 181, 255, 0.4);
  background: rgba(26, 17, 71, 0.95);
}

.store-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  padding: 6px;
}

.store-card__img-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-card__icon svg {
  width: 26px;
  height: 26px;
}

.store-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.store-card__sub {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.store-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.store-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #f59e0b;
  font-weight: 700;
  margin-top: 4px;
}

.store-card__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  animation: pulse-live 1.8s infinite;
}

/* Pre-register Form */
.pre-register-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.pre-register-box__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pre-register-box__form {
  display: flex;
  gap: 10px;
}

.pre-register-box__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: var(--fs-sm);
  color: #fff;
  outline: none;
  transition: border-color var(--dur-2), background var(--dur-2);
}

.pre-register-box__input::placeholder {
  color: var(--dim);
}

.pre-register-box__input:focus {
  border-color: var(--violet-2);
  background: rgba(255, 255, 255, 0.12);
}

.pre-register-box__feedback {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #4ade80;
  display: none;
}

/* Visual Mockup Device (Phone UI) */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 100%;
  max-width: 330px;
  background: #0d0928;
  border-radius: 40px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(115, 70, 245, 0.3);
  position: relative;
}

.phone-mockup__notch {
  width: 120px;
  height: 20px;
  background: #070517;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-mockup__camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b163d;
}

.phone-screen {
  background: linear-gradient(180deg, #181144 0%, #110931 100%);
  border-radius: 28px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-screen__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-screen__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}

.phone-screen__brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.phone-screen__album {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  background: var(--surface-2);
}

.phone-screen__album img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen__live-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(239, 68, 68, 0.9);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.phone-screen__track-info {
  text-align: center;
}

.phone-screen__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-screen__artist {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.phone-screen__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}

.phone-screen__play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: #2414a3;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  transition: transform var(--dur-2) var(--ease-spring), background var(--dur-2), box-shadow var(--dur-2);
  cursor: pointer;
  text-decoration: none;
}

.phone-screen__play-btn:hover {
  transform: scale(1.1);
  background: #ede9fe;
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.4);
}

.phone-screen__play-btn:active {
  transform: scale(0.96);
}

.phone-screen__play-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  margin-left: 2px;
}

/* Sound Wave bars in phone */
.phone-screen__waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 22px;
}

.phone-screen__wave {
  width: 3px;
  border-radius: 3px;
  background: var(--violet-2);
  animation: sound-bar 1.2s ease-in-out infinite alternate;
}

.phone-screen__wave:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.phone-screen__wave:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.phone-screen__wave:nth-child(3) { height: 22px; animation-delay: 0.2s; }
.phone-screen__wave:nth-child(4) { height: 12px; animation-delay: 0.4s; }
.phone-screen__wave:nth-child(5) { height: 18px; animation-delay: 0.15s; }
.phone-screen__wave:nth-child(6) { height: 10px; animation-delay: 0.35s; }

/* ==========================================================================
   Section: Ecosystem & Websites (blockradio.fr, blockrad.io, etc.)
   ========================================================================== */
.section {
  padding-block: clamp(40px, 6vw, 72px);
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.section-head__kicker {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-2);
}

.section-head__title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-head__sub {
  color: var(--text-2);
  font-size: var(--fs-md);
  max-width: 620px;
}

/* Grid of Hub Cards */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px;
}

.hub-card {
  position: relative;
  background: rgba(26, 17, 71, 0.85);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform var(--dur-2), border-color var(--dur-2), box-shadow var(--dur-2);
}

.hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 181, 255, 0.35);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(115, 70, 245, 0.2);
}

.hub-card--featured {
  border-color: rgba(115, 70, 245, 0.4);
  background: linear-gradient(180deg, rgba(35, 24, 88, 0.9) 0%, rgba(26, 17, 71, 0.85) 100%);
}

.hub-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.hub-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hub-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--violet-2);
}

.hub-card__icon--mc {
  background: rgba(56, 176, 0, 0.15);
  border-color: rgba(56, 176, 0, 0.3);
}

.hub-card__icon--mc svg {
  color: #4ade80;
}

.hub-card__icon--req {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
}

.hub-card__icon--req svg {
  color: #f472b6;
}

.hub-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-card__domain {
  font-size: 0.85rem;
  color: var(--violet-2);
  font-weight: 600;
  font-family: var(--font-mono);
}

.hub-card__desc {
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.hub-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.hub-card__pill {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   Section: Minecraft Mod Download (Interactive Loader & Version Selector)
   ========================================================================== */
.mc-section {
  position: relative;
  background: rgba(19, 12, 58, 0.92);
  border: 1px solid rgba(56, 176, 0, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.7), 0 0 45px rgba(56, 176, 0, 0.18);
  margin-top: 32px;
}

.mc-downloader-card {
  background: rgba(26, 17, 71, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mc-picker-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-picker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.mc-picker-label__step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 176, 0, 0.25);
  color: #55d614;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.mc-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-2) var(--ease-out);
  user-select: none;
}

.mc-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.mc-chip.is-active {
  background: rgba(56, 176, 0, 0.2);
  border-color: #55d614;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 176, 0, 0.3);
}

.mc-chip__tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  text-transform: uppercase;
}

.mc-chip.is-active .mc-chip__tag {
  background: #55d614;
  color: #070517;
  font-weight: 800;
}

.mc-chip:disabled,
.mc-chip.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  transform: none !important;
  color: var(--muted);
}

.mc-universal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(85, 214, 20, 0.12) 0%, rgba(138, 43, 226, 0.15) 100%);
  border: 1px solid rgba(85, 214, 20, 0.35);
  border-radius: var(--radius-pill);
  color: #86efac;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 4px;
  width: fit-content;
}

.mc-universal-badge svg {
  width: 13px;
  height: 13px;
  fill: #55d614;
  flex-shrink: 0;
}

.mc-universal-badge.is-separate {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-2);
}

.mc-universal-badge.is-separate svg {
  fill: var(--text-2);
}

/* Download Action Box */
.mc-action-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(14, 8, 42, 0.85);
  border: 1px solid rgba(56, 176, 0, 0.35);
  border-radius: var(--radius);
  margin-top: 8px;
}

.mc-action-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-action-info__summary {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
}

.mc-action-info__summary span {
  color: #55d614;
}

.mc-action-info__sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.btn--mc-download {
  background: #38b000;
  color: #ffffff;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: var(--fs-base);
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(56, 176, 0, 0.4);
}

.btn--mc-download:hover {
  background: #44cf02;
  box-shadow: 0 6px 28px rgba(56, 176, 0, 0.6);
  transform: translateY(-2px);
}

.mc-install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.mc-install-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 12px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.mc-install-step__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(56, 176, 0, 0.2);
  color: #55d614;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Need More Games Banner (blockrad.io request) */
.mc-more-games {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(14, 8, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--dur-2), transform var(--dur-2);
}

.mc-more-games:hover {
  border-color: rgba(196, 181, 255, 0.35);
  transform: translateY(-2px);
}

.mc-more-games__body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mc-more-games__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(85, 214, 20, 0.12);
  border: 1px solid rgba(85, 214, 20, 0.3);
  display: grid;
  place-items: center;
  color: #55d614;
  flex-shrink: 0;
}

.mc-more-games__icon svg {
  width: 24px;
  height: 24px;
}

.mc-more-games__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #55d614;
  margin-bottom: 4px;
}

.mc-more-games__title {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 4px;
}

.mc-more-games__desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
}

.mc-more-games__desc strong {
  color: #fff;
}

.mc-more-games__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mc-more-games {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 16px;
  }
  .mc-more-games__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mc-more-games__btn {
    width: 100% !important;
    justify-content: center;
  }
}


/* ==========================================================================
   Section: Direct Stream & Directories (TuneIn, Radio.fr, Direct MP3)
   ========================================================================== */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stream-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(26, 17, 71, 0.75);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: all var(--dur-2);
}

.stream-card:hover {
  background: rgba(35, 24, 88, 0.85);
  border-color: var(--line-3);
  transform: translateY(-2px);
}

.stream-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stream-card__icon svg {
  width: 22px;
  height: 22px;
}

.stream-card__info {
  display: flex;
  flex-direction: column;
}

.stream-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.stream-card__meta {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==========================================================================
   Header Live & Listen Group (Same Size & Side)
   ========================================================================== */
.header-live-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform var(--dur-1) var(--ease-out);
}

.header-live-group .badge--live {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--live);
  color: #fff;
  box-shadow: 0 0 14px var(--live-glow);
  white-space: nowrap;
  transition: all var(--dur-1) var(--ease-out);
}

.header-live-group .badge--live::before {
  width: 8px;
  height: 8px;
}

.header-live-group .btn--primary {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #ffffff;
  color: #1c0f82;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: all var(--dur-1) var(--ease-out);
}

.header-live-group:hover {
  transform: translateY(-1px);
}

.header-live-group:hover .badge--live {
  filter: brightness(1.1);
  box-shadow: 0 0 20px var(--live-glow);
}

.header-live-group:hover .btn--primary {
  background: #ede9fe;
  color: #1c0f82;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

@media (max-width: 600px) {
  .header-live-group {
    gap: 6px;
  }
  .header-live-group .badge--live,
  .header-live-group .btn--primary {
    height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 520px) {
  .site-header .container {
    padding-inline: 12px;
    gap: 8px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-live-group {
    gap: 5px;
  }
  .header-live-group .badge--live {
    height: 34px;
    padding: 0 8px;
    font-size: 0.68rem;
    gap: 5px;
  }
  .header-live-group .btn--primary {
    height: 34px;
    width: 34px;
    padding: 0;
    justify-content: center;
  }
  .header-live-group .btn--primary span {
    display: none;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .header-brand__tagline {
    display: none;
  }
  .header-brand__name {
    font-size: 1.02rem;
  }
  .header-brand__logo {
    width: 32px;
    height: 32px;
  }
  .header-live-group .badge--live {
    padding: 0 6px;
    font-size: 0.64rem;
  }
}


/* ==========================================================================
   Footer (Multi-Column Layout matching blockradio.fr)
   ========================================================================== */
.site-footer {
  position: relative;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 32px;
  background: rgba(12, 7, 36, 0.96);
  border-top: 1px solid var(--line-2);
  margin-top: clamp(48px, 8vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col ul a {
  color: var(--muted);
  font-size: var(--fs-sm);
  transition: color var(--dur-2), transform var(--dur-1);
  display: inline-block;
}

.footer-col ul a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-about p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 38ch;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials .social-btn,
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-2);
  transition: all var(--dur-2);
  flex-shrink: 0;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.footer-socials .social-btn:hover,
.social-btn:hover {
  background: rgba(115, 70, 245, 0.25);
  border-color: var(--violet-2);
  color: #fff;
  transform: translateY(-2px) !important;
}

.footer-socials .social-btn svg,
.social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: var(--fs-xs);
  color: var(--dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--dim);
  transition: color var(--dur-2);
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Keyframes & Utilities
   ========================================================================== */
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(245, 158, 11, 0.35); }
  50% { box-shadow: 0 0 22px rgba(245, 158, 11, 0.6); }
}

@keyframes sound-bar {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .apps-spotlight__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-mockup-wrapper {
    order: -1;
  }

  .player-bar .container {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .player-extra {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    scrollbar-gutter: auto;
  }

  .container {
    padding-inline: clamp(12px, 3.5vw, 18px);
  }

  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero & Apps */
  .hero-intro__title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .hero-intro__kicker {
    flex-wrap: wrap;
    justify-content: center;
  }

  .apps-spotlight {
    padding: clamp(20px, 4vw, 32px) clamp(14px, 3vw, 24px);
    border-radius: var(--radius-lg);
  }

  .apps-spotlight__title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }

  .apps-features-list {
    grid-template-columns: 1fr;
  }

  .store-badges {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .store-card {
    flex: 1 1 100%;
    width: 100%;
  }

  .phone-mockup {
    max-width: min(290px, 85vw);
  }

  /* Minecraft Section & Downloader Card - NO OVERFLOW */
  .mc-downloader-card {
    padding: clamp(16px, 4vw, 24px) clamp(12px, 3vw, 18px);
    margin-top: 20px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mc-picker-group {
    gap: 10px;
    width: 100%;
  }

  .mc-chip-grid {
    gap: 6px;
    width: 100%;
  }

  .mc-chip {
    padding: 7px 11px;
    font-size: 0.76rem;
    gap: 6px;
  }

  .mc-chip__tag {
    font-size: 0.6rem;
    padding: 1px 5px;
  }

  .mc-action-box {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 14px;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mc-action-info {
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  .mc-action-info__summary {
    font-size: 0.95rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .mc-universal-badge {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    padding: 6px 10px;
    font-size: 0.74rem;
    box-sizing: border-box;
  }

  .mc-action-info__sub {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .btn--mc-download {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .btn--mc-download span {
    white-space: normal !important;
    text-align: center !important;
  }

  .mc-install-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Streams / Annuaires */
  .streams-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stream-card {
    padding: 12px 16px;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 34, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--dur-3) var(--ease-out), visibility var(--dur-3) var(--ease-out);
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer__links a {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Lenis Smooth Scroll
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ==========================================================================
   Smooth HUD Cursor & Reticle (Desktop / Fine Pointer)
   ========================================================================== */
.br-cursor {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}

.br-cursor.is-visible {
  opacity: 1;
}

.br-cursor.is-hidden {
  opacity: 0;
}

/* Reticle: thin ring with 4 crosshair ticks, centred on pointer */
.br-cursor__reticle {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  will-change: transform;
}

.br-cursor__reticle::before {
  content: "";
  position: absolute;
  left: -15px;
  top: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(196, 181, 255, 0.65);
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2), border-color var(--dur-2);
}

.br-cursor__reticle > i {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5px;
  height: 7px;
  margin-left: -0.75px;
  background: rgba(196, 181, 255, 0.95);
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2);
}

.br-cursor__reticle > i:nth-child(1) { transform: rotate(0deg) translateY(-22px); }
.br-cursor__reticle > i:nth-child(2) { transform: rotate(90deg) translateY(-22px); }
.br-cursor__reticle > i:nth-child(3) { transform: rotate(180deg) translateY(-22px); }
.br-cursor__reticle > i:nth-child(4) { transform: rotate(270deg) translateY(-22px); }
.br-cursor__reticle > i { transform-origin: 50% 0; }

/* Large targets (cards / buttons): reticle widens smoothly */
.br-cursor.is-hover .br-cursor__reticle::before {
  transform: scale(1.6);
  border-color: rgba(196, 181, 255, 0.9);
}

.br-cursor.is-hover .br-cursor__reticle > i:nth-child(1) { transform: rotate(45deg) translateY(-28px); }
.br-cursor.is-hover .br-cursor__reticle > i:nth-child(2) { transform: rotate(135deg) translateY(-28px); }
.br-cursor.is-hover .br-cursor__reticle > i:nth-child(3) { transform: rotate(225deg) translateY(-28px); }
.br-cursor.is-hover .br-cursor__reticle > i:nth-child(4) { transform: rotate(315deg) translateY(-28px); }

/* Locked on a small element */
.br-cursor.is-lock .br-cursor__reticle::before { transform: scale(0.3); opacity: 0; }
.br-cursor.is-lock .br-cursor__reticle > i { opacity: 0; }
.br-cursor.is-down .br-cursor__reticle::before { transform: scale(0.85); }
.br-cursor.is-down.is-hover .br-cursor__reticle::before { transform: scale(1.4); }

.br-cursor__lock {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-2);
}

.br-cursor.is-lock .br-cursor__lock {
  opacity: 1;
}

.br-cursor__lock > i {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  will-change: transform;
}

.br-cursor__lock > i::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 0 solid var(--cyan);
  filter: drop-shadow(0 0 5px rgba(196, 181, 255, 0.8));
  transition: transform var(--dur-2) var(--ease-out);
}

.br-cursor__lock > i:nth-child(1)::before { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
.br-cursor__lock > i:nth-child(2)::before { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; }
.br-cursor__lock > i:nth-child(3)::before { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; }
.br-cursor__lock > i:nth-child(4)::before { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; }

.br-cursor.is-down .br-cursor__lock > i:nth-child(1)::before { transform: translate(2px, 2px); }
.br-cursor.is-down .br-cursor__lock > i:nth-child(2)::before { transform: translate(-2px, 2px); }
.br-cursor.is-down .br-cursor__lock > i:nth-child(3)::before { transform: translate(2px, -2px); }
.br-cursor.is-down .br-cursor__lock > i:nth-child(4)::before { transform: translate(-2px, -2px); }

/* Optional label */
.br-cursor__label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 7px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b062b;
  background: var(--cyan);
  border-radius: 3px;
  opacity: 0;
  transition: opacity var(--dur-2);
  will-change: transform;
}

.br-cursor.has-label .br-cursor__label { opacity: 1; }
.br-cursor.is-lock .br-cursor__label { translate: -100% -100%; }

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .br-cursor { display: none !important; }
}

