/* ═══════════════════════════════════════════════════════════
   Raul Rock Bar — Modern Redesign
   Glassmorphism + rock effects · vanilla CSS
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800;900&family=Pacifico&display=swap');

/* ── Design Tokens (baseline kept — user loves them) ──── */
:root {
  --bg-dark: #262626;
  --primary: #F27A3A;
  --primary-hover: #d96a2e;
  --stone: #595959;
  --text-light: #FFFFFF;
  --text-dark: #1a1a1a;

  /* derived / extended tokens */
  --primary-soft: rgba(242, 122, 58, 0.15);
  --primary-glow: rgba(242, 122, 58, 0.45);
  --gold: #efcd28;
  --danger: #f87171;
  --bg-darker: #1b1b1b;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(242, 122, 58, 0.15);
  --glass-bg: rgba(30, 30, 30, 0.6);
  --glass-blur: 14px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 20px 40px rgba(242, 122, 58, 0.15);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-height: 64px;
  --sidebar-width: 260px;
  --bottom-nav-height: 64px;
  --transition: all 0.28s var(--ease);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }
input { font-family: inherit; }

/* ── Selection & Focus ────────────────────────────────── */
::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--primary-hover));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg-darker); }

/* ═══════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fallIn {
  0%   { opacity: 0; transform: translateY(-60px) scale(0.8); }
  60%  { opacity: 1; transform: translateY(6px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes slideOut {
  0%   { transform: translateX(0) rotate(0); opacity: 1; }
  100% { transform: translateX(110%) rotate(16deg); opacity: 0; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes popIn {
  from { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes winnerPulse {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(1.12); opacity: 0.75; }
}
@keyframes ringFill {
  from { --ring-angle: 0deg; }
  to   { --ring-angle: 360deg; }
}
@keyframes pulseAnim {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes pulseAnnounce {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(242, 122, 58, 0.35), 0 0 30px rgba(242, 122, 58, 0.18); }
  50%      { box-shadow: 0 0 22px rgba(242, 122, 58, 0.65), 0 0 55px rgba(242, 122, 58, 0.35); }
}
@keyframes equalizer {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}
@keyframes grainShift {
  0%   { background-position: 0 0; }
  100% { background-position: 200px 200px; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  33%      { transform: translateY(-30px) translateX(18px); }
  66%      { transform: translateY(20px) translateX(-14px); }
}
@keyframes underlineSweep {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes shineSweep {
  from { transform: translateX(-120%) skewX(-20deg); }
  to   { transform: translateX(220%) skewX(-20deg); }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(18px); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.15); }
}

/* ═══════════════════════════════════════════════════════════
   NOISE / GRUNGE TEXTURE
   ═══════════════════════════════════════════════════════════ */

.grunge-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grainShift 8s steps(8) infinite;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}

.fade-in { animation: fadeInUp 0.5s var(--ease) both; }

/* Pages are driven by inline styles set in script.js.
   Default hidden; tabs that script shows get their own display. */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT SHELL + ANIMATED BACKGROUND ORBS
   ═══════════════════════════════════════════════════════════ */

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

/* Animated glowing orbs behind content */
.app::before,
.app::after {
  content: '';
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

.app::before {
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  animation: floatOrb 18s ease-in-out infinite;
}

.app::after {
  bottom: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(242,122,58,0.55) 0%, transparent 70%);
  animation: floatOrb 24s ease-in-out infinite reverse;
}

/* Full-bleed grunge texture over the whole app backdrop */
.app .main::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(242,122,58,0.06), transparent 55%);
  animation: grainShift 16s steps(10) infinite;
  opacity: 0.5;
  pointer-events: none;
}

/* ── Header (floating glass pill) ─────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 122, 58, 0.15);
  z-index: 100;
  transition: var(--transition);
}

/* Floating glass pill on scroll */
.header.scrolled {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 122, 58, 0.1);
}

.header-inner {
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid var(--primary);
  box-shadow: 0 0 14px rgba(242, 122, 58, 0.4);
}

