/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

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

.page-poker__button--play, .page-poker__button--play-game, .page-poker__button--download-app, .page-poker__button--join-today {
  background-color: #FCBC45; /* Login/Play/Download/Join button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--play:hover, .page-poker__button--play-game:hover, .page-poker__button--download-app:hover, .page-poker__button--join-today:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-poker__button--view-promo, .page-poker__button--community, .page-poker__button--strategy {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--view-promo:hover, .page-poker__button--community:hover, .page-poker__button--strategy:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Text color on hero image */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Darken image for text readability, but not change color */
}

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

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
}

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

.page-poker__hero-actions .page-poker__button {
  margin: 0 15px;
  min-width: 180px;
}

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

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

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

.page-poker__feature-card:hover {
  transform: translateY(-10px);
}

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

.page-poker__feature-text {
  color: #666666;
  font-size: 1em;
}

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

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

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

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

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

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

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

.page-poker__game-card .page-poker__button {
  margin-bottom: 20px;
}

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

.page-poker__promo-list {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 700px;
  text-align: left;
}

.page-poker__promo-item {
  background-color: #FFFFFF;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-poker__promo-item::before {
  content: '⭐';
  margin-right: 15px;
  font-size: 1.2em;
}

.page-poker__promotions-section .page-poker__button {
  margin-top: 30px;
}

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

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

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

.page-poker__mobile-app-text .page-poker__section-title, .page-poker__mobile-app-text .page-poker__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__mobile-app-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block; /* Ensure image is block level */
}

/* Community & Strategy Section */
.page-poker__community-strategy-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-poker__community-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Security Section */
.page-poker__security-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-poker__security-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-poker__security-icon {
  width: 200px; /* Enforce min size for content images */
  height: 150px; /* Enforce min size for content images */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__security-feature-description {
  color: #666666;
}

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

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

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

.page-poker__cta-section .page-poker__button {
  margin-top: 40px;
  min-width: 220px;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__hero-actions .page-poker__button {
    margin: 10px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
    padding: 60px 0;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__hero-actions .page-poker__button {
    margin: 0;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-app-text, .page-poker__mobile-app-image {
    max-width: 100%;
    width: 100%;
  }
  .page-poker__mobile-app-text .page-poker__section-title, .page-poker__mobile-app-text .page-poker__section-intro {
    text-align: center;
  }
  .page-poker__community-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__promo-list {
    margin: 30px auto;
  }
  .page-poker__promo-item {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  /* Mobile content image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__security-icon {
    width: 150px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.95em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title, .page-poker__game-title, .page-poker__security-feature-title {
    font-size: 1.3em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}