/* === style.css === */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('assets/fundo.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
}
/* util */
.hidden { display: none !important; }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.4s ease, background-color 0.4s ease;
}
.header.shrink {
  padding: 0.4rem 1.5rem;
}
.logo-img {
  width: 224px;
  height: auto;
  transition: width 0.4s ease;
}
.header.shrink .logo-img {
  width: 140px;
}
nav a {
  margin-left: 1.5rem;
  color: #00b7ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, margin 0.3s ease;
}
nav a:hover {
  color: #FAEC0B;
}
.play-btn {
  background: linear-gradient(135deg, #7DF9FF, #01E8AD);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 0 10px #01E8AD;
}
.play-btn:hover {
  background: linear-gradient(135deg, #FAEC0B, #01E8AD);
  color: #111;
}

/* === Coin$ Mu$ic Floating Button (HOME) === */
#music-float-btn {
  position: fixed;
  top: 283px;
  right: 40px;
  z-index: 1000;
  cursor: pointer;
  background-color: #000;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 0 12px #00ffee;
  transition: all 0.3s ease;
}
#music-float-btn img {
  width: 36px;
  height: 36px;
  display: block;
}
#music-float-btn:hover {
  box-shadow: 0 0 20px #00ffee, 0 0 40px #00ffee;
  transform: scale(1.15);
}
#music-float-btn.active {
  box-shadow: 0 0 20px #00ffee, 0 0 40px #00ffee;
  transform: scale(1.15);
}

/* Pulso SÓ quando ativo na HOME */
.page-home #music-float-btn.active {
  animation: coinpulse 2.2s infinite ease-in-out;
}
@keyframes coinpulse {
  0% { box-shadow: 0 0 10px rgba(1,232,173,.5); }
  50%{ box-shadow: 0 0 22px rgba(125,249,255,.55), 0 0 40px rgba(1,232,173,.35); }
  100%{ box-shadow: 0 0 10px rgba(1,232,173,.5); }
}

/* === Coin$ Mu$ic Modal Popup === */
#music-player-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}
#music-player-popup.hidden {
  display: none;
}
#music-playing-icon {
  position: fixed;
  top: 283px;
  right: 92px;
  width: 40px;
  height: 40px;
  z-index: 9998;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
#music-playing-icon.hidden {
  display: none;
}
.popup-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: #111;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 24px #00ffee;
  text-align: center;
}
.popup-logo {
  max-width: 140px;
  margin-bottom: 15px;
}
.music-popup-title {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}
#confirmPlayBtn.active {
  background-color: #00ffee;
  color: #000;
  border: 2px solid #00ffee;
  box-shadow: 0 0 20px #00ffee;
}

/* === Outras seções === */
.hero-video {
  text-align: center;
  background: #000;
  padding: 2rem 0;
}
.hero-video iframe {
  width: 100%;
  max-width: 1200px;
  height: 675px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0 15px #000;
}
.hero-cta {
  background-color: rgba(0, 0, 0, 0.84);
  text-align: center;
  padding: 4rem 2rem;
}
.hero-title {
  font-size: 3rem;
  color: #fafafa;
  line-height: 1.3;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}
