.page-poker {
  color: #333333;
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below header */
}

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

.page-poker__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-poker__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 51, 102, 0.85); /* Royal Blue with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold */
  color: #003366; /* Royal Blue */
}

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

.page-poker__button--secondary {
  background-color: #003366; /* Royal Blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

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

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #003366; /* Royal Blue */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

.page-poker__section-intro {
  font-size: 1.2em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker__about-section, .page-poker__games-section, .page-poker__strategy-section, .page-poker__promo-section, .page-poker__app-section, .page-poker__responsible-gaming-section, .page-poker__resources-section, .page-poker__cta-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

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

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

.page-poker__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Ensure image is not too small */
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-poker__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

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

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

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

.page-poker__game-title {
  font-size: 2em;
  color: #003366;
  margin: 25px 20px 15px 20px;
}

.page-poker__game-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding: 0 20px 25px 20px;
}

.page-poker__button--details {
  background-color: #003366;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 25px;
  border: none;
}

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

.page-poker__content-block {
  margin-top: 60px;
  padding: 40px;
  background-color: #eef4f8;
  border-radius: 10px;
  text-align: center;
}

.page-poker__content-subtitle {
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 20px;
}

.page-poker__content-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #444444;
}

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

.page-poker__strategy-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__strategy-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__strategy-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-poker__strategy-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-poker__strategy-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

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

.page-poker__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-poker__promo-title {
  font-size: 1.8em;
  color: #003366;
  margin: 25px 20px 15px 20px;
}

.page-poker__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding: 0 20px 25px 20px;
}

.page-poker__cta-promo {
  text-align: center;
  margin-top: 60px;
}

.page-poker__app-section {
  background-color: #eef4f8;
}

.page-poker__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-poker__app-image {
  flex: 1 1 45%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-poker__app-features {
  flex: 1 1 45%;
  max-width: 600px;
}

.page-poker__app-subtitle {
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 25px;
}

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

.page-poker__app-list li {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.page-poker__list-icon {
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-poker__button--download {
  background-color: #FFD700;
  color: #003366;
  padding: 18px 35px;
  font-size: 1.2em;
  border: none;
}

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

.page-poker__responsible-gaming-section {
  background-color: #ffffff;
}

.page-poker__responsible-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.page-poker__responsible-list {
  list-style: disc;
  font-size: 1.1em;
  line-height: 1.8;
  color: #444444;
  max-width: 700px;
  margin-bottom: 30px;
  padding-left: 25px;
}

.page-poker__responsible-list li {
  margin-bottom: 10px;
}

.page-poker__resources-section {
  background-color: #f9f9f9;
}

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

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

.page-poker__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-poker__resource-title {
  font-size: 1.5em;
  color: #003366;
  margin: 20px 15px 10px 15px;
}

.page-poker__resource-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-poker__resource-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  padding: 0 15px 20px 15px;
}

.page-poker__cta-section {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

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

.page-poker__cta-section .page-poker__section-intro {
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__app-content {
    flex-direction: column;
  }
  .page-poker__app-image, .page-poker__app-features {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-content {
    padding: 15px;
  }
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__feature-card, .page-poker__game-card, .page-poker__strategy-item, .page-poker__promo-card, .page-poker__resource-card {
    padding: 20px;
  }
  .page-poker__feature-title, .page-poker__game-title, .page-poker__strategy-title, .page-poker__promo-title {
    font-size: 1.5em;
  }
  .page-poker__app-subtitle {
    font-size: 1.8em;
  }
  .page-poker__app-list li {
    font-size: 1em;
  }
  .page-poker__button--download {
    width: 100%;
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-poker__cta-actions {
    flex-direction: column;
  }
  /* Crucial: Ensure all images within .page-poker are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon, .page-poker__game-image, .page-poker__strategy-image, .page-poker__promo-image, .page-poker__app-image, .page-poker__resource-image {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover; /* Maintain aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__feature-title, .page-poker__game-title, .page-poker__strategy-title, .page-poker__promo-title {
    font-size: 1.3em;
  }
  .page-poker__app-subtitle {
    font-size: 1.6em;
  }
}