.header-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, var(--text-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Header Nav (inline navbar links) ────────────────── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  border-left: none;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  transition: var(--transition);
  overflow: hidden;
}

.header-nav .nav-link i { width: auto; margin-right: 0.4rem; }

.header-nav .nav-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateY(-2px);
}

.header-nav .nav-link.active {
  background: var(--primary-soft);
  border: 1px solid rgba(242, 122, 58, 0.35);
  color: var(--primary);
  text-shadow: 0 0 12px rgba(242, 122, 58, 0.4);
}

.header-nav .nav-link.active::after { display: none; }

/* ── Sidebar removed — legacy hidden ─────────────────── */
.sidebar-overlay { display: none; }
.sidebar { display: none; }

/* ── Main Content ─────────────────────────────────────── */
.main {
  flex: 1;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  position: relative;
}

/* Page content reveal when routed in */
.page.active .page-home,
.page.active .page-cardapio > *,
.page.active .page-karaoke > *,
.page.active .page-jogos > * {
  animation: fadeInUp 0.5s var(--ease) both;
}

/* ── Bottom Nav (mobile) ──────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: stretch;
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.bottom-nav-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
  cursor: pointer;
}

.bottom-nav-item i {
  font-size: 1.2rem;
  transition: transform 0.28s var(--ease);
}

.bottom-nav-item:hover { color: var(--text-light); }
.bottom-nav-item:hover i { transform: translateY(-3px); }
.bottom-nav-item:active { transform: scale(0.94); }

.bottom-nav-item.active {
  color: var(--primary);
  text-shadow: 0 0 12px rgba(242, 122, 58, 0.5);
}
.bottom-nav-item.active i { transform: translateY(-3px); }

/* floating active indicator dot */
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════ */

.page-home { min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height)); }

.home-hero {
  position: relative;
  background-image: url('https://img.freepik.com/fotos-gratis/coqueteis-e-coqueteis-em-casa-noturna_23-2149093603.jpg?semt=ais_hybrid&w=740');
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 150px;
  overflow: hidden;
}

/* Ken Burns subtle zoom on hero background */
.home-hero::before {
  content: '';
  position: absolute;
  inset: -4%;
  background: linear-gradient(
    to bottom,
    rgba(38, 38, 38, 0.25) 0%,
    rgba(38, 38, 38, 0.55) 55%,
    var(--bg-dark) 100%
  );
  z-index: 1;
  animation: kenburns 24s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, 1.5%); }
}

/* scanning light sweep */
.home-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(242,122,58,0.14), transparent);
  z-index: 2;
  pointer-events: none;
  animation: scanline 7s linear infinite;
  opacity: 0.5;
}

.home-hero-title {
  position: relative;
  z-index: 3;
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(2.4rem, 9vw, 4rem);
  color: var(--text-light);
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: fadeInUp 0.7s var(--ease) both;
}

/* Fire / gradient shimmer on hero title */
.home-hero-title {
  background: linear-gradient(90deg,
    var(--text-light) 0%,
    var(--primary) 25%,
    #ffd9a8 50%,
    var(--primary) 75%,
    var(--text-light) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 6s linear infinite, fadeInUp 0.7s var(--ease) both;
  filter: drop-shadow(0 0 24px rgba(242, 122, 58, 0.35));
}

.home-hero-title span {
  display: block;
  font-family: 'Pacifico', cursive;
  font-size: 0.5em;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.25em;
  -webkit-text-fill-color: var(--primary);
  filter: drop-shadow(0 2px 12px rgba(242, 122, 58, 0.5));
}

/* Deco equalizer bars flanking the hero */
.home-hero.deco::after,
.home-hero-title.deco-eq::after,
.equalizer-deco {
  display: none;
}

/* ── Floating Logo ────────────────────────────────────── */
.home-logo-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: -100px;
  animation: fallIn 0.9s var(--ease-bounce) 0.3s both;
  pointer-events: none;
}