.cta {
  background: transparent;
  color: #fff;
  padding: 0.8rem 2rem;
  font-weight: bold;
  border: 2px solid #00b7ff;
  border-radius: 6px;
  cursor: pointer;
}
.cta:hover {
  background: #01E8AD;
  color: #000;
}
.login-container {
  margin-top: 1.5rem;
}
.login-container input {
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  margin: 0.5rem;
  width: 240px;
}
.extra-boxes {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.extra-boxes .box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1 1 260px;
  color: #e8eaed;
  text-align: center;
}
.extra-boxes .box h3 {
  color: #e8eaed;
}
.showcase {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #000;
}
.showcase-title {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}
#competition .showcase-title {
  color: #ffd700;
}
#victories .showcase-title {
  color: #a4e3ff;
}
.showcase-subtitle {
  font-size: 1.2rem;
  color: #fafafa;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 2rem auto 0 auto;
  max-width: 950px;
}
.cards img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 6px #000;
  transition: transform 0.2s ease;
  display: block;
}
.cards img:hover {
  transform: scale(1.05);
}
.games-hero {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 4rem 2rem;
  text-align: center;
}
.games-hero h1 {
  font-size: 3rem;
  color: gold;
  margin-bottom: 1rem;
}
.games-hero p {
  font-size: 1.2rem;
  color: #ccc;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #000;
}
.game-card {
  background-color: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px #000;
  display: flex;
  flex-direction: column;
}
.game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.game-info {
  padding: 1.5rem;
  flex: 1;
}
.game-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem 0;
  color: #fafafa;
}
.game-desc {
  font-size: 0.95rem;
  color: #aaa;
}
.status-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}
.available {
  background-color: #00b7ff;
  color: #000;
}
.upcoming {
  background-color: #555;
  color: #fff;
}
.easteregg-wade {
  background-image: url('assets/Modeloavatar.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
 }
.easteregg-wade h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fcd500;
 }
 .easteregg-wade p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 0;
 }
 
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .cards img {
    height: 20rem;
  }
}
.team-section {
  padding: 4rem 2rem;
}
.team-section .team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.team-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-text h1 {
  font-size: 2.4rem;
  color: #fafafa;
}
.team-text p {
  color: #ffffff;
  margin-bottom: 1rem;
}
.team-images {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  max-width: 100%;
}
.team-images img {
  width: 260px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
  object-fit: cover;
}
.testimonial-section {
  background-color: rgb(0, 0, 0);
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}
.testimonial-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
}
.testimonial-avatar {
  height: 24rem; 
  width: auto;
  border-radius: 16px;
  box-shadow: 0 0 10px #000;
  object-fit: cover;
}
.testimonial-box {
  background-color: #111;
  padding: 1.5rem;
  border-radius: 20px;
  color: #fafafa;
  font-size: 1rem;
  text-align: left;
  flex: 1;
  min-width: 300px;
}
.testimonial-text .stars {
  color: gold;
  font-size: 1.2rem;
}
.testimonial-author {
  margin-top: 1rem;
  font-weight: bold;
  color: #a4e3ff;
}
.victories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 2rem auto 0 auto;
}
.victories-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px #000;
}
.victories-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.victories-text .box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: 10px;
  color: #fafafa;
}
.victories-text .box h3 {
  margin-bottom: 0.5rem;
  color: #a4e3ff;
}
@media (max-width: 900px) {
  .victories-grid {
    grid-template-columns: 1fr;
  }
  .victories-image,
  .victories-text {
    width: 100%;
  }
}
@media (max-width: 700px) {
  .team-images {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.music-section {
  background-color: #000;
  text-align: center;
  padding: 60px 20px;
}

.music-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.music-logo {
  max-width: 280px;
  margin: 0 auto 20px;
  display: block;
}

#music-player-container {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 9998;
  display: none;
  width: 340px;
  background: #111;
  border-radius: 16px;
  box-shadow: 0 0 16px #00ffee;
  overflow: hidden;
}

#music-player-box {
  position: relative;
  padding: 10px;
}

