/* =========================================
   STYLE.CSS - Site 178 (Native)
   Consolidado de header.php e home.php
   ========================================= */

/* -----------------------------------------
   GLOBAL & LAYOUT
   ----------------------------------------- */
body { 
  background-color: #0d0d0d;
  color: #f1f1f1;
  font-family: Arial, sans-serif; 
  margin: 0;
  padding: 0;
  padding-top: 90px;   /* espaço pro header fixo */
  padding-bottom: 60px; /* espaço pro footer fixo */
  overflow-x: hidden !important; /* Remove qualquer scroll horizontal */
}

/* -----------------------------------------
   HEADER & NAVBAR
   ----------------------------------------- */
.navbar-custom {
  background: #000;
  border-bottom: 2px solid #ffcc66; /* mesmo dourado do banner */
  height: 90px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(255, 204, 102, 0.2); /* brilho leve dourado */
}

.navbar-nav .nav-item { margin: 0 8px; }
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: all 0.2s ease-in-out;
}
.navbar-nav .nav-link:hover { background-color: #2a2a2a; border-radius: 4px; }
.navbar-nav .nav-link.active {
  color: #00bfff !important;
  background-color: #1a1a1a;
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 #00bfff;
}

/* Faz a logo ficar integrada visualmente com o efeito */
.navbar-logo img {
  height: 65px;
  background: #000;
  padding: 6px 14px;
  border-radius: 10px;
  border: 2px solid #1a1a1a;
  box-shadow: 0 2px 8px rgba(255, 204, 102, 0.5); /* reflexo dourado sutil */
}

/* -----------------------------------------
   FOOTER
   ----------------------------------------- */
footer, .footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #000 !important;   /* cor fixa */
  color: #aaa !important;        /* texto fixo */
  text-align: center;
  font-size: 0.9rem;
  line-height: 60px;             /* centraliza verticalmente */
  border-top: 2px solid #1a1a1a;
  z-index: 1000;
}

/* -----------------------------------------
   COMPONENTES GERAIS
   ----------------------------------------- */
.page-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: #ffcc66;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-content {
  max-width: 1000px;
  margin: -20px auto 0 auto !important; /* sobe pro banner */
  padding: 20px !important;
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffcc66;
  font-weight: bold;
  margin: 30px 0;
  font-size: 1.2rem;
}
.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333;
}
.separator:not(:empty)::before { margin-right: .75em; }
.separator:not(:empty)::after  { margin-left: .75em; }

/* -----------------------------------------
   HOME PAGE (Ajustes Específicos)
   ----------------------------------------- */
.home-container {
  max-width: 1000px;
  margin: 10px auto 60px auto;
  text-align: center;
  color: #eee;
}

.home-container h2.page-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: #ffcc66;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
  font-weight: normal;
}

.home-container p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 40px;
}

/* -----------------------------------------
   CLASSES & TEAM (Cards)
   ----------------------------------------- */
.classes-section,
.team-section {
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 14px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.team-section {
  margin-top: 60px;
}

.classes-grid,
.team-grid {
  display: grid;
  gap: 25px;
  margin-top: 25px;
}

.classes-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.class-card,
.team-card {
  background: linear-gradient(180deg, rgba(30, 30, 35, 0.9), rgba(15, 15, 18, 0.9));
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  transition: 0.3s;
}

.team-card {
  background: linear-gradient(180deg, rgba(25, 25, 30, 0.9), rgba(10, 10, 12, 0.9));
  border: 1px solid rgba(255, 215, 0, 0.08);
  padding: 15px;
}

.class-card:hover,
.team-card:hover {
  border-color: #ffd166;
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(255,215,0,0.2);
}

.class-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.team-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px rgba(255,215,0,0.25);
}

.class-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.3));
}

.class-card h3,
.team-card h3 {
  color: #ffd166;
  margin: 0;
}

.class-card h3 {
  font-size: 15px;
}

.team-card h3 {
  color: #ffcc66;
  margin-bottom: 6px;
}

.team-card p {
  color: #bbb;
  font-size: 14px;
}

