/* ==========================================================================
   4D FABRIQUE — JEUX IA & OPENNOW GAMING LAUNCHER (v2.0)
   Inspiré directement de OpenNOW Desktop Cloud Gaming (OpenCloudGaming/OpenNOW)
   Thème : Deep Slate Dark (#0a0d14), Glassmorphism, Dock latéral, HintBar
   ========================================================================== */

:root {
  --on-bg: #0a0d14;
  --on-bg-elevated: #111622;
  --on-bg-glass: rgba(17, 22, 34, 0.85);
  --on-border: rgba(255, 255, 255, 0.08);
  --on-border-hover: rgba(0, 229, 255, 0.5);
  --on-text: #f0f4fc;
  --on-text-muted: #8b9bb4;
  --on-accent: #00e5ff;
  --on-accent-glow: rgba(0, 229, 255, 0.35);
  --on-green: #10b981;
  --on-green-glow: rgba(16, 185, 129, 0.35);
  --on-orange: #ff9800;
  --on-purple: #a855f7;
  --on-dock-width: 76px;
  --on-radius: 16px;
  --on-radius-sm: 10px;
}

body.opennow-body {
  background-color: var(--on-bg);
  color: var(--on-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.02) 0%, transparent 60%);
  background-attachment: fixed;
}

/* ==========================================================================
   LAYOUT PRINCIPAL : DOCK GAUCHE + MAIN VIEW
   ========================================================================== */
.opennow-app {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* --- DOCK GAUCHE (AppChrome.qml) --- */
.opennow-dock {
  width: var(--on-dock-width);
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--on-border);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  z-index: 100;
  user-select: none;
}

.dock-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin-bottom: 24px;
  transition: transform 0.2s ease;
}

.dock-logo:hover {
  transform: scale(1.08);
}

.dock-logo-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #e8453c, #16b8a6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 184, 166, 0.35);
}

.dock-logo-box span {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.dock-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
  flex: 1;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--on-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-decoration: none;
}

.dock-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--on-border);
  transform: translateY(-2px);
}

.dock-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 229, 255, 0.08));
  color: var(--on-accent);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 16px var(--on-accent-glow);
}

.dock-btn.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: var(--on-accent);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 8px var(--on-accent);
}

/* Tooltip custom dock */
.dock-btn .dock-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #182030;
  border: 1px solid var(--on-border);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.dock-btn:hover .dock-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.dock-sep {
  width: 32px;
  height: 1px;
  background: var(--on-border);
  margin: 6px 0;
}

.dock-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dock-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--on-green);
  box-shadow: 0 0 10px var(--on-green);
  position: relative;
  cursor: pointer;
}

/* --- MAIN CONTENT VIEW --- */
.opennow-main {
  margin-left: var(--on-dock-width);
  flex: 1;
  padding: 24px 36px 90px 36px;
  max-width: 1680px;
  box-sizing: border-box;
}

/* ==========================================================================
   TOP BAR (Header & Live Search)
   ========================================================================== */
.opennow-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.topbar-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.topbar-count-badge {
  display: none !important;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 480px;
  justify-content: flex-end;
}

.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--on-border);
  border-radius: 24px;
  padding: 10px 42px 10px 42px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--on-accent);
  box-shadow: 0 0 16px var(--on-accent-glow);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--on-text-muted);
  pointer-events: none;
}

.search-shortcut {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--on-text-muted);
  pointer-events: none;
}

/* Category Filter Bar */
.filter-chips-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.filter-chips-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--on-border);
  color: var(--on-text-muted);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
  background: #fff;
  color: #0a0d14;
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   HERO FEATURED BANNER ("CONTINUE PLAYING" / OpenNOW HomeScreen)
   ========================================================================== */
.hero-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 380px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  background-color: #121826;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 13, 20, 0.96) 0%,
    rgba(10, 13, 20, 0.82) 42%,
    rgba(10, 13, 20, 0.3) 75%,
    rgba(10, 13, 20, 0.1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 42px;
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-green);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-green);
  box-shadow: 0 0 8px var(--on-green);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.hero-chip.weight-highlight {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 229, 255, 0.05));
  border-color: rgba(0, 229, 255, 0.5);
  color: #fff;
  font-weight: 700;
}

.hero-synopsis {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00e5ff, #00b0ff);
  color: #03101c;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px var(--on-accent-glow);
  text-decoration: none;
}

