/* style/game-lobby-card-games-rules.css */
.page-game-lobby-card-games-rules {
  font-family: 'Arial', sans-serif;
  color: #F0F0F0; /* Light gray for general text on dark background */
  background-color: #0A2463; /* Primary color as background */
  line-height: 1.6;
}

.page-game-lobby-card-games-rules .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-lobby-card-games-rules .hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #1a3d82 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-game-lobby-card-games-rules .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E3B505; /* Secondary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-card-games-rules .hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-lobby-card-games-rules .btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  margin: 10px;
}

.page-game-lobby-card-games-rules .btn-primary {
  background-color: #E3B505; /* Secondary color */
  color: #0A2463; /* Primary color as text */
  border: 2px solid #E3B505;
}

.page-game-lobby-card-games-rules .btn-primary:hover {
  background-color: #ffc80a;
  transform: translateY(-3px);
}

.page-game-lobby-card-games-rules .btn-secondary {
  background-color: transparent;
  color: #E3B505; /* Secondary color */
  border: 2px solid #E3B505;
}

.page-game-lobby-card-games-rules .btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
  transform: translateY(-3px);
}

.page-game-lobby-card-games-rules .section-title {
  font-size: 2.5em;
  color: #E3B505; /* Secondary color for titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-lobby-card-games-rules .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E3B505;
  border-radius: 2px;
}

.page-game-lobby-card-games-rules .introduction-section,
.page-game-lobby-card-games-rules .game-rules-section,
.page-game-lobby-card-games-rules .why-choose-58vin,
.page-game-lobby-card-games-rules .cta-section {
  padding: 60px 0;
  background-color: #1A3D82; /* Slightly lighter blue for content sections */
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-game-lobby-card-games-rules .introduction-section p,
.page-game-lobby-card-games-rules .why-choose-58vin p,
.page-game-lobby-card-games-rules .cta-section p,
.page-game-lobby-card-games-rules .why-choose-58vin ul li {
  font-size: 1.1em;
  color: #CCCCCC;
  margin-bottom: 20px;
}

.page-game-lobby-card-games-rules .game-article {
  background-color: #0A2463; /* Primary color for article backgrounds */
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #E3B505;
}

.page-game-lobby-card-games-rules .game-title {
  font-size: 2em;
  color: #E3B505;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(227, 181, 5, 0.3);
  padding-bottom: 10px;
}

.page-game-lobby-card-games-rules .subsection-title {
  font-size: 1.6em;
  color: #F0F0F0;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid #E3B505;
  padding-left: 10px;
}

.page-game-lobby-card-games-rules ul,
.page-game-lobby-card-games-rules ol {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #CCCCCC;
}

.page-game-lobby-card-games-rules ol {
  list-style-type: decimal;
}

.page-game-lobby-card-games-rules ul li,
.page-game-lobby-card-games-rules ol li {
  margin-bottom: 10px;
}

.page-game-lobby-card-games-rules ul ul,
.page-game-lobby-card-games-rules ol ol {
  margin-top: 5px;
  margin-bottom: 5px;
}

.page-game-lobby-card-games-rules .image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-game-lobby-card-games-rules .content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-card-games-rules .why-choose-58vin ul {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-game-lobby-card-games-rules .why-choose-58vin ul li {
  background-color: #0A2463;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 45px;
  font-size: 1.05em;
}

.page-game-lobby-card-games-rules .why-choose-58vin ul li::before {
  content: '✓';
  color: #E3B505;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 20px;
  font-size: 1.2em;
}

.page-game-lobby-card-games-rules .text-link {
  color: #E3B505;
  text-decoration: none;
  font-weight: bold;
}

.page-game-lobby-card-games-rules .text-link:hover {
  text-decoration: underline;
}

.page-game-lobby-card-games-rules .cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A2463;
  border-radius: 10px;
  margin-top: 30px;
}

.page-game-lobby-card-games-rules .cta-section .section-title {
  margin-bottom: 30px;
}

.page-game-lobby-card-games-rules .cta-buttons {
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-game-lobby-card-games-rules .note {
  font-style: italic;
  color: #999999;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-lobby-card-games-rules .hero-title {
    font-size: 2.5em;
  }

  .page-game-lobby-card-games-rules .hero-subtitle {
    font-size: 1.2em;
  }

  .page-game-lobby-card-games-rules .section-title {
    font-size: 2em;
  }

  .page-game-lobby-card-games-rules .game-title {
    font-size: 1.7em;
  }

  .page-game-lobby-card-games-rules .subsection-title {
    font-size: 1.4em;
  }

  .page-game-lobby-card-games-rules .game-article {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-game-lobby-card-games-rules .hero-title {
    font-size: 2em;
  }

  .page-game-lobby-card-games-rules .hero-subtitle {
    font-size: 1em;
  }

  .page-game-lobby-card-games-rules .btn {
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px;
  }

  .page-game-lobby-card-games-rules .section-title {
    font-size: 1.8em;
  }

  .page-game-lobby-card-games-rules .game-title {
    font-size: 1.5em;
  }

  .page-game-lobby-card-games-rules .subsection-title {
    font-size: 1.2em;
  }

  .page-game-lobby-card-games-rules .game-article {
    padding: 20px;
  }

  .page-game-lobby-card-games-rules .why-choose-58vin ul li {
    padding-left: 35px;
  }
}