#music-player-box .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.spotify-player {
  max-width: 600px;
  margin: 0 auto;
}
.footer {
  background-color: #000;
  padding: 3rem 2rem;
  color: #fff;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: start;
}
.footer-column h2, 
.footer-column h4 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.footer-column p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}
.footer-column a {
  color: #0066ff;
  text-decoration: none;
}
.footer-column a:hover {
  text-decoration: underline;
}
.social-icons {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  cursor: pointer;
}
.footer-column input[type="email"] {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  margin: 0.5rem 0 1rem 0;
}
.footer-column button {
  background-color: #3b4b62;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.footer-column button:hover {
  background-color: #00b7ff;
}
.footer-column label {
  font-size: 0.9rem;
  display: block;
  margin-top: 0.5rem;
}
.footer .copyright {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* Final responsividade mobile (até 600px) */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    padding: 1rem 1.5rem;
    text-align: center;
  }

  .logo-img { width: 140px; }

  nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; padding: 0 1rem; }

  .extra-boxes { flex-direction: column; align-items: center; }
  .extra-boxes .box { width: 90%; }

  .team-section .team-content { grid-template-columns: 1fr; text-align: center; }
  .team-text { align-items: center; }
  .team-images { flex-direction: column; align-items: center; }

  .victories-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
  .victories-text { text-align: center; }

  .testimonial-content { flex-direction: column; align-items: center; text-align: center; }
  .testimonial-box { text-align: center; }

  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-column input, .footer-column button { width: 100%; }
  .footer-column { align-items: center; }
  .social-icons { justify-content: center; }  
}

/* === Destaque Dinâmico de Jogo (Fortnite-style) === */
.highlight-section {
  background: linear-gradient(to right, #000 40%, #111 100%);
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: #fff;
}
.highlight-section.hidden {
  display: none;
}
.highlight-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  align-items: center;
}
.highlight-image img {
  width: 480px;
  border-radius: 16px;
  box-shadow: 0 0 20px #FAEC0B;
}
.highlight-info {
  max-width: 600px;
}
.highlight-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FAEC0B;
}
.highlight-desc {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ddd;
}
.highlight-play-btn {
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #7DF9FF, #FAEC0B);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 1rem;
  box-shadow: 0 0 12px #FAEC0B;
  transition: transform 0.2s ease;
}
.highlight-play-btn:hover {
  background: linear-gradient(135deg, #FAEC0B, #FAEC0B);
  transform: scale(1.05);
}
.highlight-back-btn {
  background: none;
  border: 2px solid #00ffee;
  color: #00ffee;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
.highlight-back-btn:hover {
  background-color: #00ffee;
  color: #000;
}

/* === Coin$ Play – Jukebox Neon Theme =============================== */
:root {
  --cj-bg:        #0d1117;
  --cj-panel:     #11151a;
  --cj-border:    #1e2630;
  --cj-text:      #e8f0ff;
  --cj-sub:       #aab7c6;
  --cj-accentA:   #7DF9FF;
  --cj-accentB:   #01E8AD;
  --cj-accentY:   #FAEC0B;
  --cj-glow:      rgba(1, 232, 173, .55);
  --cj-glow2:     rgba(125, 249, 255, .45);
}
.jukebox {
  background: radial-gradient(160% 120% at 50% -10%, #18202a 10%, var(--cj-bg) 55%) no-repeat,
              linear-gradient(180deg, #0a0e13 0%, #0d1117 100%);
  color: var(--cj-text);
  border: 1px solid var(--cj-border);
  border-radius: 16px;
  box-shadow: 0 0 28px var(--cj-glow2);
  overflow: hidden;
}
.jukebox__head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cj-border);
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,215,0,.35), rgba(0,150,255,.16) 60%, #0d1117 100%);
}
.jukebox__brand { display:flex; align-items:center; gap:8px; }
.jukebox__title { font-weight: 800; }
.jukebox__btn,
.jukebox__btnPrimary {
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  transition: transform .08s ease, box-shadow .15s ease;
}
.jukebox__btn { background: #182029; color: var(--cj-text); border:1px solid var(--cj-border); }
.jukebox__btnPrimary {
  background: linear-gradient(135deg, var(--cj-accentA), var(--cj-accentB));
  color:#041; border:none;
  box-shadow: 0 0 18px var(--cj-glow);
}
.jukebox__list {
  padding: 8px 14px;
  background: var(--cj-panel);
  max-height: 38vh; overflow:auto;
  display:grid; gap:8px;
}
.jukebox__item {
  display:grid; grid-template-columns: 1fr auto;
  background:#0f141a; border:1px solid var(--cj-border);
  border-radius:12px; padding:10px;
}
.jukebox__item:hover { background:#121822; box-shadow:0 0 20px rgba(0,232,173,.08); }
.jukebox__footer { padding:12px 14px; background:#0d1117; }
.jukebox__player { width:100%; accent-color:var(--cj-accentB); }

/* ===================== */
/*  PAGE /games (scoped) */
/* ===================== */

/* Botão flutuante exclusivo da /games */
.page-games #music-float-btn-games {
  position: fixed;
  top: 283px;
  right: 40px;
  z-index: 1000;
  cursor: pointer;
  background: #000;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 0 12px #01E8AD;
  transition: transform .2s ease, box-shadow .25s ease;
}
.page-games #music-float-btn-games img { width: 36px; height: 36px; display: block; }
.page-games #music-float-btn-games:hover { transform: scale(1.08); }
/* pulsa APENAS quando tocando */
.page-games #music-float-btn-games.active {
  transform: scale(1.12);
  animation: gamesCoinPulse 2.2s infinite ease-in-out;
}
@keyframes gamesCoinPulse {
  0%   { box-shadow: 0 0 10px rgba(1,232,173,.5); }
  50%  { box-shadow: 0 0 22px rgba(125,249,255,.55), 0 0 40px rgba(1,232,173,.35); }
  100% { box-shadow: 0 0 10px rgba(1,232,173,.5); }
}

/* Modal exclusivo da /games */
.page-games #music-player-popup-games {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  display: flex; justify-content: center; align-items: center; z-index: 1001;
}
.page-games #music-player-popup-games.hidden { display: none; }
.page-games .popup-content { width: 90%; max-width: 560px; }

/* Efeito hover nos cards de jogos - dourado */
.game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,215,0,.4), 0 0 40px rgba(255,215,0,.25);
  z-index: 2;
}
/* Hover dourado nos cards de jogos */
.game-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,215,0,.4), 0 0 40px rgba(255,215,0,.25);
  z-index: 2;
}
/* Destaque sempre full width */
.highlight-section { width: 100%; }

