/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: url("bk.png") no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.navbar a {
  color: #8b0000;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar a:hover {
  color: #ff0000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.logo img {
  height: 55px;
  width: auto;
}

/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .navbar ul {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    width: 200px;
    display: none;
    text-align: center;
    padding: 15px 0;
  }

  .navbar ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* HERO SECTION */
.hero-nav {
  text-align: center;
  padding: 120px 20px 20px;
  color: white;
  min-height: 50vh;
}

.hero-nav .top-text {
  font-size: 14px;
  color: #ff2b2b;
  margin-bottom: 15px;
}

.hero-nav .title {
  font-size: 48px;
  font-weight: bold;
  margin: 20px 0;
  display: inline-block;
  position: relative;
  padding: 10px 30px;
}

.hero-nav .title::before,
.hero-nav .title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 2px;
}

.hero-nav .title::before {
  left: -140px;
}

.hero-nav .title::after {
  right: -140px;
}

.hero-nav .red {
  color: #d32f2f;
}

.hero-nav .white {
  color: #e0e0e0;
}

.hero-nav .bottom-text {
  font-size: 14px;
  margin-top: 20px;
  color: #aaa;
}

/* Zack highlight + effet glow + main au hover */
.hero-nav .highlight {
  color: #fff;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hero-nav .highlight:hover {
  color: #ff0000; /* rouge clair */
  text-shadow: 0 0 10px #ff0000,
               0 0 20px #ff0000,
               0 0 30px #ff0000; /* effet glow */
}

.hero-nav .highlight::after {
  content: "👉"; /* emoji main */
  position: absolute;
  opacity: 0;
  margin-left: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-5px);
}

.hero-nav .highlight:hover::after {
  opacity: 1;
  transform: translateX(0); /* petit slide */
}

/* RULES SECTION */
.rules-section {
  color: white;
  padding: 30px 20px 60px;
  text-align: center;
}

.rules-section h2 {
  color: #d32f2f;
  font-size: 36px;
  margin-bottom: 30px;
}

.rules-table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
}

.rules-table th,
.rules-table td {
  border: 2px solid red;
  padding: 12px 15px;
  text-align: center;
  font-size: 16px;
  font-family: "Lucida Sans", Geneva, Verdana, sans-serif;
}

.rules-table thead {
  color: #ff2b2b;
}
