/* style/poker.css */
.page-poker {
  color: #333333; /* Dark text for light body background */
}

.page-poker__hero-section {
  padding-top: var(--header-offset, 120px); /* For fixed header offset */
  background-color: #000000; /* Main background for hero section */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFFFFF;
}

.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;
  white-space: nowrap;
}

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

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

.page-poker__button--login,
.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-poker__button--download,
.page-poker__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

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

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

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

.page-poker__about-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__get-started-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__join-us-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__tournament-card,
.page-poker__step-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-poker__feature-text,
.page-poker__game-description,
.page-poker__tournament-text,
.page-poker__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__game-image,
.page-poker__tournament-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-poker__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-poker__mobile-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-poker__mobile-section .page-poker__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

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

.page-poker__mobile-section .page-poker__section-title {
  color: #FFFFFF;
  text-align: left;
}

.page-poker__mobile-section .page-poker__section-intro {
  color: #f0f0f0;
  text-align: left;
  margin-left: 0;
}

.page-poker__mobile-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

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

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

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-poker__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-poker__join-us-section {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 80px 0;
}

.page-poker__join-us-section .page-poker__section-title {
  color: #000000;
}

.page-poker__join-us-section .page-poker__section-intro {
  color: #333333;
  margin-bottom: 50px;
}

.page-poker__join-us-section .page-poker__button {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__join-us-section .page-poker__button:hover {
  background-color: #333333;
  border-color: #333333;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-poker__hero-container {
    padding: 20px 15px;
  }
  .page-poker__hero-content {
    position: static;
    transform: none;
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: 20px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__tournament-grid,
  .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-section .page-poker__container {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-content {
    text-align: center;
  }
  .page-poker__mobile-section .page-poker__section-title,
  .page-poker__mobile-section .page-poker__section-intro {
    text-align: center;
  }
  .page-poker__mobile-image {
    max-width: 300px;
  }
  /* Ensure content images are not too small and prevent overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-poker__game-image,
  .page-poker__tournament-image {
    max-width: 100%; /* Override max-width for mobile */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-title,
  .page-poker__game-title,
  .page-poker__tournament-title,
  .page-poker__step-title {
    font-size: 1.5em;
  }
}