.home-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.65));
  border: 4px solid var(--primary);
  box-shadow: 0 0 40px rgba(242, 122, 58, 0.35);
}

/* ── Home Content ─────────────────────────────────────── */
.home-content {
  flex: 1;
  padding: 110px 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.home-social { display: flex; gap: 1.25rem; }

.home-social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.15rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.home-social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.28s;
}

.home-social-icon i { position: relative; z-index: 1; }

.home-social-icon:hover {
  border-color: var(--primary);
  transform: translateY(-5px) rotate(-6deg);
  box-shadow: 0 12px 28px rgba(242, 122, 58, 0.45), 0 0 0 1px var(--primary);
  color: #fff;
}
.home-social-icon:hover::before { opacity: 1; }
.home-social-icon:active { transform: translateY(-2px) scale(0.95); }

.home-description {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.7;
}

/* ── Home Info (localização / horário / como chegar) ─── */
.home-info {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.home-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.15rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  color: var(--text-light);
  transition: var(--transition);
  overflow: hidden;
}

.home-info-card > i {
  font-size: 1.35rem;
  color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(242, 122, 58, 0.5));
}

.home-info-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.home-info-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* "Como chegar" CTA card spans full width */
.home-info-cta {
  grid-column: 1 / -1;
  cursor: pointer;
  border-color: rgba(242, 122, 58, 0.35);
  background: linear-gradient(135deg, rgba(242, 122, 58, 0.14), var(--card-bg));
}

.home-cta-arrow {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  filter: none !important;
  transition: var(--transition);
}

.home-info-cta:hover {
  border-color: var(--primary);
  background: rgba(242, 122, 58, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}
.home-info-cta:hover h3 { color: var(--primary); }
.home-info-cta:hover .home-cta-arrow { color: var(--primary) !important; transform: translate(2px, -2px); }
.home-info-card:active { transform: scale(0.98); }

.home-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.home-action-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transform: translateZ(0);
}

.home-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-120%) skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.home-action-btn:hover::before { animation: shineSweep 0.6s var(--ease); }

.home-action-btn i:first-child {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  color: var(--primary);
  transition: var(--transition);
}
.home-action-btn i:last-child {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.home-action-btn:hover {
  border-color: var(--primary);
  background: rgba(242, 122, 58, 0.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}
.home-action-btn:hover i:first-child { transform: scale(1.2); }
.home-action-btn:hover i:last-child { transform: translateX(4px); color: var(--primary); }
.home-action-btn:active { transform: scale(0.98); }

/* ═══════════════════════════════════════════════════════════
   CARDÁPIO PAGE
   ═══════════════════════════════════════════════════════════ */

.page-cardapio {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
  padding-bottom: 2rem;
}

.pill-row {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 1rem 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.pill-row::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.72);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.pill:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 122, 58, 0.4);
}

.search-wrapper {
  position: relative;
  padding: 0.85rem 1rem 0;
  display: flex;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.search-wrapper i {
  position: absolute;
  left: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  pointer-events: none;
  transition: var(--transition);
}
.search-wrapper:focus-within i { color: var(--primary); }

.search-input {
  width: 100%;
  padding: 0.85rem 2.75rem 0.85rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 122, 58, 0.15), var(--shadow-orange);
}

.search-clear {
  position: absolute;
  right: 2rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  padding: 0.35rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.06);
}
.search-clear:hover { color: var(--primary); background: var(--primary-soft); transform: rotate(90deg); }

.cardapio-content {
  padding: 1.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cardapio-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3rem;
  font-size: 1rem;
  animation: fadeIn 0.4s ease both;
}

.cardapio-section { margin-bottom: 2.5rem; }

.cardapio-cat-title {
  position: relative;
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: var(--primary);
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 14px rgba(242, 122, 58, 0.35);
  animation: fadeInUp 0.5s var(--ease) both;
}

/* orange underline sweep */
.cardapio-cat-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform-origin: left;
  animation: underlineSweep 0.7s var(--ease) both;
}

.cardapio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.9rem;
}

