/* ==========================================================================
   Ultimate Liquid Vortex Gallery - Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. Fonts
   ========================================================================== */
@font-face { font-family: 'Anton SC'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/anton-sc-400.woff2') format('woff2'); }
@font-face { font-family: 'Anton'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/barlow-300.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 100; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-100.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-300.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Fragment Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/fragment-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/inter-900.woff2') format('woff2'); }
@font-face { font-family: 'Inter Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-display-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter Display'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-display-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter Display'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-display-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-display-700.woff2') format('woff2'); }

/* ==========================================================================
   2. CSS Custom Properties (Variables) & Theming
   ========================================================================== */
:root, :root[data-theme='dark'] {
  --bg-primary: #4341f7;
  --bg-secondary: #3533db;
  --bg-tertiary: #4341f7;
  --text-primary: #ffffff;
  --text-secondary: #e0e0ff;
  --text-muted: #b0b0ea;
  --accent: #ff5500;
  --accent-hover: #ff6a1a;
  --border-color: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.08);
  
  --transition-speed: 0.3s;
  --transition-theme: 0.4s;
  --max-width: 1200px;
}

:root[data-theme='light'] {
  --bg-primary: #4341f7;
  --bg-secondary: #3533db;
  --bg-tertiary: #4341f7;
  --text-primary: #ffffff;
  --text-secondary: #e0e0ff;
  --text-muted: #b0b0ea;
  --accent: #ff5500;
  --accent-hover: #ff6a1a;
  --border-color: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   3. Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;    /* Firefox */
  overscroll-behavior: none;
  scroll-behavior: smooth;
  font-size: 16px;
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-theme) ease, color var(--transition-theme) ease;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   4. Navbar
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-theme) ease, border-color var(--transition-theme) ease, backdrop-filter 0.3s ease;
}

.navbar-wrapper.scrolled {
  background-color: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme='light'] .navbar-wrapper.scrolled {
  background-color: rgba(217, 217, 217, 0.85);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand svg {
  width: 24px;
  height: 24px;
  fill: var(--text-primary);
  transition: fill var(--transition-theme) ease;
}

.navbar-brand-text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.navbar-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
  transition: background-color var(--transition-theme) ease, border-color var(--transition-theme) ease;
}

.theme-toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--text-primary);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color var(--transition-theme) ease;
}

[data-theme='light'] .theme-toggle-knob {
  transform: translateX(20px);
}

/* ==========================================================================
   5. Background Marquee Ticker (Atrás dos boxes)
   ========================================================================== */
.marquee-section {
  width: 100%;
  overflow: hidden;
  border: none;
  background-color: transparent;
  padding: 40px 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
  display: flex;
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
  padding: 15px 0;
}

.marquee-text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 85px);
  text-transform: none;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.3;
  color: #ffffff;
  opacity: 0.92;
  transition: color var(--transition-theme) ease;
  padding: 5px 0;
}

.marquee-separator,
.marquee-dot {
  color: #2424bd;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.marquee-separator {
  margin: 0 30px;
  font-size: clamp(24px, 3.5vw, 45px);
  opacity: 0.92;
}

.marquee-dot {
  margin: 0 16px;
  font-size: 0.85em;
  opacity: 1;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   6. 3D Carousel Section
   ========================================================================== */
.carousel-section {
  position: relative;
  width: 100%;
  height: 74vh;
  min-height: 420px;
  max-height: 700px;
  overflow: hidden;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-theme) ease;
}

.carousel-container {
  perspective: 1000px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

/* Central Game Logo */
.carousel-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(210px, 25vw, 350px);
  height: auto;
  max-height: clamp(145px, 17vw, 240px);
  transform-style: preserve-3d;
  z-index: 1;
}

.carousel-center-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
  animation: logo-3d-float 4s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes logo-3d-float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.04);
  }
}

.carousel-ring,
.carousel-track {
  position: relative;
  width: 205px;
  height: 273px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 205px;
  height: 273px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000000;
  border: none;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* Example static placement for 8 cards */
.carousel-card:nth-child(1) { transform: rotateY(0deg) translateZ(400px); }
.carousel-card:nth-child(2) { transform: rotateY(45deg) translateZ(400px); }
.carousel-card:nth-child(3) { transform: rotateY(90deg) translateZ(400px); }
.carousel-card:nth-child(4) { transform: rotateY(135deg) translateZ(400px); }
.carousel-card:nth-child(5) { transform: rotateY(180deg) translateZ(400px); }
.carousel-card:nth-child(6) { transform: rotateY(225deg) translateZ(400px); }
.carousel-card:nth-child(7) { transform: rotateY(270deg) translateZ(400px); }
.carousel-card:nth-child(8) { transform: rotateY(315deg) translateZ(400px); }

.carousel-card:hover {
  transform: rotateY(var(--rotation, 0deg)) translateZ(420px) scale(1.05); /* JS needs to inject --rotation */
  box-shadow: none;
  z-index: 5;
}

[data-theme='light'] .carousel-card {
  box-shadow: none;
}
[data-theme='light'] .carousel-card:hover {
  box-shadow: none;
}

.card-media-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease-out;
  will-change: filter;
}

