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

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

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1A237E; /* Main color as fallback */
  color: #ffffff;
  padding: 0;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary 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;
  color: #f0f0f0;
}

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

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

.page-poker__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A237E; /* Main color */
  border: 2px solid #FFD700;
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-poker__button--center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

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

.page-poker__about-section, .page-poker__games-section, .page-poker__tournaments-section, .page-poker__bonuses-section, .page-poker__mobile-section, .page-poker__responsible-gaming-section, .page-poker__faq-section, .page-poker__cta-section {
  padding: 60px 0;
}

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

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

.page-poker__grid-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

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

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

.page-poker__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__game-title {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  min-height: 90px; /* Ensure consistent card height */
}

.page-poker__full-promo {
  background-color: #1A237E;
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
}

.page-poker__full-promo-text {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.page-poker__tournaments-section {
  background-color: #f0f2f5;
}

.page-poker__tournament-features {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-poker__feature-item {
  flex: 1 1 280px;
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__feature-heading {
  font-size: 1.4em;
  color: #1A237E;
  margin-bottom: 10px;
}

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

.page-poker__tournament-banner {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-poker__bonuses-section {
  background-color: #ffffff;
}

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

.page-poker__bonus-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__bonus-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__bonus-title {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__bonus-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  min-height: 90px; /* Ensure consistent card height */
}

.page-poker__mobile-section {
  background-color: #1A237E;
  color: #ffffff;
}

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

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

.page-poker__mobile-image-wrapper {
  flex: 1 1 35%;
  text-align: center;
}

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

.page-poker__mobile-content .page-poker__section-title {
  color: #FFD700;
  text-align: left;
}

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

.page-poker__mobile-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__mobile-features-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-poker__list-icon {
  color: #FFD700;
  margin-right: 10px;
  font-size: 1.2em;
}

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

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

.page-poker__responsible-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 25px;
  text-align: center;
}

.page-poker__responsible-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__responsible-heading {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__responsible-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
  min-height: 70px; /* Ensure consistent card height */
}

.page-poker__link {
  color: #1A237E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__link:hover {
  color: #FFD700;
}

.page-poker__faq-section {
  background-color: #ffffff;
}

.page-poker__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-poker__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-poker__faq-question {
  font-size: 1.2em;
  color: #1A237E;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e8eaf6; /* Lighter shade of main color */
  font-weight: bold;
}

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

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

.page-poker__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-poker__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  color: #555555;
}

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content height */
  padding-top: 15px;
  padding-bottom: 20px;
}

.page-poker__cta-section {
  background-color: #FFD700; /* Auxiliary color */
  padding: 80px 0;
  text-align: center;
}

.page-poker__cta-container {
  max-width: 900px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #1A237E;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-poker__cta-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__grid, .page-poker__game-grid, .page-poker__bonus-grid, .page-poker__responsible-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset-mobile, 80px);
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-poker__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__grid-item, .page-poker__game-card, .page-poker__bonus-card, .page-poker__responsible-item {
    padding: 20px;
  }
  .page-poker__feature-image, .page-poker__game-image, .page-poker__bonus-image, .page-poker__responsible-image {
    height: 180px;
  }
  .page-poker__mobile-layout {
    flex-direction: column;
  }
  .page-poker__mobile-content, .page-poker__mobile-image-wrapper {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-poker__mobile-content .page-poker__section-title, .page-poker__mobile-content .page-poker__section-intro {
    text-align: center;
  }
  .page-poker__mobile-image {
    width: 80%;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  /* Mobile content image overflow prevention */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__button {
    width: 95%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-poker__faq-answer p {
    font-size: 0.9em;
  }
  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__cta-description {
    font-size: 0.9em;
  }
  .page-poker__hero-image {
    height: 300px; /* Further adjust hero image height for smaller mobile */
  }
}