:root {
  /* Charte Graphique Officielle LEMICRO.LIVE : Dark Neon Studio Radio */
  --bg-night: #0B0D13;
  --bg-card: #0F172A;
  --bg-box: #131B2E;
  --border-subtle: #1E293B;
  --border-active: #334155;

  --neon-cyan: #00F2FF;
  --neon-cyan-glow: rgba(0, 242, 255, 0.35);
  --neon-magenta: #FF00E5;
  --neon-magenta-glow: rgba(255, 0, 229, 0.35);
  --studio-red: #DC2626;
  --studio-red-light: #EF4444;
  --studio-red-glow: rgba(220, 38, 38, 0.75);

  --sims-green: #00F2FF;
  --sims-green-dark: #00b8c4;
  --sims-blue: #FF00E5;
  --sims-navy: #0B0D13;
  --sims-panel: rgba(15, 23, 42, 0.9);
  --sims-panel-border: rgba(0, 242, 255, 0.42);
  --live-red: #DC2626;
  --gold: #ffc400;
  --text-light: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #64748B;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background: #0a1526;
  color: var(--text-light);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* ========================
   LOADING SCREEN (SIMS STYLE)
   ======================== */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 35%, #163760 0%, #091526 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo-video {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 26px;
  border: 2.5px solid var(--sims-green);
  box-shadow: 0 0 32px rgba(0, 230, 118, 0.55);
  background: #000;
}

.plumbob-loader-mini {
  position: absolute;
  top: -26px;
  right: -18px;
  transform: scale(0.55);
  filter: drop-shadow(0 0 16px rgba(0, 230, 118, 0.9));
}

.brand-video-wrap {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--sims-green);
  background: #000;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.4);
  flex-shrink: 0;
}

.brand-logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.podium-3d-screen {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  background: #050d1a;
  border: 2px solid var(--neon-cyan);
  border-radius: 10px;
  padding: 2px;
  box-shadow: 0 0 18px var(--neon-cyan-glow), 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.podium-3d-screen video {
  width: 110px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #000;
}

.podium-3d-screen-tag {
  font-size: 0.52rem;
  font-weight: 800;
  text-align: center;
  color: var(--neon-cyan);
  letter-spacing: 0.6px;
  padding-top: 1px;
}

.plumbob-diamond {
  width: 44px;
  height: 76px;
  background: linear-gradient(135deg, #00F2FF 0%, #00b8c4 50%, #FF00E5 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: plumbobSpin 2.2s infinite ease-in-out;
}

@keyframes plumbobSpin {
  0%, 100% { transform: translateY(0) scaleX(1); }
  25% { transform: translateY(-8px) scaleX(0.65); }
  50% { transform: translateY(0) scaleX(1); }
  75% { transform: translateY(6px) scaleX(0.65); }
}

.loading-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}

.brand-lemicro {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 14px var(--neon-cyan-glow);
}

.brand-live {
  color: var(--neon-magenta) !important;
  text-shadow: 0 0 14px var(--neon-magenta-glow);
}

.loading-tip {
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.loading-bar-track {
  width: min(320px, 80vw);
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.4);
}

.loading-bar-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* ========================
   3D CANVAS & LABELS
   ======================== */
#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  cursor: grab;
}

#canvas-container:active {
  cursor: grabbing;
}

.labels-container {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.labels-container.pie-open {
  opacity: 0.15;
  pointer-events: none;
}

.labels-container.pie-open .sim-3d-label {
  pointer-events: none;
}

.sim-3d-label {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.sim-3d-label:hover {
  transform: translate(-50%, -108%) scale(1.08);
  z-index: 20;
}

.sim-3d-label.active .label-pill {
  background: var(--bg-box);
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

.label-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 13, 19, 0.9);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 242, 255, 0.45);
  color: #fff;
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.label-emoji {
  font-size: 1.1rem;
}

.label-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.label-role {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.label-page {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.label-pointer {
  width: 10px;
  height: 10px;
  background: var(--neon-cyan);
  transform: rotate(45deg);
  margin-top: -6px;
  box-shadow: 0 2px 8px var(--neon-cyan-glow);
}

/* ==========================================================================
   HEADER & LECTEUR AUDIO STUDIO (CHARTE OFFICIELLE LEMICRO.LIVE)
   ========================================================================== */
header.site-header.top-hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(11, 13, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.header-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* 1. Logo de marque officiel */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-icon.brand-video {
  height: 40px;
  width: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid rgba(0, 242, 255, 0.45);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
  background: #000;
}

.brand-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark {
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--studio-red-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--studio-red-glow);
  animation: pulseLive 1.4s infinite;
}

@keyframes pulseLive {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.45; }
}

/* 2. Lecteur Audio Studio Central (.player-card de lemicro.live) */
.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.42rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease;
  white-space: nowrap;
}

.player-card:hover {
  border-color: var(--border-active);
}

.player-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-box);
  border: 1px solid rgba(0, 242, 255, 0.55);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-play:hover {
  transform: scale(1.08);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 242, 255, 0.5);
  background: rgba(0, 242, 255, 0.12);
}

