:root {
  --bg-dark: #050708;
  --bg-card: #0c1013;
  --bg-input: #070a0c;
  --border-light: rgba(255, 255, 255, 0.1);

  --red: #e11d1d;
  --green: #16c638;
  --gold: #facc15;
  --white: #ffffff;

  --text: #ffffff;
  --muted: #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16.5px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

.c-gold { color: var(--gold); }
.c-yellow { color: var(--gold); }
.c-green { color: var(--green); }
.c-red { color: var(--red); }
.c-white { color: #ffffff; }

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 36px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(225, 29, 29, 0.35);
}

.nav-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 14px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.brand-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: radial-gradient(circle, rgba(22, 198, 56, 0.2), rgba(225, 29, 29, 0.25));
  border: 1.5px solid rgba(250, 204, 21, 0.5);
  display: grid;
  place-items: center;
  padding: 3px;
  overflow: hidden;
}

.brand-shield-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 9px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item:hover, .nav-item.active {
  color: #ffffff;
  background: rgba(22, 198, 56, 0.14);
  border-bottom: 2px solid var(--green);
}

.nav-cta-inscrever {
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.45);
}

.nav-cta-inscrever:hover, .nav-cta-inscrever.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  display: inline-block;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-discord-nav {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(225, 29, 29, 0.45);
  transition: 0.2s;
}

.btn-discord-nav:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* BOTÃO 3 PONTINHOS MOBILE */
.mobile-dots-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.mobile-dots-btn:hover,
.mobile-dots-btn[aria-expanded="true"] {
  background: rgba(22, 198, 56, 0.16);
  border-color: var(--green);
  color: var(--green);
}

/* MENU FLUTUANTE MOBILE */
.mobile-dropdown {
  display: none;
  position: absolute;
  top: 68px;
  right: 16px;
  width: 240px;
  background: #0c1013;
  border: 1px solid rgba(22, 198, 56, 0.45);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  flex-direction: column;
  gap: 4px;
  z-index: 250;
}

.mobile-dropdown.open {
  display: flex;
  animation: popMenuIn 0.18s ease-out;
}

@keyframes popMenuIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mobile-nav-item {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.15s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--green);
}

.mobile-dropdown-sep {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.mobile-nav-cta {
  background: var(--red);
  color: #ffffff !important;
  justify-content: center;
  font-weight: 900;
}

/* ABAS */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

.page-padding {
  padding-top: 56px;
  padding-bottom: 96px;
}

/* HERO ARENA */
.hero-video-wrapper {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid rgba(22, 198, 56, 0.35);
  background:
    radial-gradient(circle at 18% 30%, rgba(225, 29, 29, 0.35), transparent 50%),
    radial-gradient(circle at 82% 28%, rgba(22, 198, 56, 0.28), transparent 50%),
    #050708;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.32;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 8, 0.6) 0%, rgba(5, 7, 8, 0.94) 100%);
  z-index: 1;
}

.arena-stripe-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -35deg,
    rgba(225, 29, 29, 0.06) 0px,
    rgba(225, 29, 29, 0.06) 18px,
    transparent 18px,
    transparent 38px,
    rgba(22, 198, 56, 0.05) 38px,
    rgba(22, 198, 56, 0.05) 56px,
    transparent 56px,
    transparent 84px
  );
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 54px;
  align-items: center;
  padding: 68px 36px;
}

.hero-poster-card {
  background: linear-gradient(145deg, var(--red), #121814, var(--green));
  border: 2px solid rgba(250, 204, 21, 0.55);
  border-radius: 24px;
  padding: 4px;
  box-shadow: 0 22px 55px rgba(225, 29, 29, 0.32);
}

.poster-inner {
  background: radial-gradient(circle at top, #131916, #07090b);
  border-radius: 20px;
  padding: 34px 24px;
  text-align: center;
}

.poster-tag {
  background: var(--red);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
}

.poster-emblem {
  margin: 18px auto 12px;
  width: 155px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-shield-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85));
}

.poster-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 2.5rem;
  letter-spacing: -1px;
}

