/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header-offset */
  background-color: #0A0A0A;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-poker__hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-poker__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #FFD36B; /* Accent color for H1 */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.page-poker__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on bright button */
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-poker__btn-secondary:hover {
  background: #0A0A0A; /* Darker on hover */
  border-color: #F2C14E; /* Primary color border on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.2);
}

/* Intro Section */
.page-poker__intro-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-poker__intro-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-poker__intro-text {
  flex: 1;
  font-size: 1.1em;
  color: #FFF6D6;
}

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

.page-poker__intro-image-wrapper {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__intro-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Games Section */
.page-poker__games-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-poker__game-card {
  background: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-poker__game-title {
  font-size: 1.6em;
  color: #FFD36B; /* Accent color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__game-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-poker__image-full-width {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__full-width-image {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.page-poker__feature-card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

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

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

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

.page-poker__tournaments-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Bonuses Section */
.page-poker__bonuses-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-poker__offer-card {
  background: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-poker__offer-title {
  font-size: 1.6em;
  color: #FFD36B; /* Accent color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__offer-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-poker__bonuses-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-poker__security-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-poker__security-content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-poker__security-image-wrapper {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__security-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-poker__security-text {
  flex: 1;
  font-size: 1.1em;
  color: #FFF6D6;
}

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

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-poker__step-card {
  background: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  text-align: center;
}

.page-poker__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-poker__getting-started-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-poker__strategy-card {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-poker__strategy-title {
  font-size: 1.6em;
  color: #FFD36B; /* Accent color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__strategy-card ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #FFF6D6;
}

.page-poker__strategy-card li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-poker__strategy-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-poker__faq-item {
  background: #0A0A0A;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  color: #F2C14E; /* Primary color */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #1a1a1a;
}

.page-poker__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B; /* Accent color */
  transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg);
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #FFF6D6;
  font-size: 1em;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-poker__faq-answer p {
  margin-bottom: 0;
}

.page-poker__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #FFD36B;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-poker__hero-content-wrapper {
    margin-top: -60px;
  }

  .page-poker__intro-grid,
  .page-poker__security-content-grid {
    flex-direction: column;
  }

  .page-poker__intro-image-wrapper,
  .page-poker__security-image-wrapper {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker__container {
    padding: 0 15px;
  }

  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-poker__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-poker__hero-content-wrapper {
    padding: 30px 15px;
    margin-top: -40px;
  }

  .page-poker__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-poker__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-poker__intro-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__bonuses-section,
  .page-poker__security-section,
  .page-poker__getting-started-section,
  .page-poker__strategy-section,
  .page-poker__faq-section,
  .page-poker__cta-final-section {
    padding: 50px 0;
  }

  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-poker__cta-buttons,
  .page-poker__button-group,
  .page-poker__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-poker__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Ensure content area images are not smaller than 200px */
  .page-poker img:not(.page-poker__icon) {
    min-width: 200px;
    min-height: 200px;
  }

  /* Override for specific small icons if they existed, though none are generated */
  /* .page-poker__category-icon { width: 30px !important; height: 30px !important; min-width: unset; min-height: unset; } */
  /* .page-poker__game-partner-logo { width: 167px !important; height: 127px !important; min-width: unset; min-height: unset; } */
}