.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--secondary-color); /* Assumed white from shared.css */
  padding-top: var(--header-offset, 120px);
}

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

.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;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

.page-poker__hero-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.4em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-poker__button--play-now {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--play-now:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

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

.page-poker__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #444444;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__mobile-section, .page-poker__strategy-section, .page-poker__security-section, .page-poker__cta-section {
  padding: 60px 0;
}

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

.page-poker__button--register {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
}

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

.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: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

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

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

.page-poker__button--play-game {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__button--play-game:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__tournaments-section {
  background-color: #F0F0F0;
}

.page-poker__button--view-promo {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 20px;
  margin-top: 30px;
}

.page-poker__button--view-promo:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-poker__button--join-tournament {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
}

.page-poker__button--join-tournament:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

.page-poker__mobile-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-poker__mobile-content {
  flex: 1;
  text-align: left;
}

.page-poker__mobile-content .page-poker__section-title {
  text-align: left;
}

.page-poker__mobile-content .page-poker__section-text {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__mobile-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-poker__feature-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #444444;
}

.page-poker__feature-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__button--download-app {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
}

.page-poker__button--download-app:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-poker__strategy-section {
  background-color: #F8F8F8;
}

.page-poker__button--read-blog {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-poker__button--read-blog:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

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

.page-poker__button--responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 20px;
  margin-top: 30px;
}

.page-poker__button--responsible-gaming:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__button--contact-support {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-poker__button--contact-support:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

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

.page-poker__cta-section .page-poker__section-text {
  color: #F0F0F0;
}

.page-poker__cta-buttons {
  margin-top: 40px;
  text-align: center;
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin: 0 15px;
}

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

.page-poker__button--login:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }

  .page-poker__hero-description {
    font-size: 1.2em;
  }

  .page-poker__section-title {
    font-size: 2em;
  }

  .page-poker__mobile-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-poker__mobile-content, .page-poker__mobile-image-wrapper {
    text-align: center;
  }

  .page-poker__mobile-content .page-poker__section-title {
    text-align: center;
  }

  .page-poker__mobile-content .page-poker__section-text {
    text-align: center;
  }

  .page-poker__mobile-features {
    text-align: center;
    padding-left: 0;
  }
  
  .page-poker__feature-item {
    padding-left: 0;
    margin-bottom: 15px;
  }

  .page-poker__feature-item::before {
    position: static;
    margin-right: 10px;
  }

  .page-poker__button--view-promo, .page-poker__button--join-tournament, .page-poker__button--responsible-gaming, .page-poker__button--contact-support {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.2em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-poker__game-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__mobile-section, .page-poker__strategy-section, .page-poker__security-section, .page-poker__cta-section {
    padding: 40px 0;
  }

  .page-poker__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 10px 0;
    width: 100%;
  }
  
  .page-poker__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-poker__container img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }

  .page-poker__hero-description {
    font-size: 0.9em;
  }

  .page-poker__hero-content {
    padding: 20px;
  }

  .page-poker__section-title {
    font-size: 1.5em;
  }

  .page-poker__section-text {
    font-size: 0.95em;
  }
}

/* Ensure all content images within .page-poker are responsive and not too small */
.page-poker img {
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space nicely */
}

.page-poker__game-image {
  min-width: 300px; /* Card images should be larger */
  min-height: 250px;
}

.page-poker__mobile-image {
  min-width: 200px;
  min-height: 200px;
}

/* No filter properties allowed for images */
.page-poker img {
  filter: none; /* Explicitly disable any potential filter inheritance */
}