/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f8f8f8 */
  background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Minimum height for hero */
  overflow: hidden;
  background-color: #1A2A4E; /* Main brand color for hero background */
  color: #ffffff;
}

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

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim image to make text readable */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
}

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

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

.page-poker__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: 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, transform 0.3s ease;
  border: 2px solid transparent;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1A2A4E;
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #1A2A4E;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-poker__section-title {
  font-size: 2.5em;
  color: #1A2A4E;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
}

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

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

.page-poker__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-poker__about-text p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444444;
}

.page-poker__about-image-wrapper {
  text-align: center;
}

.page-poker__about-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
  background-color: #1A2A4E;
  color: #ffffff;
}

.page-poker__why-choose-section .page-poker__section-title {
  color: #FFD700;
}

.page-poker__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-poker__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-poker__feature-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-poker__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Allowed for icons to make them stand out on dark background, not changing original color */
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

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

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

.page-poker__strategy-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-poker__strategy-card:hover {
  transform: translateY(-5px);
}

.page-poker__strategy-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__strategy-card-title {
  font-size: 1.4em;
  color: #1A2A4E;
  margin: 15px 15px 10px 15px;
  line-height: 1.3;
}

.page-poker__strategy-card-title a {
  color: #1A2A4E;
  text-decoration: none;
}

.page-poker__strategy-card-title a:hover {
  color: #FFD700;
}

.page-poker__strategy-card-description {
  font-size: 0.9em;
  color: #666666;
  padding: 0 15px 20px 15px;
}

.page-poker__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-poker__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-5px);
}

.page-poker__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #1A2A4E;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__promo-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-poker__responsible-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-poker__responsible-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__responsible-content p {
  font-size: 1.05em;
  color: #444444;
  margin-bottom: 15px;
}

.page-poker__responsible-content a {
  color: #1A2A4E;
  text-decoration: underline;
}

.page-poker__responsible-content a:hover {
  color: #FFD700;
}

/* Call to Action Section */
.page-poker__cta-section {
  background-color: #1A2A4E;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 3em;
  }

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

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

  .page-poker__about-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }

  .page-poker__main-title {
    font-size: 2.5em;
  }

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

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-poker__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-poker__game-grid,
  .page-poker__why-choose-grid,
  .page-poker__strategy-grid,
  .page-poker__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__hero-image,
  .page-poker__about-image,
  .page-poker__game-image,
  .page-poker__feature-icon,
  .page-poker__strategy-image,
  .page-poker__promo-image,
  .page-poker__responsible-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is maintained */
    min-height: 200px;
  }

  .page-poker__feature-icon {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-poker__responsible-content {
    flex-direction: column;
  }

  /* IMPORTANT: Ensure all content area images are responsive and don't cause overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}