.btn-play.playing {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 18px var(--neon-magenta-glow);
  background: rgba(255, 0, 229, 0.15);
}

.btn-play svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.player-status-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.badge-on-air {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.24rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--border-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-active);
  transition: all 0.3s ease;
  width: fit-content;
}

.badge-on-air .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dark);
}

.badge-on-air.is-live {
  background: var(--studio-red);
  color: var(--text-white);
  border: 1px solid var(--studio-red-light);
  box-shadow: 0 0 16px var(--studio-red-glow);
}

.badge-on-air.is-live .status-dot {
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  animation: pulseLive 1.2s infinite ease-in-out;
}

.stream-status-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* 3. Boutons Navigation (.nav-btn de lemicro.live) */
.top-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  color: var(--text-white);
  background: var(--bg-box);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.2);
}

.nav-btn.active,
.nav-btn-neon {
  color: var(--neon-cyan);
  background: var(--bg-box);
  border-color: rgba(0, 242, 255, 0.45);
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.15);
}

.nav-btn-neon.muffled {
  color: var(--neon-magenta);
  border-color: rgba(255, 0, 229, 0.5);
  box-shadow: 0 0 12px var(--neon-magenta-glow);
}

/* ========================
   SIMS RADIAL PIE MENU
   ======================== */
.sims-pie-menu {
  position: fixed;
  z-index: 45;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 360px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sims-pie-menu.hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  pointer-events: none;
}

.pie-center-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1e3c68, #0b192e);
  border: 3px solid var(--sims-green);
  box-shadow: 0 0 32px rgba(0, 230, 118, 0.65), inset 0 0 16px rgba(0, 230, 118, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  pointer-events: auto;
  z-index: 3;
  position: relative;
}