.card-video,
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #000000;
}
.carousel-card:nth-child(even) .card-image-placeholder {
  background-color: #000000;
}

.carousel-card-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  border-radius: 9999px;
  padding: 6px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(10px, 1.26vw, 11px);
  letter-spacing: 0.03em;
  text-transform: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  z-index: 4;
  white-space: nowrap;
  cursor: pointer;
  will-change: opacity, transform;
  user-select: none;
}

/* No Road 4x4 Pill Button: Laranja terra #e2721c */
.carousel-card-btn.btn-noroad {
  background: linear-gradient(180deg, #ffa24a 0%, #e2721c 55%, #a24c0e 100%);
  box-shadow: 0 3px 0 #6e330a, 0 5px 14px rgba(226, 114, 28, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-card-btn.btn-noroad:hover {
  background: linear-gradient(180deg, #ffb566 0%, #f6812a 55%, #ba5811 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #6e330a, 0 8px 17px rgba(226, 114, 28, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* Rocco Pill Button: Laranja #c2611f */
.carousel-card-btn.btn-rocco {
  background: linear-gradient(180deg, #f59331 0%, #c2611f 55%, #8a4211 100%);
  box-shadow: 0 3px 0 #5e2c0a, 0 5px 14px rgba(194, 97, 31, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-card-btn.btn-rocco:hover {
  background: linear-gradient(180deg, #ffa845 0%, #d86d24 55%, #9e4c14 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #5e2c0a, 0 8px 17px rgba(194, 97, 31, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* Cade meu Gatinho? Pill Button: Rosa cerejeira #d9789b */
.carousel-card-btn.btn-cade-meu-gatinho {
  background: linear-gradient(180deg, #f3a3bf 0%, #d9789b 55%, #a44a6c 100%);
  box-shadow: 0 3px 0 #71304a, 0 5px 14px rgba(217, 120, 155, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.carousel-card-btn.btn-cade-meu-gatinho:hover {
  background: linear-gradient(180deg, #ffbcd4 0%, #e88aab 55%, #b8577b 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #71304a, 0 8px 17px rgba(217, 120, 155, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* Low Strike Pill Button: Laranja militar #e8732a */
.carousel-card-btn.btn-low-strike {
  background: linear-gradient(180deg, #ffa44f 0%, #e8732a 55%, #a34715 100%);
  box-shadow: 0 3px 0 #6e2f0d, 0 5px 14px rgba(232, 115, 42, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-card-btn.btn-low-strike:hover {
  background: linear-gradient(180deg, #ffbd73 0%, #f5873c 55%, #b9541c 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #6e2f0d, 0 8px 17px rgba(232, 115, 42, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* ZElador Pill Button: Verde-azulado do bone #2f8a86 */
.carousel-card-btn.btn-zelador {
  background: linear-gradient(180deg, #4fc0b6 0%, #2f8a86 55%, #1b5a58 100%);
  box-shadow: 0 3px 0 #123c3b, 0 5px 14px rgba(47, 138, 134, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-card-btn.btn-zelador:hover {
  background: linear-gradient(180deg, #68d8cd 0%, #3aa29d 55%, #226d6a 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #123c3b, 0 8px 17px rgba(47, 138, 134, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* Sem Freio Pill Button: Azul #003c93 */
.carousel-card-btn.btn-semfreio {
  background: linear-gradient(180deg, #1b6bf5 0%, #003c93 55%, #002666 100%);
  box-shadow: 0 3px 0 #001844, 0 5px 14px rgba(0, 60, 147, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-card-btn.btn-semfreio:hover {
  background: linear-gradient(180deg, #2b77ff 0%, #0047ad 55%, #002d75 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #001844, 0 8px 17px rgba(0, 60, 147, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* Star Trek Pill Button: Dourado/Amarelo #d9a20c */
.carousel-card-btn.btn-startrek {
  background: linear-gradient(180deg, #ffdb2a 0%, #d9a20c 55%, #9e7400 100%);
  box-shadow: 0 3px 0 #735300, 0 5px 14px rgba(217, 162, 12, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-card-btn.btn-startrek:hover {
  background: linear-gradient(180deg, #ffe54c 0%, #e6ad10 55%, #b88600 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #735300, 0 8px 17px rgba(217, 162, 12, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

/* Aviando Pill Button: #a12c15 */
.carousel-card-btn.btn-aviando {
  background: linear-gradient(180deg, #d44a2e 0%, #a12c15 55%, #751a08 100%);
  box-shadow: 0 3px 0 #521104, 0 5px 14px rgba(161, 44, 21, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-aviando:hover {
  background: linear-gradient(180deg, #e35a3e 0%, #b8351b 55%, #8a200a 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #521104, 0 8px 17px rgba(161, 44, 21, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Run & Dance Pill Button: Pink Claro */
.carousel-card-btn.btn-run-dance {
  background: linear-gradient(180deg, #ff80bf 0%, #ff3385 55%, #c2004d 100%);
  box-shadow: 0 3px 0 #8a0037, 0 5px 14px rgba(255, 51, 133, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-run-dance:hover {
  background: linear-gradient(180deg, #ff99cc 0%, #ff4d94 55%, #d60055 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #8a0037, 0 8px 17px rgba(255, 51, 133, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Zombie Delivery Pill Button: Vermelho Claro */
.carousel-card-btn.btn-zombie-delivery {
  background: linear-gradient(180deg, #ff6666 0%, #ff2a2a 55%, #b30000 100%);
  box-shadow: 0 3px 0 #800000, 0 5px 14px rgba(255, 42, 42, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-zombie-delivery:hover {
  background: linear-gradient(180deg, #ff8080 0%, #ff4040 55%, #cc0000 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #800000, 0 8px 17px rgba(255, 42, 42, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Keep Fast Pill Button: #ec008c */
.carousel-card-btn.btn-keep-fast {
  background: linear-gradient(180deg, #ff4db8 0%, #ec008c 55%, #b3006a 100%);
  box-shadow: 0 3px 0 #7a0048, 0 5px 14px rgba(236, 0, 140, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-keep-fast:hover {
  background: linear-gradient(180deg, #ff70c7 0%, #fa199d 55%, #c70076 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #7a0048, 0 8px 17px rgba(236, 0, 140, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* GP Racing Pill Button: #d63431 */
.carousel-card-btn.btn-gp-racing {
  background: linear-gradient(180deg, #fa5c58 0%, #d63431 55%, #9e1f1c 100%);
  box-shadow: 0 3px 0 #6e110f, 0 5px 14px rgba(214, 52, 49, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-gp-racing:hover {
  background: linear-gradient(180deg, #ff706d 0%, #eb413e 55%, #b52522 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #6e110f, 0 8px 17px rgba(214, 52, 49, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Pizza Drolivery Pill Button: Laranja Pizza */
.carousel-card-btn.btn-pizza-drolivery {
  background: linear-gradient(180deg, #ff9e2c 0%, #e85d04 55%, #ad3e00 100%);
  box-shadow: 0 3px 0 #732a00, 0 5px 14px rgba(232, 93, 4, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-pizza-drolivery:hover {
  background: linear-gradient(180deg, #ffb356 0%, #fa6d11 55%, #c74700 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #732a00, 0 8px 17px rgba(232, 93, 4, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Dead World Pill Button: Vermelho #8f0a09 */
.carousel-card-btn.btn-dead-world {
  background: linear-gradient(180deg, #bf1a19 0%, #8f0a09 55%, #5e0403 100%);
  box-shadow: 0 3px 0 #3b0202, 0 5px 14px rgba(143, 10, 9, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card-btn.btn-dead-world:hover {
  background: linear-gradient(180deg, #d42725 0%, #a80e0c 55%, #730605 100%);
  transform: translateX(-50%) translateY(-2px) scale(1.05);
  box-shadow: 0 4px 0 #3b0202, 0 8px 17px rgba(143, 10, 9, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Em Breve: Somente a frase centralizada na base (sem formato de botão, sem sombras, sem seta e sem link) */
.carousel-card-btn.btn-embreve {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  text-shadow: none;
  cursor: default;
  pointer-events: none;
  color: #ffffff;
}

.carousel-card-btn.btn-embreve .btn-arrow {
  display: none !important;
}

/* Box 3: Em Breve em Azul #3733ba */
.carousel-card-btn.btn-box3,
.carousel-card-btn.btn-box3 span {
  color: #3733ba;
}

/* Box 5: Em Breve em Laranja #f6611d */
.carousel-card-btn.btn-box5,
.carousel-card-btn.btn-box5 span {
  color: #f6611d;
}

.carousel-card-btn.btn-embreve:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: translateX(-50%);
}

.carousel-card-btn.btn-embreve:active {
  transform: translateX(-50%);
  box-shadow: none;
}

.carousel-card-btn span {
  color: inherit;
  line-height: 1;
}

.carousel-card-btn .btn-arrow {
  width: 9px;
  height: 9px;
  object-fit: contain;
  display: inline-block;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-card-btn:hover .btn-arrow {
  transform: translateX(2px);
}

.card-label,
.carousel-card-title {
  display: none;
}

/* ==========================================================================
   7. Responsive Design
   ========================================================================= */

/* Tablet (810px to 1199px) */
@media (min-width: 810px) and (max-width: 1199px) {
  .carousel-section {
    height: 76vh;
    min-height: 400px;
  }
}

/* Mobile (max-width 809px) */
@media (max-width: 809px) {
  .carousel-section {
    height: 62vh;
    min-height: 340px;
  }

  /* Na versão celular, o texto em movimento fica na parte de cima */
  .marquee-section {
    top: 0;
    bottom: auto;
    transform: none;
    padding: 20px 0 10px;
    z-index: 10;
  }

  .marquee-text {
    font-size: clamp(20px, 5.5vw, 30px);
    line-height: 1.25;
    padding: 2px 0;
  }

  .marquee-separator {
    margin: 0 16px;
    font-size: clamp(14px, 3.5vw, 20px);
  }
  
  .carousel-ring, .carousel-track, .carousel-card {
    width: 150px;
    height: 200px;
  }

  .carousel-card-btn {
    bottom: 10px;
    padding: 4px 11px;
    gap: 4px;
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .carousel-card-btn .btn-arrow {
    width: 7px;
    height: 7px;
  }

  .carousel-card-btn.btn-embreve { bottom: 10px; }
}

/* ==========================================================================
   8. PORTAL — Faixa de topo (banner + logo), grade de jogos e rodapé
   ========================================================================== */

.portal-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   8.1 Faixa de topo: espaço de anúncio + logo
   -------------------------------------------------------------------------- */
.portal-intro {
  background-color: var(--bg-primary);
  padding: clamp(30px, 4.5vw, 62px) 0 clamp(32px, 4vw, 54px);
  position: relative;
  z-index: 3;
}

.portal-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.portal-intro-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portal-intro-logo img {
  width: clamp(200px, 26vw, 340px);
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.28));
}

/* --------------------------------------------------------------------------
   8.2 Grade de jogos
   -------------------------------------------------------------------------- */
.games-section {
  background-color: var(--bg-primary);
  padding: 0 0 clamp(56px, 8vw, 110px);
  position: relative;
  z-index: 3;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 3.4vw, 50px) clamp(18px, 2.4vw, 34px);
  align-items: start;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-self: start;
}

/* A capa: é ela que tem a proporção, o arredondamento e a sombra */
.game-card-link {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 944 / 1400;
  border-radius: 14px;
  overflow: hidden;
  background-color: #000000;
  color: inherit;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1),
              box-shadow 0.28s ease;
}

.game-card:hover .game-card-link,
.game-card-link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.game-card-link:focus-visible {
  outline: 3px solid #e0fc89;
  outline-offset: 3px;
}

.game-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #000000;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.game-card:hover .game-card-media img {
  transform: scale(1.045);
}

/* Texto descritivo embaixo de cada card */
.game-card-info {
  padding: 14px 2px 0;
}

.game-card-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 7px;
}

.game-card-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.2;
  margin: 0;
}

.game-card-title a {
  color: #ffffff;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.game-card-title a:hover {
  color: #e0fc89;
  border-bottom-color: #e0fc89;
}

.game-card-genre {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.game-card-desc {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Espaço de anúncio acompanha só a altura da capa */
.ad-slot--card {
  align-self: start;
}

/* Botão JOGAR — pílula branca (padrão do layout do portal) */
.game-card-btn {
  position: absolute;
  bottom: clamp(14px, 1.6vw, 22px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #3733ba;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 4px 0 rgba(36, 36, 189, 0.35),
              0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.game-card:hover .game-card-btn {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 0 rgba(36, 36, 189, 0.35),
              0 12px 24px rgba(0, 0, 0, 0.34);
}

.game-card-btn .btn-arrow {
  width: 10px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
  /* recolore a seta (originalmente branca) para o azul do texto */
  filter: brightness(0) saturate(100%) invert(22%) sepia(66%) saturate(2600%) hue-rotate(235deg) brightness(85%) contrast(95%);
  transition: transform 0.2s ease;
}

.game-card:hover .game-card-btn .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   8.3 Espaços de anúncio (AdSense)
   -------------------------------------------------------------------------- */
.ad-slot {
  position: relative;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Só o espaço com anúncio de verdade ganha moldura. Espaço sem anúncio é
   removido do layout pelo js/ads.js, nunca vira retângulo branco. */
.ad-slot.is-live {
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ad-slot.is-live .adsbygoogle { background: transparent; }

/* Rótulo obrigatório para não confundir anúncio com conteúdo do site.
   "Publicidade" e "Anúncio" são os únicos termos que o AdSense permite. */
.ad-rotulo {
  align-self: flex-start;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

/* Bloco horizontal do topo, ao lado do logo */
.ad-slot--billboard {
  width: 100%;
  min-height: 250px;
  aspect-ratio: 970 / 250;
}

/* Bloco que ocupa o lugar de um card na grade */
.ad-slot--card {
  aspect-ratio: 944 / 1400;
  border-radius: 14px;
}

.ad-slot .adsbygoogle {
  display: block;
  width: 100%;
  height: 100%;
}

/* Estado sem AdSense configurado: retângulo branco identificado */
.ad-slot.is-placeholder::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(55, 51, 186, 0.28);
  border-radius: 4px;
  pointer-events: none;
}

.ad-slot-label {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(55, 51, 186, 0.45);
  text-align: center;
  padding: 0 16px;
  user-select: none;
}

.ad-slot.is-live .ad-slot-label { display: none; }

/* --------------------------------------------------------------------------
   8.4 Rodapé
   -------------------------------------------------------------------------- */
.portal-footer {
  background-color: #4b49ff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(40px, 6vw, 76px) 0;
  position: relative;
  z-index: 3;
}

.portal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
}

.portal-footer-logo {
  width: clamp(170px, 22vw, 290px);
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.portal-footer-tagline {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 22px);
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.portal-legal {
  margin-top: clamp(24px, 3vw, 40px);
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.portal-legal a { text-decoration: underline; }
.portal-legal a:hover { color: #ffffff; }

/* --------------------------------------------------------------------------
   8.5 Responsivo do portal
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .portal-intro-logo { order: -1; }

  .portal-intro-logo img { width: clamp(170px, 42vw, 240px); }

  .portal-h1 { font-size: 14px; margin-top: 10px; }

  .ad-slot--billboard {
    aspect-ratio: 728 / 250;
    min-height: 250px;
  }
}

@media (max-width: 560px) {
  .portal-container { padding: 0 16px; }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game-card { border-radius: 10px; }

  .game-card-btn {
    padding: 7px 14px;
    gap: 6px;
    letter-spacing: 0.04em;
  }

  .ad-slot--billboard {
    aspect-ratio: 320 / 250;
    min-height: 250px;
    max-height: 300px;
  }

  .portal-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-card,
  .game-card-media img,
  .game-card-btn {
    transition: none !important;
  }
  .game-card:hover { transform: none; }
  .game-card:hover .game-card-media img { transform: none; }
}

/* ==========================================================================
   9. PORTAL — Conteúdo textual (H1, sobre, jogos, FAQ) e links do rodapé
   ========================================================================== */

/* Título principal da página, na faixa do logo */
.portal-h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  margin: 14px 0 0;
  opacity: 0.92;
}

.portal-copy {
  background-color: var(--bg-primary);
  padding: 0 0 clamp(48px, 7vw, 96px);
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.copy-h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: clamp(36px, 5vw, 64px) 0 clamp(14px, 1.6vw, 22px);
  color: #ffffff;
}

.copy-h2:first-child { margin-top: 0; }

.copy-lead,
.copy-text {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.copy-lead {
  font-weight: 600;
  font-size: clamp(16px, 1.45vw, 21px);
  color: #ffffff;
}

/* --- FAQ --- */
.faq-list {
  max-width: 78ch;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-q {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.4;
  color: #ffffff;
  padding: 16px 34px 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q:hover { color: #e0fc89; }

.faq-q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
  margin: 0 0 18px;
  padding-right: 34px;
  color: rgba(255, 255, 255, 0.86);
}

/* --- Links do rodapé --- */
.portal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(16px, 2.5vw, 30px);
  margin-top: clamp(26px, 3.5vw, 44px);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

.portal-links a {
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.portal-links a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.portal-legal { margin-top: 14px; }

/* --- Páginas de texto (privacidade, termos) --- */
.legal-page {
  background-color: var(--bg-primary);
  min-height: 100vh;
  padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px);
  color: #ffffff;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.legal-header img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
}

.legal-back {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.2s ease;
}

.legal-back:hover { background: rgba(255, 255, 255, 0.26); }

.legal-content { max-width: 74ch; }

.legal-content h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.legal-updated {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 clamp(24px, 3vw, 40px);
}

.legal-content h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.3;
  margin: clamp(28px, 3.5vw, 44px) 0 12px;
}

.legal-content p,
.legal-content li {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-content li { margin-bottom: 8px; }

.legal-content a {
  color: #e0fc89;
  border-bottom: 1px solid rgba(224, 252, 137, 0.5);
}

.legal-content a:hover { border-bottom-color: #e0fc89; }

.legal-content strong { font-weight: 700; color: #ffffff; }

/* --- Responsivo do conteúdo --- */
@media (max-width: 760px) {
  .legal-header { justify-content: center; }
}

/* ==========================================================================
   10. Páginas internas — cabeçalho, páginas de jogo e índice
   ========================================================================== */

/* --- Cabeçalho com navegação --- */
.site-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  position: relative;
  z-index: 20;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-logo img {
  width: clamp(110px, 13vw, 150px);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  flex-wrap: wrap;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: #ffffff;
  border-bottom-color: #e0fc89;
}

/* --- Página de jogo --- */
.game-page {
  background-color: var(--bg-primary);
  color: #ffffff;
  padding: clamp(22px, 3vw, 40px) 0 clamp(50px, 7vw, 96px);
  min-height: 60vh;
}

.breadcrumb {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.breadcrumb a { color: rgba(255, 255, 255, 0.82); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: #ffffff; border-bottom-color: #ffffff; }
.breadcrumb span { margin: 0 7px; opacity: 0.5; }
.breadcrumb strong { color: #ffffff; font-weight: 700; }

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 50px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.game-hero-capa picture,
.game-hero-capa img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.game-hero-capa img {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.game-hero-genero {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.game-hero-info h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.game-hero-resumo {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
  margin: 0 0 24px;
}

.botao-jogar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 9999px;
  background: #ffffff;
  color: #3733ba;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.06em;
  box-shadow: 0 5px 0 rgba(36, 36, 189, 0.4), 0 12px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.botao-jogar:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(36, 36, 189, 0.4), 0 16px 32px rgba(0, 0, 0, 0.36);
}

.botao-jogar--sec {
  background: #e0fc89;
  color: #23228f;
  box-shadow: 0 5px 0 rgba(35, 34, 143, 0.35), 0 12px 26px rgba(0, 0, 0, 0.28);
}

.game-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.game-hero-meta strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 2px;
}

.game-nota {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-left: 3px solid #e0fc89;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0 8px 8px 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

/* --- Relacionados --- */
.game-relacionados { margin-top: clamp(44px, 6vw, 80px); }

.game-relacionados h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  margin: 0 0 20px;
}

.relacionados-grade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.relacionado { display: block; }

.relacionado picture,
.relacionado img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.relacionado img {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease;
}

.relacionado:hover img { transform: translateY(-5px); }

.relacionado-nome {
  display: block;
  margin-top: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.relacionado:hover .relacionado-nome { color: #e0fc89; }

/* --- Índice de jogos --- */
.indice-h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.indice-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 46px);
  margin-top: clamp(28px, 4vw, 48px);
}

.indice-card {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
}

.indice-card-capa picture,
.indice-card-capa img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.indice-card-capa img {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease;
}

.indice-card-capa:hover img { transform: translateY(-5px); }

.indice-card-info h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  margin: 0 0 8px;
}

.indice-card-info h2 a { color: #ffffff; }
.indice-card-info h2 a:hover { color: #e0fc89; }

.indice-card-info p {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  margin: 10px 0 0;
}

/* --- Responsivo das páginas internas --- */
@media (max-width: 900px) {
  .game-corpo { grid-template-columns: minmax(0, 1fr); }
  .ad-slot--lateral { position: static; max-width: 340px; margin: 0 auto; }
  .relacionados-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indice-grade { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .game-hero { grid-template-columns: minmax(0, 1fr); }
  .game-hero-capa { max-width: 260px; }
  .botao-jogar { width: 100%; justify-content: center; }
  .site-header-inner { justify-content: center; }
  .indice-card { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); }
}


/* ==========================================================================
   11. Player do jogo, formatos de anúncio e layout das páginas internas
   ========================================================================== */

/* --------------------------------------------------------------------------
   11.1 Formatos de anúncio
   -------------------------------------------------------------------------- */

/* Horizontal responsivo — topo de página e abaixo do player.
   Preenche com leaderboard (728x90), billboard (970x250) ou banner de celular
   (320x100), conforme a largura disponível. */
.ad-slot--horizontal {
  width: 100%;
  margin: clamp(20px, 3vw, 34px) 0;
}
.ad-slot--horizontal.is-live { min-height: 116px; }

/* Vertical 300x600 (half page) fixo na lateral. O formato de maior tempo de
   visualização do AdSense: acompanha a rolagem enquanto a pessoa lê. */
.ad-slot--vertical { width: 300px; margin: 0 auto; }
.ad-slot--vertical.is-live {
  position: sticky;
  top: 20px;
  min-height: 624px;
}

/* Nativo no artigo — entra entre os blocos de texto com a tipografia da página. */
.ad-slot--artigo {
  width: 100%;
  margin: clamp(26px, 4vw, 44px) 0;
}
.ad-slot--artigo.is-live { min-height: 140px; }

/* Nativo na lista — imita o formato dos cards da grade. */
.ad-slot--feed { width: 100%; }
.ad-slot--feed.is-live { min-height: 140px; }

/* Grade de recomendações, só no fim da página. */
.ad-slot--multiplex {
  width: 100%;
  margin: clamp(30px, 4vw, 52px) 0 0;
}
.ad-slot--multiplex.is-live { min-height: 260px; }

/* --------------------------------------------------------------------------
   11.2 Player
   -------------------------------------------------------------------------- */
/* Sem coluna lateral: o player ocupa a largura toda do conteúdo. */
.jogo-topo { margin-bottom: clamp(30px, 4vw, 50px); }

.jogo-palco { min-width: 0; }

.jogo-palco h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.jogo-palco .game-hero-resumo { margin-bottom: 20px; }

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #05051f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
}

.player-capa {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.player-capa picture,
.player-capa img {
  display: block;
  width: 100%;
  height: 100%;
}

/* A arte é 16:9, igual ao player: nada é cortado. O escurecimento é leve,
   só o suficiente para o botão ter contraste sobre a imagem. */
.player-capa img {
  object-fit: cover;
  filter: brightness(0.72) saturate(1.02);
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(ellipse at center, rgba(5, 5, 31, 0.1) 0%, rgba(5, 5, 31, 0.62) 100%);
  text-align: center;
  padding: 16px;
}

.player-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  border: none;
  border-radius: 9999px;
  background: #ffffff;
  color: #3733ba;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(36, 36, 189, 0.45), 0 14px 30px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.player-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 rgba(36, 36, 189, 0.45), 0 20px 38px rgba(0, 0, 0, 0.48);
}

.player-play-icone { font-size: 0.85em; line-height: 1; }

.player-aviso {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.player-quadro {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: #05051f;
}

.player-barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 14px;
  background: rgba(0, 0, 0, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.player-titulo {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.player-botao {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.16);
  border: none;
  border-radius: 9999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.player-botao:hover { background: rgba(255, 255, 255, 0.3); }

.player.esta-jogando { aspect-ratio: auto; height: min(78vh, 700px); }

/* --------------------------------------------------------------------------
   11.3 Corpo do texto da página de jogo
   -------------------------------------------------------------------------- */
.jogo-corpo { margin-top: clamp(14px, 2vw, 24px); }
.jogo-corpo .game-texto { max-width: 72ch; }

.jogo-corpo .game-hero-meta {
  margin: 0 0 22px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ver-todos {
  margin: clamp(22px, 3vw, 34px) 0 0;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.ver-todos a {
  color: #e0fc89;
  border-bottom: 1px solid rgba(224, 252, 137, 0.45);
  padding-bottom: 2px;
}

.ver-todos a:hover { border-bottom-color: #e0fc89; }

.indice-card-jogar {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #e0fc89;
  border-bottom: 1px solid rgba(224, 252, 137, 0.45);
  padding-bottom: 2px;
}

.indice-card-jogar:hover { border-bottom-color: #e0fc89; }

/* --------------------------------------------------------------------------
   11.5 Tipografia do texto da página de jogo
   -------------------------------------------------------------------------- */
.game-texto h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.25;
  margin: clamp(34px, 4.5vw, 56px) 0 16px;
}

.game-texto p {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 18px;
}

.lista-passos,
.lista-dicas {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 24px;
  margin: 0 0 10px;
}

.lista-passos { list-style: decimal; }
.lista-dicas  { list-style: disc; }
.lista-passos li,
.lista-dicas li { margin-bottom: 12px; padding-left: 4px; }

.tabela-controles {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  margin: 0 0 10px;
}

.tabela-controles th,
.tabela-controles td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
}

.tabela-controles th {
  width: 34%;
  font-weight: 700;
  color: #e0fc89;
  white-space: nowrap;
}

.lista-recursos { margin: 0 0 10px; font-family: 'Quicksand', sans-serif; }

.lista-recursos dt {
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 17px);
  color: #ffffff;
  margin-top: 20px;
}

.lista-recursos dt:first-child { margin-top: 0; }

.lista-recursos dd {
  margin: 5px 0 0;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   11.4 Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .player.esta-jogando { height: min(68vh, 520px); }
  .player-play { padding: 13px 26px; }
  .player-barra { justify-content: center; }
}

/* ==========================================================================
   12. Espaço de anúncio reservado (modo de teste)
   --------------------------------------------------------------------------
   Aparece só em localhost por padrão — ver "mostrarEspacos" em js/ads.js.
   No domínio publicado, espaço sem anúncio é removido do layout: caixa vazia
   lê como página em construção e isso reprova na revisão do AdSense.
   ========================================================================== */
.ad-slot.is-reservado {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0 10px,
    rgba(255, 255, 255, 0.09) 10px 20px
  );
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
}

.ad-reserva-chave {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e0fc89;
}

.ad-reserva-local {
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.ad-reserva-tipo {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

/* alturas mínimas para o espaço reservado ocupar o tamanho real do anúncio */
.ad-slot--horizontal.is-reservado { min-height: 250px; }
.ad-slot--artigo.is-reservado     { min-height: 160px; }
.ad-slot--feed.is-reservado       { min-height: 160px; }
.ad-slot--multiplex.is-reservado  { min-height: 280px; }
.ad-slot--vertical.is-reservado   { min-height: 600px; width: 300px; }
.ad-slot--card.is-reservado       { aspect-ratio: 944 / 1400; }
.ad-slot--billboard.is-reservado  { aspect-ratio: 970 / 250; min-height: 250px; }

@media (max-width: 620px) {
  .ad-slot--horizontal.is-reservado { min-height: 200px; }
  .ad-slot--multiplex.is-reservado  { min-height: 220px; }
  .ad-reserva-local { font-size: 12px; }
}

/* ==========================================================================
   13. GALERIA DE TELAS DOS JOGOS
   ========================================================================== */

.galeria-telas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 26px 0 34px;
}

.galeria-telas figure {
  margin: 0;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  overflow: hidden;
}

.galeria-telas picture,
.galeria-telas img {
  display: block;
  width: 100%;
  height: auto;
}

.galeria-telas figcaption {
  padding: 11px 14px 13px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 640px) {
  .galeria-telas { grid-template-columns: 1fr; gap: 14px; }
}


/* ==========================================================================
   14. SELETOR DE IDIOMA (PT / EN)
   ========================================================================== */

.seletor-idioma {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  margin-left: 18px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.seletor-idioma a,
.seletor-idioma .idioma-atual,
.seletor-idioma .idioma-off {
  display: flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
}

.seletor-idioma a {
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.18s ease, color 0.18s ease;
}

.seletor-idioma a:hover,
.seletor-idioma a:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.seletor-idioma .idioma-atual {
  background: #4341f7;
  color: #fff;
}

.seletor-idioma .idioma-off {
  color: rgba(255, 255, 255, 0.26);
  cursor: default;
}

@media (max-width: 720px) {
  .seletor-idioma { margin-left: 10px; font-size: 0.68rem; }
  .seletor-idioma a,
  .seletor-idioma .idioma-atual,
  .seletor-idioma .idioma-off { padding: 4px 8px; }
}

/* ==========================================================================
   15. Selo de plataforma (abaixo do titulo do jogo e no card da lista)
   ========================================================================== */
.selo-plataforma {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 7px 11px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  line-height: 0;
  cursor: help;
}

.selo-icone {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.indice-card-info .selo-plataforma {
  margin: 8px 0 0;
  padding: 6px 10px;
}

.indice-card-info .selo-icone {
  width: 15px;
  height: 15px;
}