.poster-sub {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.poster-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.poster-pills span {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
}

.p-red { background: var(--red); color: #fff; }
.p-green { background: var(--green); color: #050708; }
.p-gold { background: var(--gold); color: #050708; }

.hero-kicker {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 2.2px;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-description {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 26px;
}

.redes-desc {
  margin: 14px 0 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-vibrant-red {
  background: var(--red);
  color: #ffffff;
  border: none;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(225, 29, 29, 0.4);
  transition: 0.2s;
  display: inline-block;
}

.btn-vibrant-red:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-vibrant-green {
  background: var(--green);
  color: #050708;
  border: none;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(22, 198, 56, 0.35);
  transition: 0.2s;
  display: inline-block;
}

.btn-vibrant-green:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 11px;
  cursor: pointer;
}

.btn-ghost-dark:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-online-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.green-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  display: inline-block;
}

.quick-arena-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-tile {
  background: rgba(12, 16, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  transition: 0.2s;
}

.quick-tile:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.qt-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
}

.quick-tile strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.quick-tile small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

/* FAIXA MARQUEE */
.marquee-bar {
  background: linear-gradient(90deg, var(--red), #111613, var(--green));
  color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
}

.marquee-track {
  display: inline-flex;
  gap: 26px;
  animation: scrollMarquee 26s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* BLOCOS DA HOME */
.home-block {
  padding-top: 76px;
  padding-bottom: 24px;
}

.block-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.section-heading, .page-big-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  text-transform: uppercase;
}

.page-subtitle {
  color: var(--muted);
  margin: 10px 0 38px;
  font-size: 1.08rem;
  max-width: 820px;
}

.section-side-note {
  color: var(--muted);
  max-width: 450px;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* CARDS DE O QUE TÁ ROLANDO */
.rolando-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.empty-full-panel {
  width: 100%;
  text-align: center;
  padding: 48px 24px;
}

.event-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 22px;
  padding: 32px;
  width: 420px;
  max-width: 100%;
  transition: 0.25s;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-4px);
}

.card-status-open {
  border: 2px solid rgba(22, 198, 56, 0.55);
  box-shadow: 0 12px 35px rgba(22, 198, 56, 0.14);
  background: linear-gradient(180deg, rgba(22, 198, 56, 0.08), var(--bg-card));
}

.card-status-open:hover {
  border-color: var(--green);
}

.card-status-closed {
  border: 2px solid rgba(225, 29, 29, 0.55);
  box-shadow: 0 12px 35px rgba(225, 29, 29, 0.14);
  background: linear-gradient(180deg, rgba(225, 29, 29, 0.08), var(--bg-card));
}

.card-status-closed:hover {
  border-color: var(--red);
}

.card-accent-yellow { border-top: 4px solid var(--gold); }
.card-accent-red { border-top: 4px solid var(--red); }

.event-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.badge-green { background: rgba(22, 198, 56, 0.18); color: var(--green); }
.badge-blue { background: rgba(250, 204, 21, 0.2); color: var(--gold); }
.badge-red { background: rgba(225, 29, 29, 0.22); color: #ff6b66; }

.event-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.event-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 10px 0 16px;
}

.event-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.event-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.event-meta-row strong {
  color: #ffffff;
  text-align: right;
}

.bg-yellow-btn {
  display: block;
  text-align: center;
  background: var(--gold);
  color: #050708;
  text-decoration: none;
  font-weight: 900;
  padding: 13px;
  border-radius: 10px;
}

.bg-green-btn {
  display: block;
  text-align: center;
  background: var(--green);
  color: #050708;
  text-decoration: none;
  font-weight: 900;
  padding: 13px;
  border-radius: 10px;
}

.bg-closed-btn {
  display: block;
  text-align: center;
  background: rgba(225, 29, 29, 0.16);
  color: #ff7b76;
  border: 1px solid rgba(225, 29, 29, 0.45);
  font-weight: 800;
  padding: 13px;
  border-radius: 10px;
}

.event-counter {
  margin-top: 14px;
  margin-bottom: 14px;
}

.event-counter strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
}

/* 4 CARDS VERTICAIS */
.four-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px 26px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feat-red { background: linear-gradient(180deg, rgba(225, 29, 29, 0.16), var(--bg-card)); border-top: 3px solid var(--red); }
.feat-green { background: linear-gradient(180deg, rgba(22, 198, 56, 0.15), var(--bg-card)); border-top: 3px solid var(--green); }
.feat-gold { background: linear-gradient(180deg, rgba(250, 204, 21, 0.14), var(--bg-card)); border-top: 3px solid var(--gold); }
.feat-white { background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), var(--bg-card)); border-top: 3px solid #ffffff; }

.feat-icon {
  font-size: 2.3rem;
  margin-bottom: auto;
}

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* MÉTRICAS + CAIXA PRETA RESERVADA */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 64px;
}

.metric-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
}