.pie-center-name {
  position: absolute;
  top: calc(50% + 52px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 20, 38, 0.96);
  border: 1.5px solid var(--sims-green);
  color: var(--sims-green);
  font-family: var(--font-display);
  font-size: 0.82rem;
  padding: 4px 13px;
  border-radius: 999px;
  z-index: 4;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.pie-actions-list {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pie-option-btn {
  position: absolute;
  pointer-events: auto;
  background: linear-gradient(135deg, rgba(16, 37, 66, 0.96), rgba(10, 22, 41, 0.96));
  border: 2px solid rgba(0, 230, 118, 0.7);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Alignement vers l'extérieur du cercle pour éviter tout chevauchement */
.pie-option-btn.pos-top {
  left: 50%;
  top: calc(50% - 70px);
  transform: translate(-50%, -100%);
}
.pie-option-btn.pos-top:hover {
  transform: translate(-50%, -100%) scale(1.07);
}

.pie-option-btn.pos-right {
  left: calc(50% + 66px);
  top: calc(50% - 6px);
  transform: translate(0%, -50%);
}
.pie-option-btn.pos-right:hover {
  transform: translate(0%, -50%) scale(1.07);
}

.pie-option-btn.pos-left {
  left: calc(50% - 66px);
  top: calc(50% - 6px);
  transform: translate(-100%, -50%);
}
.pie-option-btn.pos-left:hover {
  transform: translate(-100%, -50%) scale(1.07);
}

.pie-option-btn.pos-bottom {
  left: 50%;
  top: calc(50% + 92px);
  transform: translate(-50%, 0%);
}
.pie-option-btn.pos-bottom:hover {
  transform: translate(-50%, 0%) scale(1.07);
}

.pie-option-btn:hover {
  background: linear-gradient(135deg, var(--sims-green), var(--sims-blue));
  color: #061322;
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(0, 230, 118, 0.45);
}

.pie-close-btn {
  position: absolute;
  left: calc(50% + 26px);
  top: calc(50% - 46px);
  pointer-events: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--sims-green);
  background: #0b192e;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.78rem;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
}

.pie-close-btn:hover {
  background: var(--live-red);
  border-color: #fff;
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .sims-pie-menu {
    width: 92vw;
    height: auto;
    flex-direction: column;
    gap: 8px;
    background: rgba(9, 20, 38, 0.94);
    border: 2px solid var(--sims-green);
    border-radius: 24px;
    padding: 18px 14px;
    pointer-events: auto;
  }
  .pie-center-name {
    position: static;
    transform: none;
    margin-bottom: 4px;
  }
  .pie-actions-list {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .pie-option-btn,
  .pie-option-btn.pos-top,
  .pie-option-btn.pos-right,
  .pie-option-btn.pos-left,
  .pie-option-btn.pos-bottom {
    position: static;
    transform: none !important;
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .pie-close-btn {
    left: auto;
    right: 12px;
    top: 12px;
  }
}

/* ========================
   FLOATING LIVE AUDIO PLAYER
   ======================== */
.floating-player {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 32;
  background: rgba(11, 25, 46, 0.92);
  backdrop-filter: blur(16px);
  border: 2px solid var(--sims-green);
  border-radius: 20px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  max-width: min(520px, calc(100vw - 36px));
  transition: all 0.25s ease;
}

.floating-player.hidden {
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
}

.fp-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.fp-wave span {
  width: 4px;
  background: var(--sims-green);
  border-radius: 4px;
  animation: waveBar 0.8s infinite ease-in-out alternate;
}

.fp-wave span:nth-child(1) { height: 10px; animation-delay: 0s; }
.fp-wave span:nth-child(2) { height: 22px; animation-delay: 0.15s; }
.fp-wave span:nth-child(3) { height: 15px; animation-delay: 0.3s; }
.fp-wave span:nth-child(4) { height: 24px; animation-delay: 0.45s; }
.fp-wave span:nth-child(5) { height: 12px; animation-delay: 0.6s; }

@keyframes waveBar {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}

.fp-info {
  flex: 1;
  min-width: 0;
}

.fp-title {
  font-size: 0.82rem;
  color: #fff;
}

.fp-title span {
  color: var(--sims-green);
  font-weight: 700;
}

.fp-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fp-mode-btn {
  background: rgba(0, 176, 255, 0.2);
  border: 1px solid var(--sims-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.fp-mode-btn:hover {
  background: var(--sims-blue);
  color: #041222;
}

.fp-stop-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 59, 92, 0.25);
  color: #fff;
  cursor: pointer;
}

/* ========================
   BOTTOM ACTORS DOCK (CLEAN STUDIO DESIGN)
   ======================== */
.sims-dock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(1240px, calc(100vw - 24px));
  background: rgba(11, 13, 19, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid var(--border-subtle);
  border-top-color: rgba(0, 242, 255, 0.4);
  border-radius: 22px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
}

.active-sim-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 10px 14px;
  flex: 1;
  min-width: 320px;
}

.active-sim-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.active-sim-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-box);
  border: 1.5px solid rgba(0, 242, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 0 14px rgba(0, 242, 255, 0.2);
}

/* Masquer les éléments superflus qui surchargeaient la carte */
.sim-mood-badge,
.sim-needs-grid {
  display: none !important;
}

.active-sim-details {
  flex: 1;
  min-width: 135px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.active-sim-role {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.active-sim-name {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sims-action-cta {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #00b4d8 100%);
  color: #06101e;
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 242, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sims-action-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 242, 255, 0.5);
}

.sims-roster-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.roster-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.roster-nav-btn:hover {
  background: var(--sims-green);
  color: #041524;
  border-color: var(--sims-green);
}

.sims-roster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.roster-sim-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 6px 10px;
  cursor: pointer;
  color: #fff;
  min-width: 80px;
  transition: all 0.2s ease;
}

.roster-sim-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 242, 255, 0.65);
  background: var(--bg-box);
}

.roster-sim-btn.active {
  background: var(--bg-box);
  border-color: var(--neon-cyan);
  box-shadow: 0 4px 16px rgba(0, 242, 255, 0.28);
}

.roster-mini-plumbob {
  width: 9px;
  height: 14px;
  background: var(--sims-green);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  top: -8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roster-sim-btn.active .roster-mini-plumbob {
  opacity: 1;
}

.roster-emoji {
  font-size: 1.4rem;
}

.roster-label {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.roster-sub {
  font-size: 0.62rem;
  color: var(--sims-green);
  font-weight: 600;
}

/* ========================
   MODAL WINDOW (SIMS CONTENT PAGES)
   ======================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 12, 24, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.25s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.sims-modal {
  width: min(960px, 100%);
  max-height: min(86vh, 840px);
  background: linear-gradient(180deg, #102340 0%, #0a172b 100%);
  border: 2px solid var(--sims-green);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 230, 118, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: text;
}

.sims-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-sim-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-sim-emoji {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(0, 230, 118, 0.15);
  border: 2px solid var(--sims-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.modal-sim-role {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--sims-green);
  text-transform: uppercase;
}

.modal-sim-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
}

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

.modal-switch-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.modal-switch-btn:hover {
  border-color: var(--sims-green);
  color: var(--sims-green);
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 59, 92, 0.2);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: var(--live-red);
}

.sim-speech-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: linear-gradient(90deg, rgba(0, 230, 118, 0.16), rgba(0, 176, 255, 0.1));
  border-bottom: 1px solid rgba(0, 230, 118, 0.25);
  font-size: 0.92rem;
  color: #e2f1ff;
  font-style: italic;
}

.speech-plumbob {
  width: 12px;
  height: 20px;
  background: var(--sims-green);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

.sims-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ========================
   INNER MODAL COMPONENTS
   ======================== */
.demo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

.card-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
}

.card-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-panel p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.sound-simulator-box {
  background: radial-gradient(circle at top right, rgba(0, 230, 118, 0.16), rgba(10, 23, 44, 0.9));
  border: 1.5px solid var(--sims-green);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-distance-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dist-tab-btn {
  padding: 12px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.dist-tab-btn.active {
  border-color: var(--sims-green);
  background: rgba(0, 230, 118, 0.2);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
}

.dist-tab-btn small {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 3px;
}

.big-play-demo-btn {
  width: 100%;
  padding: 15px 20px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--sims-green) 0%, #00b0ff 100%);
  color: #031525;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.35);
}

.big-play-demo-btn:hover {
  transform: translateY(-2px);
}

.scenario-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scenario-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.scenario-pill.active,
.scenario-pill:hover {
  background: var(--sims-blue);
  color: #041527;
  border-color: var(--sims-blue);
}

.qr-phone-mockup {
  background: #071120;
  border: 3px solid #2b456b;
  border-radius: 26px;
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-box-svg {
  width: 132px;
  height: 132px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ Styles */
.faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-cat-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-cat-btn.active {
  background: var(--sims-green);
  color: #041524;
  border-color: var(--sims-green);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 15px 18px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--sims-green);
}

.faq-answer {
  padding: 0 18px 16px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
}

.faq-item.open {
  border-color: rgba(0, 230, 118, 0.5);
  background: rgba(0, 230, 118, 0.05);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Signal Chain Steps */
.signal-chain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
}

.chain-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(0, 230, 118, 0.3);
  border-radius: 18px;
  padding: 16px;
  position: relative;
}

.chain-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sims-green);
  color: #051626;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.chain-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
}

.chain-step p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Feature & Pricing Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
}

