/* ========================================================
   Horizon Games — Main Stylesheet
   Clean rewrite: zero duplicates, single source of truth
   ======================================================== */

/* --------------------------------------------------
   0. Design Tokens
   -------------------------------------------------- */
:root {
  --bg: #080808;
  --bg-alt: #0c0c0c;
  --bg-card: #111;
  --border: #1a1a1a;
  --border-hover: #2a2a2a;
  --green: #00e55c;
  --green-soft: rgba(0,229,92,.08);
  --green-glow: rgba(0,229,92,.15);
  --purple: #8b5cf6;
  --purple-soft: rgba(139,92,246,.07);
  --orange: #f97316;
  --orange-soft: rgba(249,115,22,.07);
  --gold: #fbbf24;
  --silver: #94a3b8;
  --bronze: #cd7f32;
  --text: #d4d4d4;
  --text-muted: #777;
  --text-dim: #444;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Syne', system-ui, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* --------------------------------------------------
   1. Reset + Global
   -------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

::selection {
  background: var(--green);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin-bottom: 0;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------
   2. Container + Section Utilities
   -------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-label {
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  max-width: 550px;
  font-size: .9375rem;
  margin-bottom: 32px;
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--green);
  margin-bottom: 32px;
}

.text-center {
  text-align: center;
}

.text-green {
  color: var(--green);
}

/* --------------------------------------------------
   3. Header — Premium Gaming Nav
   -------------------------------------------------- */
#hdr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 100;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .3s, box-shadow .3s;
}

#hdr.scrolled {
  background: rgba(8,8,8,.96);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

/* Linha de gradiente animada no bottom do header */
.hdr-gradient-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 30%, var(--purple) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: gradientSlide 6s linear infinite;
  opacity: .4;
}

#hdr.scrolled .hdr-gradient-line {
  opacity: .7;
}

@keyframes gradientSlide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.hdr-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* Logo */
.hdr-logo {
  flex-shrink: 0;
}

.hdr-logo img {
  height: 68px;
  width: auto;
  transition: height .2s;
}

/* Nav desktop */
#nav {
  display: flex;
  gap: 2px;
  align-items: center;
}

/* Ícones ocultos no desktop (visíveis no mobile) */
.nav-icon {
  display: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-icon i,
.nav-icon svg {
  width: 18px;
  height: 18px;
}

#nav a {
  position: relative;
  height: 36px;
  padding: 0 14px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

/* Underline que cresce do centro no hover */
#nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}

#nav a:hover {
  color: #fff;
}

#nav a:hover::after {
  width: 60%;
}

#nav a.active {
  color: var(--green);
}

#nav a.active::after {
  width: 70%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}

/* CTA desktop */
.hdr-cta {
  height: 36px;
  padding: 0 20px;
  font-size: .72rem;
  font-weight: 700;
  background: var(--green);
  color: #000;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all .25s var(--ease);
  box-shadow: 0 0 20px rgba(0,229,92,.15);
  animation: ctaPulse 3s ease-in-out infinite;
}

.hdr-cta:hover {
  background: #00c94f;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0,229,92,.3);
  color: #000;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,229,92,.15); }
  50% { box-shadow: 0 0 35px rgba(0,229,92,.25); }
}

/* Hamburger */
.hdr-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  z-index: 101;
  cursor: pointer;
  transition: border-color .2s;
}

.hdr-toggle:hover {
  border-color: var(--green);
}

.hdr-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s, background .3s;
}

#hdr.open .hdr-toggle {
  border-color: var(--green);
}

#hdr.open .hdr-toggle span {
  background: var(--green);
}

#hdr.open .hdr-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hdr.open .hdr-toggle span:nth-child(2) {
  opacity: 0;
}

#hdr.open .hdr-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay escuro quando menu mobile aberto */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

#hdr.open ~ .nav-overlay {
  opacity: 1;
  pointer-events: all;
}

/* --------------------------------------------------
   4. Main Offset
   -------------------------------------------------- */
