/* -------------------------------------------------
   MENU SCREEN – fullscreen neon, bez kartičky
-------------------------------------------------- */

.menu-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at top, #060b18 0%, #03040c 40%, #000 100%);
  /* jemné pulzování celé scény */
  animation: menuGlowPulse 12s ease-in-out infinite;
}

/* Vignette + světelný „vír“ přes celou obrazovku */
.menu-screen::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% -10%, rgba(0, 200, 255, 0.3), transparent 60%),
    radial-gradient(circle at 80% 110%, rgba(138, 91, 255, 0.26), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9));
  mix-blend-mode: screen;
  opacity: 0.25;
  transform-origin: center;
  animation: menuVortex 32s linear infinite;
  z-index: 0;
}

@keyframes menuGlowPulse {
  0% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.15) saturate(1.08);
  }
  100% {
    filter: brightness(1) saturate(1);
  }
}

@keyframes menuVortex {
  0% {
    transform: scale(1.05) rotate(0deg);
    opacity: 0.22;
  }
  50% {
    transform: scale(1.12) rotate(180deg);
    opacity: 0.33;
  }
  100% {
    transform: scale(1.05) rotate(360deg);
    opacity: 0.22;
  }
}

/* -------------------------------------------------
   NEONOVÉ POZADÍ – víc akce, „pohlcování světla“
-------------------------------------------------- */

.neon-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* velké rotující zdroje světla */
.neon-bg .glowing {
  position: absolute;
  width: 540px;
  height: 540px;
  transform-origin: center;
  filter: blur(4px);
  opacity: 0.36;
  animation: colorRotate 18s linear infinite;
}

.neon-bg .glowing:nth-child(1) {
  top: -180px;
  left: -120px;
}
.neon-bg .glowing:nth-child(2) {
  top: 10%;
  right: -190px;
  animation-duration: 22s;
}
.neon-bg .glowing:nth-child(3) {
  bottom: -220px;
  left: 5%;
  animation-duration: 19s;
}
.neon-bg .glowing:nth-child(4) {
  bottom: -160px;
  right: 10%;
  animation-duration: 27s;
}

@keyframes colorRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.glowing span {
  position: absolute;
  top: calc(80px * var(--i));
  left: calc(80px * var(--i));
  bottom: calc(80px * var(--i));
  right: calc(80px * var(--i));
}

.glowing span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 18px;
  height: 18px;
  background: #00e2ff;
  border-radius: 50%;
  box-shadow:
    0 0 26px rgba(0, 226, 255, 1),
    0 0 60px rgba(0, 226, 255, 0.9),
    0 0 120px rgba(0, 226, 255, 0.8),
    0 0 0 14px rgba(0, 226, 255, 0.12);
}

.glowing span:nth-child(1) {
  animation: glowOrbitSlow 13s ease-in-out infinite alternate;
}
.glowing span:nth-child(2) {
  animation: glowOrbitMedium 8.5s ease-in-out infinite alternate;
}
.glowing span:nth-child(3) {
  animation: glowOrbitFast 6s ease-in-out infinite alternate;
}

/* orbity – "neklidné" světlo */
@keyframes glowOrbitSlow {
  0% {
    transform: rotate(150deg);
  }
  50% {
    transform: rotate(-10deg) scale(1.08);
  }
  100% {
    transform: rotate(330deg);
  }
}
@keyframes glowOrbitMedium {
  0% {
    transform: rotate(300deg);
  }
  50% {
    transform: rotate(165deg) scale(1.05);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes glowOrbitFast {
  0% {
    transform: rotate(190deg);
  }
  50% {
    transform: rotate(370deg) scale(1.12);
  }
  100% {
    transform: rotate(550deg);
  }
}

/* lehké mikroblikání světelných objektů */
.neon-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 0%, rgba(255, 255, 255, 0.03), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.0;
  animation: neonFlicker 2.2s infinite;
}

@keyframes neonFlicker {
  0%, 100% {
    opacity: 0;
  }
  8% {
    opacity: 0.18;
  }
  9% {
    opacity: 0;
  }
  20% {
    opacity: 0.12;
  }
  22% {
    opacity: 0;
  }
  60% {
    opacity: 0.08;
  }
}

/* -------------------------------------------------
   MENU LAYOUT – bez panelu / rámu, jen strukturovaný text
-------------------------------------------------- */

.menu-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: min(5vw, 48px);
}