.metric-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.discord-preview-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 36px;
  align-items: center;
}

/* Quadrado com tela preta reservado para utilização futura */
.black-reserved-box {
  background-color: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  min-height: 360px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

.redes-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* HALL DA FAMA */
.hall-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-hall-panel {
  text-align: center;
  padding: 38px 24px;
}

.center-action-row {
  text-align: center;
  margin-top: 26px;
}

.hall-row {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hall-row.rank-1 {
  border-color: rgba(250, 204, 21, 0.55);
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.1), var(--bg-card));
}

.hall-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hall-left small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.rank-pos {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  width: 24px;
}

.hall-score {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

/* BANNER FINAL ARENA */
.cta-banner-arena {
  margin: 72px 0 90px;
  background: linear-gradient(135deg, rgba(225, 29, 29, 0.9), #111613 55%, rgba(22, 198, 56, 0.85));
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  border-radius: 24px;
  padding: 46px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-banner-arena h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.cta-banner-arena p {
  color: #f3f4f6;
  font-size: 1.05rem;
}

/* PAINÉIS GERAIS */
.three-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px;
}

.panel-gold { border-top: 3px solid var(--gold); }
.panel-green { border-top: 3px solid var(--green); }
.panel-red { border-top: 3px solid var(--red); }

.info-panel h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.info-panel p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.live-box-center {
  text-align: center;
  padding: 56px 28px;
}

.live-badge-big {
  display: inline-block;
  background: rgba(225, 29, 29, 0.2);
  color: #ff6660;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* REGULAMENTO */
.reg-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.reg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 14px;
}

.reg-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 11px 14px;
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
  transition: 0.2s;
  line-height: 1.35;
}

.reg-link.active, .reg-link:hover {
  color: #ffffff;
  background: rgba(22, 198, 56, 0.1);
  border-left-color: var(--green);
}

.reg-link.active {
  color: var(--green);
  font-weight: 700;
}

.reg-content {
  max-width: 860px;
}

.reg-block {
  margin-bottom: 42px;
  scroll-margin-top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 30px 34px;
}

.reg-block h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--green);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.reg-block ol {
  padding-left: 24px;
  color: #e2e8f0;
  font-size: 1.08rem;
  line-height: 1.85;
}

.reg-block ol li {
  margin-bottom: 8px;
}

.reg-final-banner {
  margin-top: 28px;
  text-align: center;
}

.reg-final-banner p {
  color: var(--green);
  font-weight: 800;
  font-size: 1.15rem;
}

/* BANNERS NO TOPO DA ABA INSCREVER-SE */
.closed-banner-top {
  background: linear-gradient(135deg, rgba(225, 29, 29, 0.24), rgba(12, 16, 19, 0.95));
  border: 2px solid var(--red);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 35px rgba(225, 29, 29, 0.25);
}

.closed-banner-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.closed-banner-top h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #ff6b66;
  margin-bottom: 4px;
}

.closed-banner-top p {
  color: #f8fafc;
  font-size: 0.98rem;
}

/* CAIXA DE VAGAS ABAIXO DO VALOR TOTAL NO RESUMO */
.vagas-resumo-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(225, 29, 29, 0.4);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vagas-resumo-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.vagas-resumo-count {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--red);
}

/* FORMULÁRIO INSCREVER-SE */
.inscricao-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: start;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.players-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px;
}

.border-top-green { border-top: 3px solid var(--green); }
.border-top-gold { border-top: 3px solid var(--gold); }
.border-top-red { border-top: 3px solid var(--red); }

.form-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.form-card-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.bg-green { background: var(--green); color: #050708; }
.bg-gold { background: var(--gold); color: #050708; }
.bg-red { background: var(--red); color: #fff; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field-group label {
  font-size: 0.92rem;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 0.98rem;
  width: 100%;
  outline: none;
}

input:focus {
  border-color: var(--green);
}

input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-input) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.at-input input:-webkit-autofill,
.at-input input:-webkit-autofill:hover,
.at-input input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-input) inset !important;
  -webkit-text-fill-color: #ffffff !important;
}