/* ── Menu Card ────────────────────────────────────────── */
.menu-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateZ(0);
  animation: fadeInUp 0.5s var(--ease) both;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
  border-color: var(--primary);
}

.menu-card:active { transform: scale(0.97); }

/* top orange glow line */
.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.28s;
  z-index: 2;
}
.menu-card:hover::before { opacity: 1; }

.menu-card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.menu-card:hover .menu-card-img { transform: scale(1.1) rotate(-1deg); }

.menu-card-body { padding: 0.85rem; }

.menu-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-desc {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.menu-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(242, 122, 58, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   KARAOKÊ PAGE
   ═══════════════════════════════════════════════════════════ */

.page-karaoke {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
  padding: 1.25rem;
  display: flex;
  justify-content: center;
}

.karaoke-card {
  width: 100%;
  max-width: 620px;
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  height: fit-content;
  position: relative;
}

.karaoke-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  z-index: 2;
}

.karaoke-header {
  padding: 1.35rem 1.35rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
}

.karaoke-title {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.karaoke-title i {
  color: var(--primary);
  animation: pulse 2.4s ease-in-out infinite;
}

.karaoke-refresh {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  cursor: pointer;
  font-size: 0.85rem;
}

.karaoke-refresh:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(242, 122, 58, 0.35);
}
.karaoke-refresh:active { transform: scale(0.9) rotate(-90deg) !important; }

/* spin on hover */
.karaoke-refresh:hover i {
  display: inline-block;
  animation: spin 1s ease-out;
}

.karaoke-search {
  position: relative;
  padding: 1rem 1.35rem 0;
  display: flex;
  align-items: center;
}
.karaoke-search i {
  position: absolute;
  left: 2.15rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  pointer-events: none;
  transition: var(--transition);
}
.karaoke-search:focus-within i { color: var(--primary); }

.karaoke-search input {
  width: 100%;
  padding: 0.7rem 0.85rem 0.7rem 2.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-light);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.karaoke-search input::placeholder { color: rgba(255, 255, 255, 0.3); }
.karaoke-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 122, 58, 0.12);
}

.karaoke-list { padding: 0.75rem 1.35rem 1.35rem; }

.karaoke-loading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
}
.karaoke-skeleton { height: 68px; width: 100%; }

.karaoke-error {
  text-align: center;
  padding: 2.4rem 0;
  font-size: 0.9rem;
  color: var(--danger);
  animation: fadeIn 0.3s ease both;
}
.karaoke-error i { animation: pulse 1.6s infinite; }

.karaoke-empty {
  text-align: center;
  padding: 2.4rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Karaoke item ─────────────────────────────────────── */
.karaoke-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(242, 122, 58, 0.1);
  animation: fadeInUp 0.4s var(--ease) both;
}
.karaoke-item:last-child { border-bottom: none; }

.karaoke-item.now {
  position: relative;
  background: linear-gradient(90deg, rgba(242,122,58,0.16), transparent);
  margin: 0 -0.6rem;
  padding: 1rem 0.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(242, 122, 58, 0.3);
  box-shadow: 0 0 24px rgba(242, 122, 58, 0.18);
}
.karaoke-item.now::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.karaoke-position {
  flex-shrink: 0;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.karaoke-now-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 0 18px rgba(242, 122, 58, 0.55);
  animation: pulse 1.6s ease-in-out infinite;
}

.karaoke-pos-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

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

.karaoke-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.karaoke-song {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
}

.karaoke-first-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5b301, #eab308);
  color: var(--text-dark);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  margin-left: 0.3rem;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.4);
}

.karaoke-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   JOGOS PAGE
   ═══════════════════════════════════════════════════════════ */

.page-jogos {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
  padding: 1.5rem 1rem;
}

.jogos-heading {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: fadeInUp 0.5s var(--ease) both;
}
.jogos-heading i {
  color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(242, 122, 58, 0.5));
  animation: float 5s ease-in-out infinite;
}

.jogos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  gap: 1.4rem;
  justify-content: center;
}