main {
  padding-top: 64px;
}

/* --------------------------------------------------
   5. Hero
   -------------------------------------------------- */
.hero {
  position: relative;
  height: 85vh;
  max-height: 700px;
  min-height: 500px;
  margin-top: -64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -60px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s var(--ease);
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(8,8,8,.2) 0%, rgba(8,8,8,.5) 50%, rgba(8,8,8,.95) 100%);
}

.hero-body {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  background: var(--green-soft);
  border: 1px solid rgba(0,229,92,.15);
  font-size: .6875rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  animation: pulseBorder 2s infinite;
}

.hero-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseGlow 1.5s infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,229,92,.2);
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  max-width: 460px;
  margin-bottom: 24px;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}

.hero-dot.active {
  background: var(--green);
  box-shadow: 0 0 6px var(--green-glow);
}

/* --------------------------------------------------
   6. Buttons
   -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}

.btn-green {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 20px var(--green-glow);
}

.btn-green:hover {
  background: #00c94f;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0,229,92,.25);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  padding: 0;
  height: auto;
  border: none;
}

.btn-ghost:hover {
  opacity: .7;
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: .75rem;
}

.btn-orange {
  background: var(--orange);
  color: #000;
}

.btn-orange:hover {
  background: #e56a10;
  transform: translateY(-1px);
}

/* --------------------------------------------------
   7. Page Head
   -------------------------------------------------- */
.page-head {
  padding: 40px 0 0;
  text-align: center;
}

/* --------------------------------------------------
   8. Announce Bar
   -------------------------------------------------- */
.announce-bar {
  background: var(--green-soft);
  border-bottom: 1px solid rgba(0,229,92,.08);
  padding: 8px 24px;
  text-align: center;
  font-size: .8125rem;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announce-bar a {
  text-decoration: underline;
  font-weight: 600;
}

.announce-close {
  background: none;
  border: none;
  color: var(--green);
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  line-height: 1;
}

/* --------------------------------------------------
   9. About
   -------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 10px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}

.stat-label {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --------------------------------------------------
   10. Features
   -------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-hover);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 1.1rem;
}

.feature-card h4 {
  font-size: .88rem;
  margin-bottom: 4px;
  color: #fff;
}

.feature-card p {
  font-size: .82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   11. Games
   -------------------------------------------------- */
.jogos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.game-img {
  height: 160px;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
}

.game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}

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

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,229,92,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-info {
  padding: 14px;
}

.game-info h3 {
  font-size: .85rem;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.game-info p {
  font-size: .78rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: .6rem;
  background: var(--orange);
  color: #000;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
}

/* --------------------------------------------------
   12. Gallery + Lightbox
   -------------------------------------------------- */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.gal-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  border: 1px solid var(--border);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}

.gal-item:hover img {
  transform: scale(1.03);
}

.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,229,92,.05);
  opacity: 0;
  transition: opacity .2s;
}

