/* style/poker.css */
.page-poker {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  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.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-poker__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Dark red text for contrast */
}

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

.page-poker__button--secondary {
  background-color: #8B0000; /* Dark red secondary button */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #FFD700;
}

.page-poker__button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  min-width: 250px;
}

.page-poker__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__text-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  text-align: center;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-poker__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section (Features Grid) */
.page-poker__about-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.12);
}

.page-poker__feature-icon {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

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

.page-poker__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

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

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

.page-poker__game-card {
  background: rgba(139, 0, 0, 0.7); /* Dark red for game cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  background: rgba(139, 0, 0, 0.9);
}

.page-poker__game-image {
  width: 350px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

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

.page-poker__game-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-poker__tournament-list {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 800px;
}

.page-poker__tournament-item {
  background: rgba(255, 215, 0, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-poker__tournament-item strong {
  color: #FFD700;
}

.page-poker__tournament-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
}

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

.page-poker__strategy-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 3px solid #FFD700;
}

.page-poker__strategy-text {
  flex: 2 1 500px;
  line-height: 1.8;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-poker__strategy-text p {
  margin-bottom: 20px;
}

.page-poker__strategy-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
}

.page-poker__strategy-list strong {
  color: #FFD700;
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
  background-color: rgba(139, 0, 0, 0.7); /* Dark red background */
}

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

.page-poker__step-card {
  background: rgba(0, 0, 0, 0.4); /* Dark background for steps */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #FFD700;
}

.page-poker__step-icon {
  width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #FFD700;
}

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

.page-poker__step-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__final-cta {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-poker__faq-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-poker__faq-question {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
  font-size: 1.1em;
  color: #e0e0e0;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

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

/* CTA Section */
.page-poker__cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #8B0000, #FFD700);
  text-align: center;
}

.page-poker__cta-container {
  padding: 60px 40px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  max-width: 900px;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-poker__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__section-title {
    font-size: 2.2em;
  }

  .page-poker__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-poker__strategy-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 500px;
  }

  .page-poker__hero-content {
    padding: 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%;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-poker__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__features-grid, .page-poker__games-grid, .page-poker__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__feature-icon, .page-poker__game-image, .page-poker__step-icon {
    width: 100%;
    height: auto; /* Ensure images are responsive */
    max-width: 400px; /* Constrain max width for smaller images */
    max-height: 300px;
    object-fit: cover;
  }

  .page-poker__feature-card, .page-poker__game-card, .page-poker__step-card {
    padding: 20px;
  }

  .page-poker__feature-title, .page-poker__game-title, .page-poker__step-title {
    font-size: 1.5em;
  }

  .page-poker__cta-title {
    font-size: 2em;
  }

  .page-poker__cta-description {
    font-size: 1em;
  }

  .page-poker__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Mobile image overflow prevention */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@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__faq-question {
    font-size: 1.4em;
  }

  .page-poker__cta-title {
    font-size: 1.8em;
  }
  .page-poker__container {
    padding: 0 15px;
  }
}