.feature-card .f-icon {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.sims-input,
.sims-select,
.sims-textarea {
  width: 100%;
  background: rgba(6, 15, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.sims-textarea {
  grid-column: span 2;
  min-height: 90px;
  resize: vertical;
}

/* ==========================================================================
   ESPACE RESPONSABLE PROTOCOLAIRE — CLAIRE & LEMICRO IA
   ========================================================================== */
.protocole-mode-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.protocole-tabs-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.protocole-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.protocole-tab-btn:hover {
  color: #fff;
  border-color: var(--neon-cyan);
}

.protocole-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.2), rgba(255, 0, 229, 0.14));
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 255, 0.25);
}

.claire-ia-box {
  background: #0B0F19;
  border: 1.5px solid rgba(0, 242, 255, 0.35);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 430px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 242, 255, 0.12);
}

.claire-ia-topbar {
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.claire-ia-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.claire-ia-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.claire-ia-reset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.claire-ia-reset-btn:hover {
  color: #fff;
  border-color: var(--neon-cyan);
}

.claire-ia-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.claire-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.claire-bubble-wrap.user {
  align-self: flex-end;
  align-items: flex-end;
}

.claire-bubble-wrap.assistant {
  align-self: flex-start;
  align-items: flex-start;
}

.claire-bubble {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #f1f5f9;
}

.claire-bubble-wrap.user .claire-bubble {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.claire-bubble-wrap.assistant .claire-bubble {
  background: #131B2E;
  border: 1px solid rgba(0, 242, 255, 0.25);
  border-bottom-left-radius: 4px;
}

.claire-bubble a {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(0, 242, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.8rem;
}

.claire-bubble-actions {
  margin-top: 4px;
  display: flex;
  gap: 6px;
}

.claire-tts-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.claire-tts-btn:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.claire-ia-suggestions {
  display: flex;
  gap: 7px;
  padding: 8px 14px;
  overflow-x: auto;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.claire-chip {
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.35);
  color: #e2f1ff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.claire-chip:hover {
  background: var(--neon-cyan);
  color: #05101f;
}

.claire-ia-footer {
  padding: 10px 14px;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.claire-ia-input {
  flex: 1;
  background: #070B14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.claire-ia-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.claire-mic-btn,
.claire-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 242, 255, 0.4);
  background: var(--bg-box);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.claire-mic-btn.listening {
  background: var(--studio-red);
  border-color: #fff;
  color: #fff;
  animation: pulseLive 1s infinite;
}

.claire-send-btn {
  background: linear-gradient(135deg, var(--neon-cyan), #0096c7);
  color: #04101e;
  border: none;
  font-weight: 800;
}

/* ========================
   RESPONSIVE MOBILE
   ======================== */
@media (max-width: 900px) {
  .hud-instructions {
    display: none;
  }
  .hide-mobile {
    display: none;
  }
  .sims-dock {
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
  }
  .active-sim-card {
    width: 100%;
  }
  .sim-needs-grid {
    display: none;
  }
  .sims-roster-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .sims-roster {
    overflow-x: auto;
    max-width: calc(100vw - 120px);
    padding-bottom: 2px;
  }
  .demo-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .sims-textarea {
    grid-column: span 1;
  }
  .controls-hint-card {
    display: none;
  }
}

/* ========================================================
   ENCART DE CONTRÔLE DU JOUEUR (EN BAS À DROITE)
   ======================================================== */
.controls-hint-card {
  position: fixed;
  right: 20px;
  bottom: 122px;
  z-index: 35;
  background: rgba(11, 13, 19, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 242, 255, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 242, 255, 0.15);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 175px;
  animation: fadeInHint 0.5s ease-out;
}

@keyframes fadeInHint {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ch-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ch-close-btn {
  background: transparent;
  border: none;
  color: #7890a8;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.ch-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.ch-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-keys-dpad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ch-sub-row {
  display: flex;
  gap: 2px;
}

.ch-k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #1a2233;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  font-family: var(--font-mono, monospace);
  font-size: 0.64rem;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.ch-space {
  width: auto;
  padding: 2px 10px;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
  color: #00e676;
  border-color: rgba(0, 230, 118, 0.4);
}

.ch-desc {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ch-desc strong {
  font-size: 0.74rem;
  color: #ffffff;
}

.ch-desc small {
  font-size: 0.64rem;
  color: #8b9bb4;
}

/* ========================================================
   BULLE D'INTERACTION FLOTTANTE AU-DESSUS DU JOUEUR
   ======================================================== */
.player-interact-prompt {
  position: absolute;
  transform: translate(-50%, -100%);
  background: rgba(11, 13, 19, 0.95);
  border: 2px solid #00e676;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.45), 0 8px 24px rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 28;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.15s ease;
  user-select: none;
}

.player-interact-prompt:hover {
  transform: translate(-50%, -104%) scale(1.04);
}

.player-interact-prompt.hidden {
  opacity: 0;
  pointer-events: none;
}

.pip-key {
  background: #00e676;
  color: #031422;
  font-weight: 900;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  font-family: var(--font-mono, monospace);
}

.pip-text {
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 600;
}

.pip-text strong {
  color: var(--neon-cyan);
}

@media (max-width: 900px) {
  .controls-hint-card {
    display: none !important;
  }
}

/* ========================================================
   POP-UP D'INFORMATION ET REDIRECTION MOBILE (SMARTPHONES)
   ======================================================== */
.mobile-redirect-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(7, 16, 31, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mobile-redirect-modal.hidden {
  display: none !important;
}

.mobile-redirect-card {
  background: linear-gradient(145deg, #0e1e38 0%, #081224 100%);
  border: 2px solid var(--neon-cyan, #00F2FF);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 255, 0.25);
  max-width: 440px;
  width: 100%;
  padding: 24px;
  text-align: center;
  color: #ffffff;
  animation: mobilePopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes mobilePopIn {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.mobile-redirect-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mobile-redirect-icon {
  font-size: 1.2rem;
}

.mobile-redirect-live {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--neon-cyan, #00F2FF);
}

.mobile-redirect-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.mobile-redirect-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.mobile-redirect-text strong {
  color: var(--neon-cyan, #00F2FF);
}

.mobile-redirect-countdown {
  font-size: 0.88rem;
  font-weight: 700;
  color: #00e676;
  background: rgba(0, 230, 118, 0.1);
  border: 1px dashed rgba(0, 230, 118, 0.4);
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.mobile-redirect-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-btn-primary {
  display: block;
  background: linear-gradient(90deg, #00f2ff, #00e676);
  color: #061120 !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 242, 255, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.mobile-btn-primary:active {
  transform: scale(0.98);
}

.mobile-btn-secondary {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.mobile-btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}