.at-input {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 11px;
  padding-left: 14px;
}

.at-input input {
  border: none;
  background: transparent;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-box {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 1.5rem;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-file {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.hint-block {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 4px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.helper-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
  cursor: pointer;
}

.check-line input[type="checkbox"] {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.btn-submit-pix {
  background: var(--green);
  color: #050708;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.06rem;
  padding: 18px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(22, 198, 56, 0.32);
  transition: 0.2s;
}

.btn-submit-pix:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-submit-pix:disabled {
  background: #334155;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.summary-aside {
  width: 100%;
}

.sticky-summary {
  position: sticky;
  top: 96px;
  width: 100%;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.pix-tag {
  background: rgba(22, 198, 56, 0.16);
  color: var(--green);
  border: 1px solid rgba(22, 198, 56, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.resumo-players-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.98rem;
}

.sum-row strong {
  color: #fff;
}

.sum-line {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 16px 0;
}

.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.sum-total strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
}

.sum-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* MODAIS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 20px;
}

.modal-box {
  background: var(--bg-card);
  border: 1.5px solid var(--green);
  border-radius: 22px;
  padding: 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popModalIn 0.22s ease-out;
}

@keyframes popModalIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.pix-timer-bar {
  background: rgba(225, 29, 29, 0.14);
  border: 1px solid rgba(225, 29, 29, 0.45);
  border-radius: 10px;
  padding: 8px 14px;
  margin: 12px auto 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f8fafc;
}

.pix-timer-bar strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--gold);
}

.modal-box-success {
  border: 2px solid var(--green);
  box-shadow: 0 24px 60px rgba(22, 198, 56, 0.28);
}

.success-pop-badge {
  display: inline-block;
  background: rgba(22, 198, 56, 0.16);
  color: var(--green);
  border: 1px solid rgba(22, 198, 56, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.modal-box-success h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--green);
  margin-bottom: 12px;
}

.success-pop-text {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.success-pop-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-confirm-pix {
  width: 100%;
  background: var(--green);
  color: #050708;
  border: none;
  font-weight: 900;
  font-size: 0.98rem;
  padding: 15px;
  border-radius: 11px;
  cursor: pointer;
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.15rem;
  cursor: pointer;
}

.modal-x:hover {
  color: #fff;
  background: rgba(225, 29, 29, 0.45);
}

.qr-wrapper {
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  width: 210px;
  height: 210px;
  margin: 0 auto 14px;
}

.qr-wrapper img {
  width: 100%;
  height: 100%;
}

.copy-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.copy-row button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.pix-auto-wait-box {
  background: rgba(250, 204, 21, 0.09);
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}

.pix-spinner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 1rem;
}

.pix-auto-wait-box p {
  color: #f8fafc;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pix-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(250, 204, 21, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spinPix 0.85s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes spinPix {
  to { transform: rotate(360deg); }
}

/* RESPONSIVIDADE */
@media (max-width: 1040px) {
  html {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .mobile-dots-btn {
    display: inline-flex;
  }

  .nav-container {
    padding: 10px 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-poster-card {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-online-status {
    justify-content: center;
  }

  .quick-arena-tiles,
  .discord-preview-grid,
  .inscricao-grid,
  .players-dynamic-grid,
  .two-cols,
  .reg-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .black-reserved-box {
    min-height: 240px;
  }

  .sticky-summary {
    position: static;
  }

  .reg-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
  }

  .reg-link {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .reg-link.active, .reg-link:hover {
    border-left-color: transparent;
    border-bottom-color: var(--green);
  }

  .reg-block {
    padding: 22px 20px;
  }

  .reg-block ol {
    font-size: 0.98rem;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .btn-discord-nav {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-buttons .btn-vibrant-red,
  .hero-buttons .btn-vibrant-green,
  .hero-buttons .btn-ghost-dark {
    width: 100%;
  }

  .event-card {
    width: 100%;
  }

  .cta-banner-arena {
    padding: 28px 20px;
    text-align: center;
    justify-content: center;
  }
}
