/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: linear-gradient(135deg, #1e0033, #2a003f, #0d001a);
  color: #fff;
  line-height: 1.6;
  padding-top: 140px; /* COMPENSA HEADER FIXO */
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 40px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

header .logo img {
  height: 180px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  background: linear-gradient(135deg, #6c1d9e, #a844d6);
}

/* ===== BANNER DE VÍDEO ===== */
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, #200034, #0a0014);
  padding: 40px 20px;
}

.video-frame {
  position: relative;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botão som */
#soundButton {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a844d6, #6c1d9e);
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 12px 35px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

#soundButton:hover {
  transform: translateX(-50%) scale(1.08);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 3rem;
  color: #ffccff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #a844d6, #6c1d9e);
  padding: 14px 35px;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* ===== FEATURES ===== */
.features {
  padding: 60px 20px;
  text-align: center;
}

.features .cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.features .card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 20px;
  max-width: 300px;
  transition: 0.3s;
}

.features .card:hover {
  transform: translateY(-10px);
}

/* ===== GALERIA ===== */
.gallery {
  padding: 60px 20px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 20px;
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ===== REGRAS ===== */
.page-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.page-hero h1 {
  font-size: 2.5rem;
  color: #ffccff;
}

.rules-content {
  max-width: 1000px;
  margin: 30px auto 80px;
  padding: 0 20px;
}

.rule-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

/* Cores jogadores */
.jogador1 { color: #ff4df0; font-weight: bold; }
.jogador2 { color: #4dffea; font-weight: bold; }
.jogador3 { color: #ffd54d; font-weight: bold; }
.jogador4 { color: #7dff4d; font-weight: bold; }
.jogador5 { color: #ff4d4d; font-weight: bold; }

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(20, 20, 20, 0.9);
  margin-top: 40px;
}

/* ===== MENU MOBILE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {

  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }

  header .logo img {
    height: 100px;
  }

  nav ul {
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(20,20,20,0.95);
    display: none;
    padding: 20px 0;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .video-frame {
    width: 95%;
  }

  .hero h1 {
    font-size: 2rem;
  }

}