.main-menu-panel {
  width: 100%;
  max-width: 1000px;
  min-height: 60vh;
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: 40px;
  padding: 36px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Levý sloupec – logo + záložky */
.main-menu-nav {
  border-right: 1px solid rgba(120, 200, 255, 0.35);
  padding-right: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.game-logo {
  font-family: "Syncopate", system-ui, sans-serif;
  font-size: 30px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(0, 200, 255, 0.9),
    0 0 32px rgba(0, 140, 255, 0.9),
    0 0 70px rgba(180, 245, 255, 0.9);
  white-space: nowrap;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.menu-link {
  background: none;
  border: none;
  padding: 4px 0;
  font: inherit;
  font-size: 13px;
  color: #a9b9d6;
  text-align: left;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.08s ease;
}

.menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c8ff, #8a5bff);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.9);
  transition: width 0.25s ease-out;
}

.menu-link:hover {
  color: #e4f1ff;
  transform: translateX(2px);
}

.menu-link.active {
  color: #ffffff;
}

.menu-link.active::before {
  width: 42px;
}

/* Pravý sloupec – obsah, zarovnání textu doleva */

.main-menu-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
}

/* HEADLINE & TAGLINE */

.main-menu-heading {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #eaf8ff;
  text-align: left;
  margin-bottom: 4px;
  text-shadow:
    0 0 8px rgba(0, 200, 255, 0.7),
    0 0 18px rgba(0, 80, 255, 0.6);
}

.main-menu-tagline {
  font-size: 14px;
  opacity: 0.94;
  text-align: left;
  max-width: 620px;
  line-height: 1.5;
  margin: 2px 0 0;
}

/* Tip */

.main-menu-tip {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 18px;
  text-align: left;
  color: #b7c7e4;
}

/* -------------------------------------------------
   SECTIONS
-------------------------------------------------- */

.menu-section {
  display: none;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  text-align: left;
}

.menu-section-active {
  display: flex;
}

/* Hero level */

.hero-level {
  margin-top: 18px;
  padding: 16px 0 20px;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 255, 0.08), transparent 60%),
    radial-gradient(circle at bottom right, rgba(138, 91, 255, 0.08), transparent 70%);
  border: none;
  box-shadow: none;
}

.hero-level h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  text-shadow:
    0 0 7px rgba(0, 200, 255, 0.7),
    0 0 14px rgba(0, 90, 255, 0.6);
}

.level-meta {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 6px;
  color: #a8b6d8;
}

.hero-level p {
  margin: 0 0 10px 0;
  font-size: 13px;
  opacity: 0.96;
}

/* Level list */

.level-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.level-card {
  padding: 10px 0 10px;
  border-radius: 0;
  background:
    radial-gradient(circle at left, rgba(0, 200, 255, 0.06), transparent 60%);
  border-bottom: 1px solid rgba(120, 200, 255, 0.28);
  text-align: left;
  box-shadow: none;
}

.level-card h3 {
  margin: 0 0 4px 0;
  font-size: 15px;
}

.level-card p {
  margin: 0 0 8px 0;
  font-size: 13px;
  opacity: 0.92;
}

.level-card-disabled {
  opacity: 0.6;
}

.level-price {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 6px;
}

/* Jak hrát – list */

.howto-list {
  margin-top: 10px;
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.95;
  text-align: left;
}

.howto-list li + li {
  margin-top: 4px;
}

.howto-note {
  font-size: 13px;
  opacity: 0.82;
  margin-top: 12px;
  text-align: left;
}

/* -------------------------------------------------
   Jak hrát – odkaz + animovaný tutoriál
-------------------------------------------------- */

.howto-link {
  color: #7cf2ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(124, 242, 255, 0.8);
  padding-bottom: 1px;
  cursor: pointer;
}
.howto-link:hover {
  color: #ffffff;
  border-bottom-style: solid;
}

/* Panel tutoriálu – overlay používá .overlay, .overlay-panel z game.css */

.tutorial-panel {
  max-width: 760px;
  position: relative;
}

.tutorial-intro {
  font-size: 13px;
  opacity: 0.85;
  margin: 2px 0 10px;
}