.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  margin-top: 8px;
}
.online {
  background-color: #00c853;
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.5);
}
.offline {
  background-color: #e53935;
  box-shadow: 0 0 8px rgba(229, 57, 53, 0.5);
}

/* -----------------------------------------
   BANNER SLIDER
   ----------------------------------------- */
.banner-slider {
  position: relative;
  width: 100%;
  height: auto; 
  aspect-ratio: 7 / 1; 
  overflow: hidden;
  border-bottom: 2px solid #ffcc66;
  margin: 0;
  padding: 0;
}

.banner-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.banner-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
  background-color: #000;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffcc66;
  font-size: 2.3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  z-index: 2;
  text-align: center;
}

/* -----------------------------------------
   DOWNLOADS
   ----------------------------------------- */
.downloads-section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.9rem;
  color: #ffcc66;
}
.download-box {
  background: #111;
  border: 1px solid #222;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.download-box h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #00bfff;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Botões estilo realmu */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(145deg, #0d6efd, #0a58ca);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-download:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,191,255,0.8);
}
.btn-download:active::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 15%, transparent 40%);
  transform: scale(0);
  animation: clickFlash 0.5s ease-out forwards;
}
@keyframes clickFlash { to { transform: scale(1); opacity: 0; } }

/* Cores Botões */
.btn-blue   { background: linear-gradient(145deg, #0d6efd, #0a58ca); }
.btn-green  { background: linear-gradient(145deg, #28a745, #1e7e34); }
.btn-orange { background: linear-gradient(145deg, #fd7e14, #e8590c); }
.btn-red    { background: linear-gradient(145deg, #dc3545, #a71d2a); }
.btn-yellow { background: linear-gradient(145deg, #ffc107, #d39e00); color:#000; }
.btn-purple { background: linear-gradient(145deg, #6f42c1, #5a32a3); }
.btn-cyan   { background: linear-gradient(145deg, #17a2b8, #117a8b); }
.btn-pink   { background: linear-gradient(145deg, #e83e8c, #bd1f6b); }

/* -----------------------------------------
   MENU DE ABAS
   ----------------------------------------- */
.tabs-menu {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.tabs-menu .tab {
  background: #111;
  color: #ffb400;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .25s ease;
  text-decoration: none;
}
.tabs-menu .tab:hover,
.tabs-menu .tab.active {
  background: #ffb400;
  color: #111;
}

/* -----------------------------------------
   RANKING EMBED
   ----------------------------------------- */
.ranking-embed {
  width: 100%;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  color: #fff;
  overflow-x: auto;
}
.ranking-embed table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #111;
}
.ranking-embed th,
.ranking-embed td {
  padding: 10px 12px;
  text-align: center;
  color: #ddd;
  background: #111;
}
.ranking-embed th {
  background: #1f1f1f;
  color: #ffb400;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.ranking-embed tr:nth-child(even) td {
  background: #1a1a1a;
}
.ranking-embed tr:hover td {
  background: #222;
}

/* -----------------------------------------
   RANKING PAGE CONTENT
   ----------------------------------------- */
.conteudo-ranking {
  margin: 30px auto;
  max-width: 1200px;
  padding: 20px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.conteudo-ranking table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}
.conteudo-ranking th {
  background: #111;
  padding: 10px;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 2px solid #ffb400;
}
.conteudo-ranking td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.conteudo-ranking tr:hover {
  background: rgba(255,255,255,0.05);
}

/* -----------------------------------------
   PÁGINAS INTERNAS (Sobre, Regras, Arena)
   ----------------------------------------- */
.about-section {
  padding: 40px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.about-section .intro {
  text-align: center;
  margin-bottom: 35px;
  font-size: 1.1rem;
  color: #ccc;
}

.info-box {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 204, 102, 0.15); /* Dourado sutil */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.info-box h3 {
  color: #ffcc66;
  border-bottom: 1px solid rgba(255, 204, 102, 0.2);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.icon-title {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ddd;
}

.info-box ul li:last-child {
  border-bottom: none;
}

.info-box ul li strong {
  color: #fff;
}

.info-box p {
  color: #ccc;
  line-height: 1.6;
}