.page-poker {
  background-color: #000000; /* Main dark background for content area */
  color: #ffffff; /* White text for dark background */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-poker__text-content--center {
  text-align: center;
}

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__button--register {
  background-color: #333333;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--play, .page-poker__button--download, .page-poker__button--play-mobile {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 15px;
}

.page-poker__button--play:hover, .page-poker__button--download:hover, .page-poker__button--play-mobile:hover {
  background-color: #e0a53a;
}

.page-poker__button--details {
  background-color: #333333;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  margin-top: 15px;
}

.page-poker__button--details:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__button--register-large {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 40px; /* Adjusted padding to work with header-offset on main */
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a, #333333);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-poker__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-poker__hero-title {
  font-size: 4.5em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  display: block; /* Ensure it's a block element */
}

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-poker__game-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-poker__game-description {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-poker__strategy-list li {
  background-color: #0a0a0a;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-poker__strategy-list li strong {
  color: #FCBC45;
}

/* Bonuses Section */
.page-poker__bonuses-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-poker__bonus-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.page-poker__bonus-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__bonus-title {
  font-size: 2em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-poker__bonus-description {
  font-size: 1.1em;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-poker__mobile-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-poker__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-text .page-poker__section-title {
  text-align: left;
  padding-top: 0;
}

.page-poker__mobile-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-poker__faq-list {
  margin-top: 50px;
}

.page-poker__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-poker__faq-answer {
  font-size: 1.1em;
  color: #cccccc;
}

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #333333, #0a0a0a);
  text-align: center;
}

.page-poker__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-poker__cta-content .page-poker__section-title {
  color: #FCBC45;
  font-size: 3em;
  margin-bottom: 25px;
}

.page-poker__cta-content .page-poker__text-content {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3.5em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-poker__bonus-card {
    max-width: 48%;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-section {
    padding: 60px 15px 30px;
  }
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    min-width: unset;
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-poker__game-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-image {
    height: 220px;
  }
  .page-poker__bonus-cards {
    flex-direction: column;
    gap: 20px;
  }
  .page-poker__bonus-card {
    max-width: 100%;
  }
  .page-poker__mobile-content {
    flex-direction: column-reverse;
  }
  .page-poker__mobile-text .page-poker__section-title {
    text-align: center;
  }
  .page-poker__mobile-image {
    max-width: 80%;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__cta-content .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__strategy-list {
    grid-template-columns: 1fr;
  }
  /* Ensure content images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__game-image, .page-poker__mobile-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.6em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__game-title {
    font-size: 1.5em;
  }
  .page-poker__bonus-title {
    font-size: 1.8em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
  }
  .page-poker__cta-content .page-poker__section-title {
    font-size: 1.8em;
  }
}