.tutorial-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #c7d6ff;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.tutorial-close:hover {
  background: rgba(124, 242, 255, 0.12);
  color: #ffffff;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 18px;
  margin-top: 8px;
}

.tutorial-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(120, 200, 255, 0.4);
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 200, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(138, 91, 255, 0.25), transparent 60%),
    rgba(5, 8, 18, 0.96);
  box-shadow:
    0 0 26px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 200, 255, 0.4);
  position: relative;
  overflow: hidden;
}

/* Mini-scéna: pozadí, kapka, šplouch, duše, hint "klik" */

.tv-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 30, 0.9)),
    radial-gradient(circle at 20% 0%, rgba(0, 200, 255, 0.16), transparent 55%);
  opacity: 0.7;
}

/* Duše vlevo – roste při zásahu */
.tv-soul {
  position: absolute;
  left: 18%;
  top: 55%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(124, 242, 255, 0.7),
    0 0 38px rgba(110, 215, 255, 0.6),
    0 0 70px rgba(180, 235, 255, 0.6);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%) scale(0.8);
  animation: tvSoulPulse 4s ease-in-out infinite;
}

@keyframes tvSoulPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.7;
  }
  45% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.7;
  }
  55% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.9;
  }
}

/* Kapka – letí zprava doleva, v polovině animace je „trefená“ */