/* Conteúdo centralizado e fluido */
.highlight-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;   /* centraliza na largura */
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Imagem nunca passa do container */
.highlight-image img {
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* ---------- Jukebox visual (inspirada na referência) ---------- */
.jukebox--games {
  color: #e8f0ff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #1e2630;
  background:
    radial-gradient(120% 90% at 50% -10%,
      rgba(255,215,0,.35) 0%,
      rgba(255,120,0,.22) 16%,
      rgba(0,232,173,.18) 38%,
      rgba(0,150,255,.16) 58%,
      rgba(13,17,23,0) 70%),
    linear-gradient(180deg,#0a0e13 0%, #0d1117 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 16px 40px rgba(0,0,0,.45), 0 0 28px rgba(125,249,255,.25);
  position: relative;
}

/* Arco superior com brilho */
.jukebox--games .jb-arch {
  position: relative; padding: 18px 14px 10px;
  border-bottom: 1px solid #1e2630;
  background:
    radial-gradient(130% 90% at 50% -20%,
      rgba(255,215,0,.45) 0%,
      rgba(253,140,0,.30) 15%,
      rgba(0,232,173,.25) 38%,
      rgba(0,150,255,.22) 58%,
      rgba(13,17,23,0) 72%),
    linear-gradient(180deg,#10151c 0%, #0d1117 100%);
}
.jukebox--games .jb-title {
  font-weight: 900; letter-spacing:.3px; text-transform: uppercase;
  text-shadow: 0 0 12px rgba(250,236,11,.35), 0 0 18px rgba(1,232,173,.25);
}

/* Display central (lista) */
.jukebox--games .jb-display { padding: 10px 14px 0; }
.jukebox--games .jb-info { font-size: 12px; opacity:.75; margin-bottom: 6px; }
.jukebox--games .jb-list {
  max-height: 38vh; overflow:auto; display:grid; gap:10px;
  background: #11151a; border:1px solid #1e2630; border-radius: 14px; padding: 10px;
}
.jukebox--games .jb-item {
  display:grid; grid-template-columns: 1fr auto; gap:10px; align-items:center;
  background:#0f141a; border: 1px solid #212a34; border-radius: 10px; padding: 8px 10px;
  transition: background .15s ease, box-shadow .15s ease;
}
.jukebox--games .jb-item:hover {
  background:#121a22; box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 16px rgba(1,232,173,.12);
}
.jukebox--games .jb-name { font-weight: 700; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }

/* Controles inferiores */
.jukebox--games .jb-controls {
  padding: 12px 14px 14px; display:flex; align-items:center; gap:10px; border-top: 1px solid #1e2630;
  background: #0d1117;
}
.jukebox--games .jb-btn,
.jukebox--games .jb-toggle {
  appearance:none; cursor:pointer; user-select:none; border-radius:12px; padding:10px 14px; font-weight:800;
  border:1px solid #253243; color:#e8f0ff; background:#182029; transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.jukebox--games .jb-btn:hover,
.jukebox--games .jb-toggle:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 14px rgba(255,255,255,.05); }
.jukebox--games .jb-btn:active,
.jukebox--games .jb-toggle:active { transform: translateY(1px) scale(.98); }
.jukebox--games .jb-btn--primary {
  border:none; color:#042; background: linear-gradient(135deg, #7DF9FF, #01E8AD);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 18px rgba(1,232,173,.45);
}
.jukebox--games .jb-toggle.is-on {
  background: linear-gradient(135deg, rgba(125,249,255,.18), rgba(1,232,173,.20));
  border-color: #01E8AD;
  box-shadow: 0 0 0 1px rgba(1,232,173,.18) inset, 0 0 16px rgba(1,232,173,.22);
}
.jukebox--games .jb-mute.is-on { color:#FAEC0B; }

/* Scrollbar do display */
.jukebox--games .jb-list::-webkit-scrollbar { height: 10px; width: 10px; }
.jukebox--games .jb-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#7DF9FF,#01E8AD);
  border-radius: 10px; border: 2px solid #0f141a;
}
/* ====== /games — casco externo + painel interno ====== */
.jukebox--games .jb-shell {
  position: relative;
  border-radius: 22px;
  padding: 14px;             /* espaço do aro para o painel interno */
  background:
    radial-gradient(140% 120% at 50% -20%,
      rgba(255,215,0,.42) 0%,
      rgba(253,140,0,.28) 16%,
      rgba(1,232,173,.25) 38%,
      rgba(0,150,255,.22) 58%,
      rgba(13,17,23,0) 72%),
    linear-gradient(180deg,#0a0e13 0%, #0d1117 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 24px 48px rgba(0,0,0,.5),
    0 0 36px rgba(125,249,255,.2);
}

/* aro (borda “metálica” com volume) */
.jukebox--games .jb-rim {
  position: absolute; inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%,
      rgba(250,236,11,.25) 0%,
      rgba(1,232,173,.20) 30%,
      rgba(125,249,255,.18) 55%,
      rgba(255,255,255,0) 75%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.04) inset,
    0 8px 26px rgba(0,0,0,.35) inset;
}

/* painel interno (conteúdo) */
.jukebox--games .jb-inner {
  position: relative; z-index: 2;
  border-radius: 14px;
  overflow: hidden;             /* corta o conteúdo para respeitar a borda interna */
  background:
    linear-gradient(180deg,#0c1016 0%, #0b1015 100%);
  border: 1px solid #1e2630;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 24px rgba(1,232,173,.12);
}

/* janela do display (onde a lista “fica dentro” do painel) */
.jukebox--games .jb-window {
  margin: 10px 14px 0 14px;
  background:#0e141b;
  border: 1px solid #1f2834;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 12px rgba(1,232,173,.08);
  overflow: hidden;
}

/* ajusta a lista para parecer encaixada no painel */
.jukebox--games .jb-window .jukebox__list {
  max-height: 38vh;
  background: transparent;           /* herda do jb-window */
  border: none;                      /* removemos a borda prévia */
  padding: 10px;                     /* conforto visual */
}

/* itens com contorno e canto mais suave */
.jukebox--games .jukebox__item {
  background:#0f141a;
  border: 1px solid #212a34;
  border-radius: 10px;
  transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
}
.jukebox--games .jukebox__item:hover {
  background:#121a22;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 16px rgba(1,232,173,.10);
}

/* cabeça do widget um pouco mais robusta para “arco” */
.jukebox--games .jukebox__head {
  padding: 16px 16px 12px;
  background:
    radial-gradient(130% 90% at 50% -25%,
      rgba(255,215,0,.42) 0%,
      rgba(253,140,0,.30) 18%,
      rgba(1,232,173,.22) 40%,
      rgba(0,150,255,.20) 60%,
      rgba(13,17,23,0) 75%),
    linear-gradient(180deg,#10151c 0%, #0d1117 100%);
  border-bottom: 1px solid #1e2630;
}

/* barra de info abaixo do título */
.jukebox--games .jukebox__info { opacity:.75; font-size: 12px; }

/* controles inferiores alinhados ao painel */
.jukebox--games .jukebox__footer {
  background:#0d1117;
  border-top: 1px solid #1e2630;
  box-shadow: 0 -8px 16px rgba(0,0,0,.25) inset;
}
.jukebox--games .jukebox__player { width:100%; accent-color:#01E8AD; }

/* ===== JUKEBOX “MÁQUINA” (mockup) ===== */
.jb-machine { position: relative; padding: 8px; }
.jb-frame {
  position: relative; border-radius: 28px;
  padding: 14px 14px 16px;
  background:
    radial-gradient(140% 120% at 50% -20%,
      rgba(255,215,0,.46) 0%, rgba(253,140,0,.30) 16%,
      rgba(1,232,173,.26) 38%, rgba(0,150,255,.24) 58%,
      rgba(13,17,23,0) 72%),
    linear-gradient(180deg,#0a0e13 0%, #0d1117 100%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.04) inset,
    0 26px 50px rgba(0,0,0,.55),
    0 0 40px rgba(125,249,255,.25);
}

/* arco superior */
.jb-arch2 {
  position: relative; border-radius: 22px 22px 14px 14px;
  padding: 18px 12px 12px;
  background:
    radial-gradient(130% 90% at 50% -25%,
      rgba(255,215,0,.45) 0%, rgba(253,140,0,.30) 18%,
      rgba(1,232,173,.22) 40%, rgba(0,150,255,.20) 60%,
      rgba(13,17,23,0) 78%),
    linear-gradient(180deg,#10151c 0%, #0d1117 100%);
  border: 1px solid #1e2630;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 10px 22px rgba(0,0,0,.35) inset;
}
.jb-arch-glow {
  position:absolute; inset:-6px -6px auto -6px; height:14px; border-radius: 20px 20px 0 0;
  background: radial-gradient(50% 120% at 50% 0%, rgba(250,236,11,.35), rgba(125,249,255,.18), transparent 80%);
  filter: blur(6px); pointer-events:none;
}
.jb-title2 {
  margin: 0; text-align:center; font-weight: 900; letter-spacing:.4px; color:#eaf7ff;
  text-shadow: 0 0 14px rgba(250,236,11,.35), 0 0 18px rgba(1,232,173,.25);
}

/* janela de vidro (lista) */
.jb-glass {
  margin-top: 12px;
  background: linear-gradient(180deg,#0c131a 0%, #0b1016 100%);
  border:1px solid #1f2834; border-radius: 16px; padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 16px rgba(1,232,173,.10);
}
.jb-info2 { font-size:12px; opacity:.75; text-align:center; margin-bottom:6px; }
.jb-list2 { max-height: 40vh; overflow:auto; display:grid; gap:10px; }
.jb-list2 .jb-item {
  display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center;
  background:#0f141a; border:1px solid #212a34; border-radius: 10px; padding:8px 10px;
  transition: background .15s ease, box-shadow .15s ease;
}
.jb-list2 .jb-item:hover { background:#121a22; box-shadow:0 0 16px rgba(1,232,173,.10); }
.jb-name { font-weight:800; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }

/* base de botões (físicos) */
.jb-base {
  margin-top: 12px;
  background: linear-gradient(180deg, #10151c 0%, #0d1117 100%);
  border:1px solid #1e2630; border-radius: 14px; padding: 10px;
  display:flex; gap:10px; justify-content:center;
  box-shadow: 0 -8px 16px rgba(0,0,0,.25) inset, 0 0 16px rgba(1,232,173,.10);
}
.jb-btn2, .jb-toggle2 {
  appearance:none; cursor:pointer; user-select:none;
  border-radius: 12px; padding:10px 14px; font-weight:900;
  border:1px solid #253243; color:#e8f0ff; background:#182029;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.jb-btn2:hover, .jb-toggle2:hover { box-shadow:0 0 0 1px rgba(255,255,255,.05) inset, 0 0 14px rgba(255,255,255,.05); }
.jb-btn2:active, .jb-toggle2:active { transform: translateY(1px) scale(.98); }
.jb-primary {
  border:none; color:#042;
  background: linear-gradient(135deg, #7DF9FF, #01E8AD);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 18px rgba(1,232,173,.45);
}
.jb-toggle2.is-on {
  background: linear-gradient(135deg, rgba(125,249,255,.18), rgba(1,232,173,.20));
  border-color:#01E8AD;
  box-shadow:0 0 0 1px rgba(1,232,173,.18) inset, 0 0 16px rgba(1,232,173,.22);
}

/* scrollbar da lista */
.jb-list2::-webkit-scrollbar { height:10px; width:10px; }
.jb-list2::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#7DF9FF,#01E8AD);
  border-radius:10px; border:2px solid #0f141a;
}

/* Botão de fechar no canto superior direito da jukebox (/games) */
.page-games .popup-content { position: relative; }

.page-games .jb-close.inside{
  position:absolute;
  top:10px;
  right:10px; left:auto;
  width:36px;height:36px; display:grid; place-items:center;
  border-radius:9999px; background:#121821; color:#e8f0ff; border:1px solid #2a2a36;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 8px 18px rgba(0,0,0,.35), 0 0 16px rgba(1,232,173,.20);
  cursor:pointer; z-index:1005;
}
.page-games .jb-close.inside:hover{
  background:#172030;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 10px 22px rgba(0,0,0,.4), 0 0 20px rgba(125,249,255,.25);
}
.page-games .jb-close.inside:active{ transform: translateY(1px) scale(.98); }

/* Imagem decorativa da jukebox no widget /games */
.page-games .jb-arch2 .jb-deco {
  display: block;
  margin: 10px auto 0 auto;
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(1,232,173,.6));
}
/* destaque da faixa que está tocando */
.jb-list2 .jb-item.is-playing,
.jb-list  .jb-item.is-playing {
  background: linear-gradient(180deg, rgba(255,215,0,.08), rgba(255,215,0,.03));
  border-color: #01E8AD !important;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.25), 0 0 36px rgba(9, 255, 0, 0.18);
  position: relative;
}

/* barrinha neon à esquerda */
.jb-list2 .jb-item.is-playing::before,
.jb-list  .jb-item.is-playing::before {
  content: "";
  position: absolute;
  left: -2px; top: 8px; bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7DF9FF, #01E8AD);
  box-shadow: 0 0 10px rgba(1, 232, 173,.7);
}

/* nome da faixa em foco */
.jb-list2 .jb-item.is-playing .jb-name,
.jb-list  .jb-item.is-playing .jb-name {
  color: #01E8AD;
  font-weight: 800;
}
