/* style/poker.css */

/* Base styling for the poker page */
.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Explicitly set as per color scheme */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Section general styles */
.page-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Buttons */
.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;
  cursor: pointer;
  border: none;
  font-size: 1.05em;
  min-width: 150px; /* Ensure button minimum width */
  text-align: center;
}

.page-poker__button--register,
.page-poker__button--register-large {
  background-color: #000000; /* Main color for primary action */
  color: #FFFFFF; /* White text for black background */
}

.page-poker__button--register:hover,
.page-poker__button--register-large:hover {
  background-color: #333333;
}

.page-poker__button--login,
.page-poker__button--login-large {
  background-color: #FCBC45; /* Login specific color */
  color: #000000; /* Dark text for light background */
  border: 1px solid #FCBC45;
}

.page-poker__button--login:hover,
.page-poker__button--login-large:hover {
  background-color: #e0a53a;
}

.page-poker__button--play,
.page-poker__button--view-tournaments,
.page-poker__button--read-more,
.page-poker__button--claim,
.page-poker__button--download {
  background-color: #FCBC45; /* General action button color */
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-poker__button--play:hover,
.page-poker__button--view-tournaments:hover,
.page-poker__button--read-more:hover,
.page-poker__button--claim:hover,
.page-poker__button--download:hover {
  background-color: #e0a53a;
}


/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000; /* Dark background for the section */
}

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Overlay effect */
}

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

.page-poker__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

/* Why Play Section */
.page-poker__why-play {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.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.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 300px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

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

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

/* Game Varieties Section */
.page-poker__game-varieties {
  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: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

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

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

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

.page-poker__game-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

/* Tournaments Section */
.page-poker__tournaments {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

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

.page-poker__highlight-icon {
  width: 100%;
  height: auto;
  max-width: 300px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-poker__highlight-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__highlight-description {
  font-size: 1em;
  color: #666666;
}

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

.page-poker__cta-text {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #000000;
  font-weight: 600;
}

/* Strategy Guide Section */
.page-poker__strategy-guide {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-poker__article-image {
  width: 100%;
  height: auto;
  max-height: 225px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-poker__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-poker__article-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__article-title a:hover {
  color: #FCBC45;
}

.page-poker__article-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__button--read-more {
  align-self: flex-start;
}

/* Bonuses Section */
.page-poker__bonuses {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-poker__bonus-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; /* Adjust padding for button */
  transition: transform 0.3s ease;
}

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

.page-poker__bonus-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__bonus-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
  padding: 0 20px;
}

.page-poker__bonus-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__bonus-title a:hover {
  color: #FCBC45;
}

.page-poker__bonus-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  padding: 0 20px;
}

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

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

.page-poker__mobile-app-content {
  flex: 1;
  min-width: 300px;
}

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

.page-poker__mobile-app-image {
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Final CTA Section */
.page-poker__cta-final {
  padding: 80px 0;
  background-color: #000000; /* Dark background for final CTA */
  color: #FFFFFF;
  text-align: center;
}

.page-poker__cta-final .page-poker__section-title,
.page-poker__cta-final .page-poker__section-intro {
  color: #FFFFFF;
  text-shadow: none;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-content {
    padding: 60px 15px;
  }
  .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__button {
    width: 100%;
    max-width: 300px;
  }

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

  /* Prevent image overflow on mobile */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-poker__mobile-app-flex {
    flex-direction: column;
  }
  .page-poker__mobile-app-image-wrapper {
    order: -1; /* Image above content on mobile */
  }
  .page-poker__final-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}