/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF; /* White text for hero content over dark image */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-poker__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-poker__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__btn--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #FFFFFF;
}

.page-poker__btn--register:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-poker__btn--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast with light yellow */
  border: 2px solid #FCBC45;
}

.page-poker__btn--login:hover {
  background-color: #E0A83A;
  transform: translateY(-3px);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__strategy-section, .page-poker__cta-section {
  padding: 40px 0;
  background-color: #F8F8F8; /* Slightly off-white for section separation */
  margin-bottom: 20px;
}

.page-poker__about-section {
  background-color: #FFFFFF;
}

.page-poker__grid, .page-poker__game-grid, .page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-poker__card, .page-poker__game-card, .page-poker__strategy-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__card:hover, .page-poker__game-card:hover, .page-poker__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-poker__card-image, .page-poker__game-image, .page-poker__strategy-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, ensures >= 200px */
  object-fit: cover;
  display: block;
}

.page-poker__card-title, .page-poker__game-title, .page-poker__strategy-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__strategy-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__strategy-title a:hover {
  text-decoration: underline;
  color: #FCBC45;
}

.page-poker__card-text, .page-poker__game-description, .page-poker__strategy-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
}

.page-poker__btn--play-now {
  background-color: #FCBC45;
  color: #000000;
  margin-bottom: 20px;
  border: 2px solid #FCBC45;
}

.page-poker__btn--play-now:hover {
  background-color: #E0A83A;
}

.page-poker__tournament-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-poker__tournament-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: auto; /* Ensure aspect ratio is maintained */
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-poker__tournament-details {
  flex: 1;
  max-width: 50%;
}

.page-poker__tournament-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-poker__tournament-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}