:root {
  --cor-primaria: #0080c0;
  --cor-secundaria: #101e2a;
  --cor-texto: #f2f2f2;
  --cor-hover: #0ff;
  --fundo: #0e0e17;
  --accent: #33a0d6;
  --card: #181829;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cor-secundaria);
  color: var(--cor-texto);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
  padding: 18px 28px;
}

.site-header.scrolled {
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(var(--glass-blur)) saturate(125%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(125%);
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  padding: 12px 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* AÇÕES HEADER */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.enter-btn {
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.hamburger {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: #fff;
  box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
}

/* MENU DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: 80px;
  right: 20px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 16px;
  min-width: 220px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.65);
  display: none;
  animation: fadeIn 250ms ease forwards;
}

.dropdown-menu.active { display: block; }

.dropdown-menu h4 {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}

.dropdown-menu ul { list-style: none; }

.dropdown-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dropdown-menu li:last-child { border-bottom: none; }

.dropdown-menu li .icon { margin-right: 10px; font-size: 16px; }

.dropdown-menu a {
  text-decoration: none;
  color: var(--accent);
}


/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CLICKABLE ITEMS */
.clicavel {
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.clicavel a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.clicavel:hover {
  background-color: var(--cor-secundaria);
  color: #33a0d6;
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: white;
  position: relative;
}

.user-menu .avatar-perfil {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* Dropdown */
.user-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 90px;
  right: 0;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  min-width: 150px;
  z-index: 100;
}

.user-dropdown a {
  padding: 10px;
  text-decoration: none;
  color: white;
  display: block;
  transition: background 0.3s;
}

.user-dropdown a:hover {
  background: linear-gradient(90deg, #33a0d6, #0080c0);
}

/* Mostrar dropdown */
.user-dropdown.active {
  display: flex;
}

/* RESPONSIVO */
@media(max-width:768px){
  .logo .word{ display:none; }
  .enter-btn{ padding:8px 12px; font-size:14px; }
  .hero-section h1, .section-title{ font-size:2.7rem; }
  .hero-section{ padding: 0 16px; }
  footer .footer-container{ flex-direction: column; text-align:center; gap:15px; }
  footer .footer-social{ justify-content:center; }
  footer .footer-logo{ margin-top:10px; }
  .user-menu {margin-top: 10px;}
}

/* --- ESTILOS DO CONTEÚDO DA PÁGINA DE REGRAS --- */
.main-content {
  padding: 120px 20px 40px; /* Espaçamento do topo para não ficar atrás do header */
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 100px;
}

.main-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--cor-primaria);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(7, 200, 255, 0.5);
}

.main-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 5px 15px;
  margin-bottom: 20px;
}

.rule-card {
  background: #111e2a;
  border: 1px solid var(--cor-primaria);
  border-radius: 15px;
  padding: 50px 20px;
  text-decoration: none;
  color: var(--cor-texto);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.rule-card:hover {
  transform: translateY(-8px);
  background: #111e2a;
  border-color: var(--cor-primaria);
  box-shadow: 0 0 25px rgba(7, 200, 240, 0.3);
}

.rule-card .icon {
  font-size: 50px;
  color: var(--cor-primaria);
  line-height: 1;
}

.rule-card .title {
  font-size: 1.3rem;
  font-weight: 500;
}