.hero-btn-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 229, 255, 0.5);
  filter: brightness(1.1);
}

.hero-btn-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-btn-details:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-carousel-dots {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--on-accent);
  box-shadow: 0 0 10px var(--on-accent);
}

/* ==========================================================================
   CAROUSEL SECTIONS & POSTER CARDS (PosterTile.qml)
   ========================================================================== */
.carousel-section {
  margin-bottom: 44px;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.carousel-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-text-muted);
}

.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

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

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 18px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}
.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

/* --- POSTER CARD (Inspiré de PosterTile.qml OpenNOW) --- */
.poster-card {
  flex: 0 0 190px;
  height: 270px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background-color: #151b29;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.poster-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--on-accent-glow);
  border-color: var(--on-accent);
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-card:hover img {
  transform: scale(1.06);
}

/* Weight Badge - Masqué sur l'accueil selon retours utilisateur */
.poster-weight-badge {
  display: none !important;
}

/* Bottom Overlay with Title & Details */
.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 13, 20, 0.95) 0%,
    rgba(10, 13, 20, 0.75) 35%,
    rgba(10, 13, 20, 0) 65%
  );
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}

.poster-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--on-text-muted);
}

.poster-cat {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.poster-play-tag {
  color: var(--on-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ==========================================================================
   GRID CATALOGUE (72 Titres)
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

/* ==========================================================================
   OPENNOW GAME DETAIL SCREEN (GlassPanel Modal)
   ========================================================================== */
.detail-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.detail-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-glass-panel {
  width: 100%;
  max-width: 860px;
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 229, 255, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.detail-modal-backdrop.active .detail-glass-panel {
  transform: translateY(0) scale(1);
}

.detail-carousel-container {
  height: 280px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0b0f19;
}

.detail-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.detail-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.detail-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 24, 38, 0.2) 0%,
    rgba(18, 24, 38, 0.7) 60%,
    rgba(18, 24, 38, 0.98) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.detail-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.detail-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.detail-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 15, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
}

.detail-carousel-nav:hover {
  background: rgba(0, 229, 255, 0.3);
  border-color: rgba(0, 229, 255, 0.7);
  color: var(--on-cyan, #00e5ff);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.detail-carousel-nav.prev {
  left: 18px;
}

.detail-carousel-nav.next {
  right: 18px;
}

.detail-carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.detail-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.detail-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.detail-carousel-dot.active {
  background: var(--on-cyan, #00e5ff);
  width: 24px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.detail-body {
  padding: 0 36px 36px 36px;
  position: relative;
  z-index: 2;
  margin-top: -60px;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px 0;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 860px) {
  .detail-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.detail-spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--on-border);
  border-radius: 10px;
  padding: 10px 14px;
}

.detail-spec-label {
  font-size: 0.72rem;
  color: var(--on-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.detail-spec-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 28px;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   GAME PLAYER MODAL (Full Screen Iframe)
   ========================================================================== */
.player-modal-backdrop {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 3000;
  display: none;
  flex-direction: column;
}

.player-modal-backdrop.active {
  display: flex;
}

.player-topbar {
  height: 52px;
  background: #0a0d14;
  border-bottom: 1px solid var(--on-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.player-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--on-border);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.player-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.player-iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* ==========================================================================
   HINT BAR (HintBar.qml OpenNOW)
   ========================================================================== */
.opennow-hintbar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 90;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.78rem;
  color: var(--on-text-muted);
  user-select: none;
  pointer-events: none;
}

.hint-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hint-key {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: #fff;
  font-size: 0.7rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .opennow-dock {
    width: 100%;
    height: 60px;
    bottom: 0;
    top: auto;
    flex-direction: row;
    border-right: none;
    border-top: 1px solid var(--on-border);
    padding: 0 16px;
    justify-content: space-around;
  }
  .dock-logo, .dock-sep, .dock-bottom, .dock-tooltip { display: none; }
  .dock-nav { flex-direction: row; justify-content: space-around; }
  .opennow-main {
    margin-left: 0;
    padding: 16px 16px 80px 16px;
  }
  .hero-banner { height: auto; min-height: 320px; }
  .hero-title { font-size: 1.8rem; }
  .opennow-hintbar { display: none; }
  .detail-specs-grid { grid-template-columns: 1fr; }
}