/* ── Jogo card ────────────────────────────────────────── */
.jogo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateZ(0);
  animation: fadeInUp 0.55s var(--ease) both;
}

.jogo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-orange);
  border-color: var(--primary);
}

.jogo-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.jogo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.jogo-card:hover .jogo-img { transform: scale(1.12) rotate(1deg); }

.jogo-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.92) 0%, transparent 65%);
}

.jogo-body { padding: 1.2rem 1.2rem 1.35rem; position: relative; }

.jogo-title {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jogo-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.jogo-actions { display: flex; gap: 0.75rem; }

.jogo-rules-btn,
.jogo-play-btn {
  position: relative;
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.jogo-rules-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: rgba(255, 255, 255, 0.85);
}
.jogo-rules-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}
.jogo-rules-btn:active { transform: scale(0.96); }

.jogo-play-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: 1px solid var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 122, 58, 0.4);
}
.jogo-play-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
.jogo-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(242, 122, 58, 0.55);
}
.jogo-play-btn:hover::before { animation: shineSweep 0.6s var(--ease); }
.jogo-play-btn:active { transform: scale(0.96); }

/* ═══════════════════════════════════════════════════════════
   GAME PAGES (Common)
   ═══════════════════════════════════════════════════════════ */

.game-page {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  color: var(--text-light);
  background: radial-gradient(circle at 50% -10%, rgba(242,122,58,0.12), transparent 55%),
              linear-gradient(135deg, #1b1b1b 0%, #0d0d0d 100%);
  animation: pageReveal 0.5s var(--ease) both;
}

.game-back {
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.28s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}
.game-back:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateX(-3px);
  box-shadow: var(--shadow-orange);
}
.game-back:active { transform: translateX(-1px) scale(0.97); }

.game-title {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  animation: fadeInUp 0.5s var(--ease) both;
}
.game-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.game-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   TAREFA DE BÊBADO (Drunk Task Wheel)
   ═══════════════════════════════════════════════════════════ */

.tarefa-container {
  position: relative;
  width: min(400px, 86vw);
  aspect-ratio: 1/1;
  height: auto;
  margin: 10px auto;
}

.tarefa-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 20;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(242, 122, 58, 0.6));
  animation: pulse 1.8s ease-in-out infinite;
}

.tarefa-center-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--bg-dark);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 0 24px rgba(242, 122, 58, 0.4);
}

.tarefa-spin-btn {
  color: var(--primary);
  font-weight: 900;
  cursor: pointer;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s var(--ease);
}
.tarefa-spin-btn:hover { transform: scale(1.15); }
.tarefa-spin-btn:active { transform: scale(0.9); }
.tarefa-spin-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.tarefa-wheel-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid var(--bg-dark);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.8), 0 0 14px rgba(242, 122, 58, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 5s cubic-bezier(0.15, 0, 0.15, 1);
}

.tarefa-label-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding-top: 22px;
  pointer-events: none;
}

.tarefa-sector-label {
  font-weight: 800;
  font-size: clamp(22px, 6vw, 28px);
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
  user-select: none;
}

.tarefa-result {
  margin-top: 20px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  padding: 26px 30px;
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.4s ease, box-shadow 0.4s;
  animation: fadeInUp 0.5s var(--ease) both;
}
.tarefa-result:not(:has(.tarefa-result-title)) {
  opacity: 0.3;
}

.tarefa-result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  letter-spacing: 3px;
}
.tarefa-result-text {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: bold;
  color: var(--primary);
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(242, 122, 58, 0.4);
}

/* ── Legend ────────────────────────────────────────────── */
.tarefa-legend {
  width: 100%;
  max-width: 620px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 22px;
  margin-top: 12px;
  backdrop-filter: blur(10px);
}

.tarefa-legend-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-align: center;
  color: var(--primary);
  font-family: 'Anton', sans-serif;
}

.tarefa-legend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tarefa-legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.tarefa-legend-item:hover { transform: translateX(4px); border-color: var(--card-border); }

