/* style/poker.css */

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

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

.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page-poker__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-poker__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-poker__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__cta-button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-poker__about-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

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

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

.page-poker__feature-item img {
  width: 100%; /* Ensures image fills card width */
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

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

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

.page-poker__games-section {
  padding: 60px 0;
}

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

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

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

.page-poker__game-card img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-poker__card-title {
  font-size: 2em;
  color: #000000;
  margin: 25px 15px 15px 15px;
}

.page-poker__card-text {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 25px 20px;
}

.page-poker__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 30px;
  transition: background-color 0.3s ease;
}

.page-poker__card-button:hover {
  background-color: #e0a830;
}

.page-poker__strategy-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-poker__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.page-poker__strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-poker__strategy-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__strategy-paragraph {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-poker__strategy-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.page-poker__strategy-image img {
  width: 100%;
  height: auto;
  max-height: 750px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-poker__cta-button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
}

.page-poker__cta-button--learn-more:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-poker__cta-banner {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-poker__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-poker__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__cta-button--banner-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__cta-button--banner-register:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-poker__faq-section {
  padding: 60px 0;
}

.page-poker__faq-accordion {
  margin-top: 40px;
}

.page-poker__accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.page-poker__accordion-header {
  background-color: #f1f1f1;
  color: #333333;
  padding: 18px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__accordion-header:hover {
  background-color: #e0e0e0;
}

.page-poker__accordion-header.active {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__accordion-content {
  padding: 0 20px;
  background-color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-poker__accordion-content p {
  padding: 15px 0;
  font-size: 1em;
  color: #555555;
}

.page-poker__accordion-content a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__accordion-content a:hover {
  text-decoration: underline;
}

.page-poker__cta-button--faq {
  display: block;
  margin: 50px auto 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  max-width: 250px;
  text-align: center;
}

.page-poker__cta-button--faq:hover {
  background-color: #333333;
  border-color: #333333;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__cta-button {
    padding: 12px 25px;
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-description {
    font-size: 1em;
  }
  .page-poker__features-grid,
  .page-poker__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__strategy-content {
    flex-direction: column;
  }
  .page-poker__strategy-text,
  .page-poker__strategy-image {
    min-width: unset;
    width: 100%;
  }
  .page-poker__strategy-image img,
  .page-poker__feature-item img,
  .page-poker__game-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for mobile */
    min-height: 200px; /* Enforce minimum size for mobile */
  }
  .page-poker__cta-banner {
    padding: 60px 15px;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__accordion-header {
    font-size: 1.1em;
    padding: 15px 18px;
  }
  /* Ensure content images do not cause horizontal scrolling */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-poker {
    overflow-x: hidden;
  }
}

@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.8em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__feature-title,
  .page-poker__card-title {
    font-size: 1.5em;
  }
  .page-poker__strategy-subtitle {
    font-size: 1.5em;
  }
  .page-poker__accordion-header {
    font-size: 1em;
  }
}