.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main color as background for hero text overlay */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim the image to make text more readable */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

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

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

.page-poker__button {
  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, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
}

.page-poker__button--register:hover {
  background-color: #e0e0e0;
}

.page-poker__button--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000;
}

.page-poker__button--login:hover {
  background-color: #e6a73c;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__how-to-play-section, .page-poker__strategy-section, .page-poker__live-section, .page-poker__promotions-section, .page-poker__security-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-poker__subsection-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

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

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

.page-poker__game-card:hover {
  transform: translateY(-10px);
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 0 10px;
}

.page-poker__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-poker__rule-list, .page-poker__tip-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-poker__rule-item, .page-poker__tip-item {
  margin-bottom: 10px;
}

.page-poker__sub-list {
  list-style-type: circle;
  margin-left: 20px;
}

.page-poker__strategy-image, .page-poker__live-image, .page-poker__promo-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__button--live, .page-poker__button--promo, .page-poker__button--info {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-poker__button--live:hover, .page-poker__button--promo:hover, .page-poker__button--info:hover {
  background-color: #e6a73c;
}

.page-poker__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-poker__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__cta-section .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__cta-section .page-poker__section-title::after {
  background-color: #FCBC45;
}

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
}

.page-poker__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-poker__button--register-cta {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__button--register-cta:hover {
  background-color: #e0e0e0;
}

.page-poker__button--download-cta {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--download-cta:hover {
  background-color: #e6a73c;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__subsection-title {
    font-size: 1.5em;
  }
  .page-poker__text-content, .page-poker__rule-list, .page-poker__tip-list, .page-poker__faq-answer {
    font-size: 0.95em;
  }
  .page-poker__game-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image, .page-poker__strategy-image, .page-poker__live-image, .page-poker__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content area images must be responsive */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__subsection-title {
    font-size: 1.3em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
}