.tarefa-legend-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tarefa-legend-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ═══════════════════════════════════════════════════════════
   EU NUNCA (Never Have I Ever)
   ═══════════════════════════════════════════════════════════ */

.eununca-category {
  display: flex;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.4s var(--ease) both;
}

.eununca-cat-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: rgba(255, 255, 255, 0.55);
  padding: 11px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.eununca-cat-btn i { color: inherit; transition: var(--transition); }

.eununca-cat-btn:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}
.eununca-cat-btn:active { transform: scale(0.95); }

.eununca-cat-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(242, 122, 58, 0.45);
}
.eununca-cat-btn.active i { color: #ffd9a8; animation: pulse 2s ease-in-out infinite; }

.eununca-card-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 500px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eununca-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border-radius: var(--radius-xl);
  border: 2px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.55s var(--ease-bounce), border-color 0.4s, box-shadow 0.4s;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.eununca-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(242,122,58,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.eununca-card:hover {
  transform: translateY(-10px) rotateX(6deg) rotateY(-4deg) scale(1.02);
  border-color: rgba(242, 122, 58, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), var(--shadow-orange);
}
.eununca-card:hover::before { opacity: 1; }

.eununca-card.sliding { animation: slideOut 0.5s ease forwards; }

.eununca-icon {
  font-size: 4rem;
  margin-bottom: 28px;
  color: var(--primary);
  filter: drop-shadow(0 0 16px rgba(242, 122, 58, 0.5));
  animation: float 5s ease-in-out infinite;
}

.eununca-phrase {
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 40px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease both;
}

.eununca-next-btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border: none;
  padding: 15px 44px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.eununca-next-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
.eununca-next-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(242, 122, 58, 0.5);
}
.eununca-next-btn:hover::before { animation: shineSweep 0.6s var(--ease); }
.eununca-next-btn:active { transform: translateY(-1px) scale(0.96); }

.eununca-instructions {
  margin-top: 30px;
  max-width: 520px;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 22px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  backdrop-filter: blur(8px);
}
.eununca-instructions strong { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   QUEM É MAIS PROVÁVEL (Who's More Likely)
   ═══════════════════════════════════════════════════════════ */

.qmp-container {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border-radius: var(--radius-xl);
  border: 2px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  position: relative;
  min-height: 350px;
  animation: fadeInUp 0.5s var(--ease) both;
  overflow: hidden;
}
.qmp-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(242,122,58,0.12), transparent 60%);
  pointer-events: none;
}

.qmp-icon {
  font-size: 3.5rem;
  margin-bottom: 26px;
  color: var(--primary);
  filter: drop-shadow(0 0 14px rgba(242, 122, 58, 0.5));
  animation: float 5s ease-in-out infinite;
}

.qmp-question {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 40px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s var(--ease);
}

.qmp-next-btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border: none;
  padding: 18px 52px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.qmp-next-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
.qmp-next-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(242, 122, 58, 0.5);
}
.qmp-next-btn:hover::before { animation: shineSweep 0.6s var(--ease); }
.qmp-next-btn:active { transform: scale(0.96); }

