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

.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 */
  background-color: #000000; /* Dark background for hero content */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Overlay to make text readable */
}

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

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

.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: none;
  cursor: pointer;
}

.page-poker__button--register {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #FCBC45;
}

.page-poker__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-poker__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

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

/* General Section Styling */
.page-poker__about-section, 
.page-poker__game-variety-section, 
.page-poker__tournaments-section, 
.page-poker__mobile-experience-section, 
.page-poker__promotions-section, 
.page-poker__safety-section, 
.page-poker__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-poker__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
  font-weight: bold;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

/* Image Grid */
.page-poker__image-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-poker__image-item {
  flex: 1 1 calc(50% - 30px);
  max-width: 500px;
  text-align: center;
}

.page-poker__image-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__image-caption {
  font-size: 1.3em;
  margin-top: 15px;
  color: #000000;
}

/* Game List / Promo Cards */
.page-poker__game-list, 
.page-poker__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__game-card, 
.page-poker__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
}

.page-poker__game-card img, 
.page-poker__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-poker__button--play-game, 
.page-poker__button--claim-bonus {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
  align-self: flex-start;
}

.page-poker__button--play-game:hover, 
.page-poker__button--claim-bonus:hover {
  background-color: #e0a53b;
}

/* Tournament Features */
.page-poker__tournament-features, 
.page-poker__safety-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-poker__feature-item {
  flex: 1 1 calc(33% - 30px);
  max-width: 350px;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-poker__feature-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Mobile Experience */
.page-poker__mobile-experience-section {
  background-color: #000000;
  color: #ffffff;
}

.page-poker__mobile-experience-section .page-poker__section-title {
  color: #FCBC45;
}

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

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

.page-poker__mobile-app-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-poker__feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 500px;
}

.page-poker__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #ffffff;
}

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

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

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

.page-poker__button--all-promos, 
.page-poker__button--learn-responsible {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
  margin-top: 30px;
}

.page-poker__button--all-promos:hover, 
.page-poker__button--learn-responsible:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* CTA Section */
.page-poker__cta-section {
  background-color: #f0f0f0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__game-list, 
  .page-poker__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__main-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__text-content {
    font-size: 0.95em;
  }
  .page-poker__image-grid, 
  .page-poker__game-list, 
  .page-poker__promo-cards, 
  .page-poker__tournament-features, 
.page-poker__safety-features, 
  .page-poker__mobile-features {
    flex-direction: column;
    gap: 20px;
  }
  .page-poker__image-item, 
  .page-poker__feature-item, 
  .page-poker__mobile-app-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-poker__game-card, 
  .page-poker__promo-card {
    min-height: auto;
  }
  .page-poker__game-card img, 
  .page-poker__promo-card img, 
  .page-poker__image-item img, 
  .page-poker__mobile-app-image {
    max-width: 100% !important;
    height: auto !important; /* Ensure images are responsive and don't overflow */
    min-width: 200px !important; /* Enforce min size for content images */
    min-height: 200px !important; /* Enforce min size for content images */
  }
  .page-poker__feature-list {
    text-align: center;
  }
  .page-poker__list-item {
    padding-left: 0;
  }
  .page-poker__list-item::before {
    position: static;
    margin-right: 10px;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button--large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
}