.tv-bubble {
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(0, 200, 255, 0.9),
    0 0 26px rgba(0, 150, 255, 0.9);
  background: radial-gradient(circle, #ffffff 0%, #90e9ff 40%, rgba(0, 0, 0, 0) 70%);
  transform: translate(-50%, -50%);
  animation: tvBubbleMove 4s linear infinite;
}

@keyframes tvBubbleMove {
  0% {
    left: 105%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  15% {
    opacity: 1;
  }
  45% {
    left: 65%;
    opacity: 1;
  }
  55% {
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  75% {
    left: 20%;
    opacity: 0.0;
  }
  100% {
    left: 0%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Šplouch – rozšiřující se kruh kolem kapky při zásahu */

.tv-splash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(124, 242, 255, 0.0);
  transform: translate(-50%, -50%) scale(0.2);
  pointer-events: none;
  animation: tvSplashWave 4s linear infinite;
}

@keyframes tvSplashWave {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    border-color: rgba(124, 242, 255, 0);
    box-shadow: none;
  }
  48% {
    border-color: rgba(124, 242, 255, 0);
  }
  55% {
    transform: translate(-50%, -50%) scale(1.4);
    border-color: rgba(124, 242, 255, 0.95);
    box-shadow: 0 0 18px rgba(124, 242, 255, 0.9);
  }
  80% {
    transform: translate(-50%, -50%) scale(2.0);
    border-color: rgba(124, 242, 255, 0.0);
    box-shadow: 0 0 8px rgba(124, 242, 255, 0.4);
  }
  100% {
    transform: translate(-50%, -50%) scale(2.1);
    border-color: rgba(124, 242, 255, 0);
    box-shadow: none;
  }
}

/* Nápis "klik" nad kapkou v okamžiku zásahu */

.tv-click-hint {
  position: absolute;
  top: 35%;
  left: 62%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  text-shadow:
    0 0 6px rgba(0, 200, 255, 0.9),
    0 0 14px rgba(0, 80, 255, 0.8);
  animation: tvClickHint 4s linear infinite;
}

@keyframes tvClickHint {
  0%, 40% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 0;
  }
}

.tutorial-text p {
  margin: 0 0 6px 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

/* -------------------------------------------------
   HRÁČ – nastavení & měna
-------------------------------------------------- */

.player-balance {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(120, 200, 255, 0.4);
  background:
    radial-gradient(circle at top left, rgba(0, 200, 255, 0.08), transparent 60%),
    rgba(5, 8, 18, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.player-balance-value {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.player-settings-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 24px;
}

.player-settings-column h3 {
  margin: 0 0 4px 0;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.player-settings-help {
  font-size: 12px;
  opacity: 0.8;
  margin: 0 0 8px 0;
}

.player-field span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.player-field select {
  width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 200, 255, 0.5);
  background: rgba(3, 6, 14, 0.9);
  color: #eaf4ff;
  font-size: 13px;
}

.player-ambient-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ambient-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ambient-item input[type="checkbox"] {
  accent-color: #00c8ff;
}

.player-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-settings-status {
  font-size: 12px;
  opacity: 0.8;
}

.saved-visual-card {
  margin-top: 20px;
  padding: 12px 14px 10px;
  border-radius: 16px;
  border: 1px solid rgba(120, 200, 255, 0.4);
  background:
    radial-gradient(circle at bottom right, rgba(138, 91, 255, 0.12), transparent 60%),
    rgba(5, 8, 18, 0.9);
  font-size: 13px;
}

.saved-visual-card h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.saved-visual-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

/* -------------------------------------------------
   Výsledkový overlay – měna + akce
-------------------------------------------------- */

.currency-info {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.9;
}

.result-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* -------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 900px) {
  .main-menu-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 0;
    gap: 26px;
  }

  .main-menu-nav {
    border-right: none;
    border-bottom: 1px solid rgba(120, 200, 255, 0.35);
    padding-right: 0;
    padding-bottom: 14px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .game-logo {
    font-size: 22px;
    letter-spacing: 0.26em;
  }

  .menu-links {
    flex-direction: row;
    gap: 16px;
    margin-top: 0;
  }

  .menu-link::before {
    bottom: -2px;
  }
}

@media (max-width: 720px) {
  .tutorial-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

/* menší šířky – mobil / menší tablet */
@media (max-width: 900px) {
  .menu-screen {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .menu-content {
    align-items: flex-start;
    justify-content: flex-start;
    padding-inline: 16px;
    padding-block: 20px;
  }

  .main-menu-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    min-height: auto;
    padding: 20px 0;
  }

  .main-menu-nav {
    border-right: none;
    border-bottom: 1px solid rgba(120, 200, 255, 0.35);
    padding-right: 0;
    padding-bottom: 14px;
    margin-bottom: 6px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .game-logo {
    font-size: 20px;
    letter-spacing: 0.22em;
    white-space: normal;
  }

  .menu-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  .menu-link {
    flex: 1 1 auto;
    font-size: 12px;
    padding: 6px 10px;
  }

  .main-menu-content {
    gap: 16px;
  }

  .main-menu-heading {
    font-size: 16px;
  }

  .main-menu-tagline {
    font-size: 13px;
    max-width: none;
  }

  .hero-level.level-card {
    padding: 14px 14px 12px;
  }

  .hero-level h3 {
    font-size: 15px;
  }

  .hero-level p,
  .hero-level .level-meta {
    font-size: 13px;
  }

  .level-list {
    gap: 10px;
  }

  .level-card {
    padding: 12px 12px 10px;
  }
}

/* opravdu malé telefony */
@media (max-width: 600px) {
  .menu-content {
    padding-inline: 12px;
    padding-block: 16px;
  }

  .main-menu-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu-links {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-link {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 5px 9px;
  }

  .main-menu-heading {
    font-size: 15px;
  }

  .main-menu-tagline {
    font-size: 12px;
  }
}

/* -------------------------------------------------
   HRÁČ – monetizační shop styl (jen tato záložka)
-------------------------------------------------- */

.menu-section-player .player-shop-top{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin:16px 0 18px;
}

.menu-section-player .player-balance,
.menu-section-player .player-boost,
.menu-section-player .shop-card{
  background: rgba(10, 14, 30, 0.55);
  border: 1px solid rgba(0, 200, 255, 0.18);
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border-radius: 18px;
}

.menu-section-player .player-balance{
  padding:14px 16px;
  min-width: 240px;
  flex: 1 1 240px;
}

.menu-section-player .player-balance-label{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.menu-section-player .player-balance-value{
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.25);
}

.menu-section-player .player-boost{
  padding:14px 16px;
  min-width: 280px;
  flex: 2 1 320px;
  border-color: rgba(138, 91, 255, 0.22);
}

.menu-section-player .player-boost-title{
  font-weight: 700;
  font-size: 14px;
}

.menu-section-player .player-boost-sub{
  margin-top: 6px;
  color: rgba(255,255,255,0.75);
}

.menu-section-player .player-boost-note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.menu-section-player .player-shop-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 820px){
  .menu-section-player .player-shop-grid{ grid-template-columns: 1fr; }
}

.menu-section-player .shop-card{
  padding: 14px 16px;
}

.menu-section-player .shop-card-wide{
  grid-column: 1 / -1;
}

.menu-section-player .shop-card-head{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 12px;
}

.menu-section-player .shop-card-title{
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}

.menu-section-player .shop-card-sub{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  max-width: 54ch;
}

.menu-section-player .shop-badge{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,200,255,0.12);
  border: 1px solid rgba(0,200,255,0.18);
  color: rgba(255,255,255,0.78);
}

.menu-section-player .player-field{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.menu-section-player .player-field > span{
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.menu-section-player select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  outline: none;
}

.menu-section-player select:focus{
  border-color: rgba(0,200,255,0.45);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.12);
}

.menu-section-player .player-ambient-list{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.menu-section-player .ambient-item{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
}

.menu-section-player .ambient-item input{
  width: 18px;
  height: 18px;
}

.menu-section-player .shop-card-foot{
  margin-top: 12px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.menu-section-player .shop-price{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}

.menu-section-player .shop-hint{
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.menu-section-player .saved-visual-text{
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
}

.menu-section-player .saved-visual-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-section-player .player-actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
}

.menu-section-player .player-settings-status{
  color: rgba(255,255,255,0.78);
  font-size: 12px;
}

.menu-section-player .player-legal{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
/* -------------------------------------------------
   HRÁČ – v2 (náhled + jednotlivé efekty)
-------------------------------------------------- */

.player-shop-grid-v2 {
  display: grid;
  gap: 16px;
}

.player-preview-card {
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.player-preview-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.player-preview-title {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.player-preview-sub {
  opacity: 0.8;
  font-size: 0.95rem;
}

.player-preview-stage {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: radial-gradient(circle at 30% 30%, rgba(120,140,255,0.20), rgba(0,0,0,0.55));
}

.preview-world {
  position: relative;
  height: 190px;
}

.preview-bg {
  position: absolute;
  inset: 0;
  opacity: 0.95;
  filter: grayscale(0.4);
}

.preview-soul {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.92), rgba(120,140,255,0.35), rgba(0,0,0,0));
  box-shadow: 0 0 22px rgba(120,140,255,0.55);
}

.preview-burst {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,80,200,0.45), rgba(0,0,0,0));
  filter: saturate(1.2);
}

.preview-flash {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.player-preview-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.effects-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 12px;
}

.effect-item {
  border-radius: 16px;
  padding: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
}

.effect-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.effect-title {
  font-weight: 700;
}

.effect-sub {
  opacity: 0.8;
  font-size: 0.92rem;
  margin-top: 2px;
}

.effect-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  align-content: start;
}

.effect-charges {
  font-weight: 700;
  opacity: 0.9;
}

.effect-active {
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  opacity: 0.85;
}

.effect-active.is-active {
  opacity: 1;
  border-color: rgba(120,255,220,0.45);
  background: rgba(120,255,220,0.10);
}

.effect-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Preview animace */
@keyframes pv_flash_soft { 0%{opacity:0} 20%{opacity:.55} 100%{opacity:0} }
@keyframes pv_flash_strong { 0%{opacity:0} 20%{opacity:.92} 60%{opacity:.55} 100%{opacity:0} }
@keyframes pv_flash_mono { 0%{opacity:0} 18%{opacity:.75} 100%{opacity:0} }
@keyframes pv_burst { 0%{opacity:0; transform:translate(-50%,-50%) scale(.2)} 25%{opacity:1} 100%{opacity:0; transform:translate(-50%,-50%) scale(6.2)} }
@keyframes pv_glow { 0%{transform:translate(-50%,-50%) scale(1)} 30%{transform:translate(-50%,-50%) scale(1.18)} 100%{transform:translate(-50%,-50%) scale(1)} }

.preview-flash.play.fx-soft  { background: rgba(120,140,255,0.55); animation: pv_flash_soft 420ms ease-out; }
.preview-flash.play.fx-strong{ background: rgba(255,70,220,0.65); animation: pv_flash_strong 520ms ease-out; }
.preview-flash.play.fx-mono  { background: rgba(255,255,255,0.70); animation: pv_flash_mono 420ms ease-out; }

.preview-burst.play { animation: pv_burst 620ms ease-out; }
.preview-soul.play-glow { animation: pv_glow 520ms ease-out; }
.preview-world.play-saturate { filter: saturate(1.35) contrast(1.05); }