.qmp-instructions {
  margin-top: 30px;
  max-width: 520px;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 24px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  backdrop-filter: blur(8px);
}
.qmp-instructions strong { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   ROLETA DE TOQUE / DEDO NO COPO
   ═══════════════════════════════════════════════════════════ */

.game-page:has(.roleta-touch-area) {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background: radial-gradient(circle at 50% 20%, rgba(239,205,40,0.08), transparent 50%), #0d0d0d;
}

.roleta-title-wrapper {
  padding: 20px;
  padding-top: 90px;
  text-align: center;
  z-index: 10;
  font-family: 'Anton', 'Impact', sans-serif;
}
.roleta-title-wrapper .game-title {
  font-size: clamp(2rem, 7vw, 2.8rem);
  color: #efcd28;
  text-shadow: 0 0 24px rgba(239, 205, 40, 0.4);
}
.roleta-title-wrapper .game-title::after {
  background: linear-gradient(90deg, transparent, #efcd28, transparent);
}

.roleta-touch-area {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 5;
  overflow: hidden;
  min-height: 60vh;
  background: radial-gradient(circle at 50% 50%, rgba(239,205,40,0.03), transparent 70%);
}

.roleta-finger {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, border-color 0.3s, opacity 0.3s;
  z-index: 100;
  background: rgba(242, 122, 58, 0.1);
  box-shadow: 0 0 20px rgba(242, 122, 58, 0.25) inset;
}

.roleta-finger::before,
.roleta-finger::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px solid rgba(242, 122, 58, 0.4);
  animation: pulseAnim 1.5s infinite;
}
.roleta-finger::after { animation-delay: 0.75s; }

.roleta-finger.selected {
  border-color: var(--gold);
  background: rgba(239, 205, 40, 0.2);
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 45px rgba(239, 205, 40, 0.7);
  z-index: 200;
  animation: winnerPulse 0.5s infinite alternate;
}
.roleta-finger.selected::before,
.roleta-finger.selected::after { border-color: rgba(239, 205, 40, 0.6); }

.roleta-finger.eliminated {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(0.75);
  border-color: #444;
  background: transparent;
}
.roleta-finger.eliminated::before,
.roleta-finger.eliminated::after { display: none; }

.roleta-loading-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(transparent 52px, #000 58px);
  mask-image: radial-gradient(transparent 52px, #000 58px);
  z-index: 90;
  transition: background 0.3s;
}
.roleta-loading-ring.winner {
  animation: winnerPulse 0.5s infinite alternate;
  box-shadow: 0 0 34px rgba(239, 205, 40, 0.8);
}

.roleta-instructions {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 85%;
  z-index: 10;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.1rem, 5vw, 1.5rem);
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.roleta-timer {
  color: var(--gold);
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  font-weight: 900;
  animation: pulseAnnounce 1s infinite alternate;
  text-shadow: 0 0 20px rgba(239, 205, 40, 0.6);
}

.roleta-result-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--gold);
  z-index: 300;
  text-align: center;
  box-shadow: 0 0 60px rgba(239, 205, 40, 0.35);
  width: min(90%, 420px);
  animation: popIn 0.4s var(--ease-bounce);
}

.roleta-result-title {
  color: var(--gold);
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(2.2rem, 9vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(239, 205, 40, 0.6);
  animation: glowPulse 1.6s ease-in-out infinite;
}
.roleta-result-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.5;
}

.roleta-result-btn {
  position: relative;
  background: linear-gradient(135deg, var(--gold), #d4b10a);
  color: var(--text-dark);
  border: none;
  padding: 15px 42px;
  border-radius: var(--radius-full);
  font-weight: 900;
  cursor: pointer;
  margin-top: 22px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s var(--ease-bounce);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(239, 205, 40, 0.4);
}
.roleta-result-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
.roleta-result-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px rgba(239, 205, 40, 0.55);
}
.roleta-result-btn:hover::before { animation: shineSweep 0.6s var(--ease); }
.roleta-result-btn:active { transform: scale(0.96); }

/* ═══════════════════════════════════════════════════════════
   MODAL (glassmorphic)
   ═══════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  padding: 1rem;
}
.modal-overlay.active {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  pointer-events: all;
}

.modal {
  position: relative;
  background: linear-gradient(160deg, rgba(38,38,38,0.92), rgba(20,20,20,0.95));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(242, 122, 58, 0.15);
  transform: scale(0.9) translateY(14px);
  opacity: 0;
  transition: all 0.35s var(--ease-bounce);
  max-height: 85vh;
  overflow-y: auto;
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  cursor: pointer;
}
.modal-close:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-title {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-right: 2rem;
  text-shadow: 0 0 12px rgba(242, 122, 58, 0.4);
}

.modal-body {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}
.modal-body strong { color: var(--primary); }

.modal-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  border: 1px solid var(--card-border);
}

/* ═══════════════════════════════════════════════════════════
   DECORATIVE ROCK EQUALIZER BARS
   (applied to page content headers for rock vibe)
   ═══════════════════════════════════════════════════════════ */