.gal-item:hover::after {
  opacity: 1;
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.lb-close:hover {
  background: rgba(255,255,255,.12);
}

.lb-prev {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.lb-prev:hover {
  background: rgba(255,255,255,.12);
}

.lb-next {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.lb-next:hover {
  background: rgba(255,255,255,.12);
}

.lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   13. Plans
   -------------------------------------------------- */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.plan-tab {
  height: 36px;
  padding: 0 16px;
  font-size: .78rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
}

.plan-tab.active {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

.plan-panel {
  display: none;
}

.plan-panel.active {
  display: block;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.plan-card {
  background: rgba(17,17,17,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.plan-card:hover {
  border-color: var(--border-hover);
}

.plan-card.popular {
  border-color: rgba(0,229,92,.25);
  position: relative;
}

.plan-card.popular::before {
  content: 'Mais Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #fff;
}

.plan-price {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.plan-detail {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-features {
  list-style: none;
  margin-bottom: 16px;
  text-align: left;
}

.plan-features li {
  font-size: .78rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  margin-right: 8px;
  font-weight: 700;
}

/* --------------------------------------------------
   14. Events
   -------------------------------------------------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: border-color .2s;
}

.event-card:hover {
  border-color: var(--border-hover);
}

.event-date {
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.event-date .day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
}

.event-date .month {
  font-size: .65rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-info h4 {
  font-size: .85rem;
  margin-bottom: 2px;
  color: #fff;
}

.event-info p {
  font-size: .75rem;
  color: var(--text-muted);
}

.event-tag {
  font-size: .6rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.event-tag.torneio {
  background: var(--orange-soft);
  color: var(--orange);
}

.event-tag.noite_tematica {
  background: var(--purple-soft);
  color: var(--purple);
}

.event-tag.promocao {
  background: var(--green-soft);
  color: var(--green);
}

/* --------------------------------------------------
   15. Reviews
   -------------------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.review-card {
  background: rgba(17,17,17,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.review-stars {
  color: var(--gold);
  font-size: .78rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: .82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.6;
}

.review-author {
  font-size: .75rem;
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------
   16. FAQ
   -------------------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 6px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color .2s;
}

.faq-item.open {
  border-color: rgba(0,229,92,.12);
}

.faq-btn {
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color .2s;
}

.faq-btn:hover {
  color: var(--green);
}

.faq-icon {
  font-size: .9rem;
  color: var(--text-muted);
  transition: transform .2s, color .2s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}

.faq-body-inner {
  padding: 0 18px 14px;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------
   17. Newsletter
   -------------------------------------------------- */
.newsletter-box {
  background: rgba(17,17,17,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 380px;
  margin: 12px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: .85rem;
  font-family: inherit;
  transition: border-color .2s;
}

.newsletter-form input:focus {
  border-color: var(--green);
  outline: none;
}

.newsletter-msg {
  font-size: .78rem;
  margin-top: 8px;
  text-align: center;
}

.newsletter-msg.ok {
  color: var(--green);
}

.newsletter-msg.err {
  color: #e53e3e;
}

/* --------------------------------------------------
   18. Campeonato
   -------------------------------------------------- */
.camp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.camp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.camp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  border-color: var(--border-hover);
}

.camp-banner {
  height: 120px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.camp-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,.9) 100%);
}

.camp-status {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: .6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 2;
}

.camp-status.inscricoes {
  background: var(--green-soft);
  color: var(--green);
}

.camp-status.em_andamento {
  background: var(--orange-soft);
  color: var(--orange);
}

.camp-status.finalizado {
  background: rgba(68,68,68,.2);
  color: var(--text-dim);
}

.camp-body {
  padding: 16px;
}

.camp-body h3 {
  font-size: .88rem;
  margin-bottom: 4px;
  color: #fff;
}

.camp-body p {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.camp-meta {
  display: flex;
  gap: 12px;
  font-size: .72rem;
  color: var(--text-dim);
}

/* --------------------------------------------------
   19. Countdown
   -------------------------------------------------- */
.countdown-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.cd-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 0;
  width: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cd-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
}

.cd-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.cd-label {
  font-size: .6rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: .5px;
}

/* --------------------------------------------------
   20. Teams
   -------------------------------------------------- */
.times-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: border-color .2s;
}

.team-card:hover {
  border-color: var(--border-hover);
}

.team-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.team-card h4 {
  font-size: .82rem;
  color: #fff;
}

.team-card p {
  font-size: .72rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   21. Contact
   -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.contact-card {
  background: rgba(17,17,17,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: border-color .2s;
}

.contact-card:hover {
  border-color: var(--border-hover);
}

/* --------------------------------------------------
   22. Footer
   -------------------------------------------------- */
footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: .82rem;
  color: var(--text-dim);
  max-width: 260px;
}

.footer-links h4 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: 5px;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-links p {
  font-size: .78rem;
  color: var(--text-dim);
}

.footer-bar {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 14px 0 16px;
  text-align: center;
}

.footer-bar p {
  font-size: .72rem;
  color: var(--text-dim);
}

/* --------------------------------------------------
   23. WhatsApp Float + Back to Top
   -------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
  transition: transform .2s;
  border: none;
}

.wa-float:hover {
  transform: scale(1.05);
}

.wa-float svg {
  width: 22px;
  height: 22px;
}

.back-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, border-color .2s, color .2s;
  z-index: 50;
  cursor: pointer;
  font-size: .9rem;
}

.back-top.show {
  opacity: 1;
  pointer-events: all;
}

.back-top:hover {
  border-color: var(--green);
  color: var(--green);
}

/* --------------------------------------------------
   24. Scroll Reveal
   -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.vis {
  opacity: 1;
  transform: none;
}

.stagger > :nth-child(1) { transition-delay: 0ms; }
.stagger > :nth-child(2) { transition-delay: 50ms; }
.stagger > :nth-child(3) { transition-delay: 100ms; }
.stagger > :nth-child(4) { transition-delay: 150ms; }
.stagger > :nth-child(5) { transition-delay: 200ms; }
.stagger > :nth-child(6) { transition-delay: 250ms; }

/* --------------------------------------------------
   25. Keyframe Animations
   -------------------------------------------------- */
@keyframes pulseBorder {
  0%, 100% { border-color: rgba(0,229,92,.15); }
  50% { border-color: rgba(0,229,92,.35); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

@keyframes goldShimmer {
  0%, 100% { box-shadow: 0 0 0 rgba(251,191,36,0); }
  50% { box-shadow: 0 0 12px rgba(251,191,36,.15); }
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --------------------------------------------------
   26. Blog
   -------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.post-card-img {
  height: 160px;
  overflow: hidden;
  background: var(--bg);
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 14px;
}

.post-card-body h3 {
  font-size: .88rem;
  margin-bottom: 4px;
  color: #fff;
}

.post-card-meta {
  font-size: .72rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.post-card-link {
  font-size: .78rem;
  color: var(--green);
  font-weight: 600;
}

.post-detail {
  max-width: 700px;
  margin: 0 auto;
}

.post-detail h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.post-detail p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------
   27. Ranking
   -------------------------------------------------- */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-dim);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-weight: 600;
}

.ranking-table td {
  font-size: .82rem;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  color: var(--text-muted);
}

.ranking-table .pos-1 td {
  color: var(--gold);
}

.ranking-table .pos-2 td {
  color: var(--silver);
}

.ranking-table .pos-3 td {
  color: var(--bronze);
}

.ranking-medal {
  font-size: 1rem;
}

.ranking-group {
  margin-bottom: 24px;
}

/* --------------------------------------------------
   28. Estrutura (Equipment)
   -------------------------------------------------- */
.equip-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.equip-item.reverse {
  direction: rtl;
}

.equip-item.reverse > * {
  direction: ltr;
}

.equip-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  display: grid;
  place-items: center;
}

.equip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-info h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}

.equip-info p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.equip-type {
  display: inline-block;
  font-size: .65rem;
  text-transform: uppercase;
  background: var(--green-soft);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  font-weight: 600;
}

.equip-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.equip-spec {
  font-size: .72rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* --------------------------------------------------
   29. Regulation Tabs
   -------------------------------------------------- */
.reg-tab-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.reg-tab-btn {
  padding: 8px 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.reg-tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.reg-tab-panel {
  display: none;
}

.reg-tab-panel.active {
  display: block;
}

.reg-content h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}

.reg-content p {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.map-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-chip {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   30. Camp Detail
   -------------------------------------------------- */
.camp-detail-hero {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.camp-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,8,8,.9) 100%);
}

.camp-info-strip {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.camp-info-item {
  text-align: center;
}

.camp-info-item .value {
  font-size: .88rem;
  font-weight: 700;
  color: var(--green);
}

.camp-info-item .label {
  font-size: .68rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --------------------------------------------------
   31. Forms
   -------------------------------------------------- */
.form-container,
.camp-form {
  background: rgba(17,17,17,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: .85rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--green);
  outline: none;
}

.player-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.player-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.form-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  accent-color: var(--green);
  margin-top: 2px;
}

.form-check label {
  font-size: .82rem;
  color: var(--text-muted);
}

.player-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.player-detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-info {
  background: var(--green-soft);
  border: 1px solid rgba(0,229,92,.12);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.payment-info p {
  font-size: .82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   32. Responsive — 1024px
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .hdr-inner {
    max-width: 100%;
  }

  #nav {
    gap: 2px;
  }

  #nav a {
    font-size: .625rem;
    padding: 0 10px;
  }
}

/* --------------------------------------------------
   33. Responsive — 768px (Mobile)
   -------------------------------------------------- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  section { padding: 60px 0; }

  /* ===== HEADER MOBILE ===== */
  #hdr { height: 68px; }
  .hdr-inner { position: relative; padding: 0 16px; }

  /* Logo: centralizada e maior */
  .hdr-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
  }

  .hdr-logo img { height: 56px; }

  /* CTA: esconde no mobile */
  .hdr-cta { display: none; }

  /* Hamburger: aparece à direita */
  .hdr-toggle {
    display: flex;
    margin-left: auto;
  }

  /* ===== MENU MOBILE FULLSCREEN ===== */
  #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(6,6,6,.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }

  #hdr.open #nav {
    opacity: 1;
    visibility: visible;
  }

  /* Underline não aparece no mobile */
  #nav a::after { display: none; }

  /* Links do menu mobile: grandes, com ícone */
  #nav a {
    width: 100%;
    max-width: 320px;
    height: 52px;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    border-radius: 10px;
    justify-content: flex-start;
    gap: 14px;
    transition: all .2s;
    /* Animação staggered de entrada */
    opacity: 0;
    transform: translateY(12px);
  }

  /* Quando menu abre: links aparecem um por um */
  #hdr.open #nav a {
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), color .15s, background .15s;
  }

  #hdr.open #nav a:nth-child(1) { transition-delay: .05s, .05s, 0s, 0s; }
  #hdr.open #nav a:nth-child(2) { transition-delay: .1s, .1s, 0s, 0s; }
  #hdr.open #nav a:nth-child(3) { transition-delay: .15s, .15s, 0s, 0s; }
  #hdr.open #nav a:nth-child(4) { transition-delay: .2s, .2s, 0s, 0s; }
  #hdr.open #nav a:nth-child(5) { transition-delay: .25s, .25s, 0s, 0s; }
  #hdr.open #nav a:nth-child(6) { transition-delay: .3s, .3s, 0s, 0s; }
  #hdr.open #nav a:nth-child(7) { transition-delay: .35s, .35s, 0s, 0s; }

  /* Ícones visíveis no mobile */
  .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--green);
    flex-shrink: 0;
  }

  #nav a:hover,
  #nav a.active {
    background: rgba(0,229,92,.06);
    color: #fff;
  }

  #nav a.active .nav-icon {
    background: var(--green);
    color: #000;
  }

  /* ===== COMPENSAR HEADER ===== */
  main { padding-top: 68px; }
  .hero { margin-top: -68px; height: 70vh; min-height: 420px; }
  .hero-body { padding: 0 16px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* ===== GRIDS MOBILE ===== */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .plan-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-container, .camp-form { padding: 20px 16px; }
  .equip-item, .equip-item.reverse { grid-template-columns: 1fr; direction: ltr; }
  .page-head { padding: 30px 0 0; }
  .player-detail-fields { grid-template-columns: 1fr; }
}

/* --------------------------------------------------
   34. Responsive — 480px
   -------------------------------------------------- */
@media (max-width: 480px) {
  .jogos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .camp-grid {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .times-list {
    grid-template-columns: 1fr;
  }

  .countdown-row {
    gap: 6px;
  }

  .cd-box {
    width: 56px;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }

  section {
    padding: 50px 0;
  }

  .hero-body {
    padding: 0 12px;
  }
}