.jogos-heading::before,
.cardapio-cat-title::before,
.game-title::before {
  display: inline-block;
  content: '';
  width: 22px;
  height: 16px;
  margin-right: 6px;
  background:
    linear-gradient(to top, var(--primary) 0%, var(--primary) 100%) 0 0/4px 100% no-repeat,
    linear-gradient(to top, var(--primary) 0%, var(--primary) 100%) 5px 0/4px 100% no-repeat,
    linear-gradient(to top, var(--primary) 0%, var(--primary) 100%) 10px 0/4px 100% no-repeat,
    linear-gradient(to top, var(--primary) 0%, var(--primary) 100%) 15px 0/4px 100% no-repeat,
    linear-gradient(to top, var(--primary) 0%, var(--primary) 100%) 20px 0/4px 100% no-repeat;
}

/* ═══════════════════════════════════════════════════════════
   MODERN UTILITIES (reveal / ripple / page transition)
   ═══════════════════════════════════════════════════════════ */

/* Page routed-in transition (toggled by JS animatePageEnter) */
.page-enter {
  animation: fadeInUp 0.45s var(--ease) both;
}

/* Reveal on scroll (toggled by JS IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple effect scaffolding */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 5;
}

@keyframes rippleAnim {
  to { transform: scale(2.6); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */

/* ── Mobile: hide top navbar, show current page title ── */
@media (max-width: 767.98px) {
  .header-nav { display: none; }
  .header-title { display: block; font-size: 1.05rem; }
  .header-logo { width: 34px; height: 34px; }
}

/* ── Tablet+ (768px): full navbar, hide bottom nav ──── */
@media (min-width: 768px) {
  .header-inner { padding: 0 2rem; }
  .main { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .page-karaoke { padding: 2.5rem 2rem; }
  .page-cardapio { padding-left: 1rem; }
  .page-home { min-height: calc(100vh - var(--header-height)); }
  .page-cardapio { min-height: calc(100vh - var(--header-height)); }
  .page-karaoke { min-height: calc(100vh - var(--header-height)); }
  .page-jogos { min-height: calc(100vh - var(--header-height)); }
  .game-page { min-height: calc(100vh - var(--header-height)); }
}

/* ── Small tablet (640px): cardápio grid wider ────────── */
@media (min-width: 640px) {
  .cardapio-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .eununca-card-container { height: 520px; }
  .pill-row { padding: 1.25rem 1.25rem 0; }
  .tarefa-legend-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Large desktop (1024px) ───────────────────────────── */
@media (min-width: 1024px) {
  .page-cardapio { padding-left: 1rem; }
  .cardapio-grid { gap: 1.1rem; }
  .jogos-grid { gap: 1.6rem; }
  .jogos-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); }
}

/* ── Game wheel / card shrink at 500px ────────────────── */
@media (max-width: 500px) {
  .eununca-card-container { height: 420px; }
  .eununca-card { padding: 30px 20px; }
  .game-title { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .qmp-question { font-size: 1.4rem; }
  .qmp-container { padding: 34px 20px; min-height: 320px; }
  .tarefa-legend-grid { grid-template-columns: 1fr; }
  .roleta-finger, .roleta-loading-ring { transform-origin: center; }
  .roleta-finger { width: 84px; height: 84px; }
  .roleta-loading-ring { width: 104px; height: 104px; }
}

/* ── Small phone (480px) ─────────────────────────────── */
@media (max-width: 480px) {
  .game-page { padding: 15px; gap: 22px; }
  .home-logo { width: 150px; height: 150px; }
  .home-social-icon { width: 46px; height: 46px; }
  .home-info { grid-template-columns: 1fr; }
  .menu-card-name { font-size: 0.85rem; }
  .roleta-title-wrapper { padding-top: 80px; }
}
