.page-poker {
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: #0A0A0A; /* Ensures consistency, though body handles main 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 {
  padding: 60px 0;
  text-align: center;
}

.page-poker__section--dark {
  background-color: #111111; /* Card BG color for sections */
}

.page-poker__section-title {
  font-size: clamp(28px, 4vw, 48px); 
  color: #F2C14E; /* Main brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-poker__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-poker__main-title {
  font-size: clamp(32px, 5vw, 60px); /* H1 font size with clamp */
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-poker__intro-text {
  font-size: 20px;
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* Buttons */
.page-poker__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-poker__cta-buttons--center {
  margin-top: 40px;
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  min-width: 180px; /* Ensure buttons are not too small */
  height: auto;
}

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

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

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

.page-poker__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-poker__btn--small {
  font-size: 16px;
  padding: 10px 20px;
  min-width: 150px;
}

.page-poker__btn--large {
  font-size: 20px;
  padding: 18px 35px;
  min-width: 220px;
}

/* Feature Cards */
.page-poker__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
  object-fit: cover;
}

.page-poker__card-title {
  font-size: 24px;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__card-text {
  font-size: 16px;
  color: #FFF6D6;
}

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

.page-poker__step-item {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

.page-poker__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 22px;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__step-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 25px;
}

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

.page-poker__game-card {
  background-color: #0A0A0A; /* Darker background for game cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-poker__game-title {
  font-size: 22px;
  color: #FFD36B;
  padding: 15px 20px 0;
  font-weight: bold;
}

.page-poker__game-text {
  font-size: 15px;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

/* Tournament Features */
.page-poker__tournament-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__feature-item {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

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

.page-poker__feature-title {
  font-size: 22px;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-text {
  font-size: 16px;
  color: #FFF6D6;
}

/* Why Choose Grid */
.page-poker__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__why-choose-item {
  background-color: #0A0A0A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__why-choose-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__why-choose-title {
  font-size: 22px;
  color: #FFD36B;
  padding: 15px 20px 0;
  font-weight: bold;
}

.page-poker__why-choose-text {
  font-size: 15px;
  color: #FFF6D6;
  padding: 0 20px 20px;
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-poker__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-poker__faq-toggle {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

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

.page-poker__faq-text {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* CTA Section */
.page-poker__section--cta {
  padding: 80px 0;
  background-color: #0A0A0A;
  border-top: 1px solid #3A2A12;
}

.page-poker__container--cta {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-content {
    margin-top: 30px;
  }
  .page-poker__main-title {
    font-size: clamp(28px, 4.5vw, 50px);
  }
  .page-poker__intro-text {
    font-size: 18px;
  }
  .page-poker__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
  }
}

@media (max-width: 768px) {
  .page-poker__section {
    padding: 40px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__hero-section {
    padding-bottom: 40px;
  }
  .page-poker__hero-content {
    margin-top: 20px;
  }
  .page-poker__main-title {
    font-size: clamp(24px, 6vw, 40px);
  }
  .page-poker__intro-text {
    font-size: 16px;
  }
  .page-poker__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    min-width: unset;
  }
  .page-poker__feature-cards,
  .page-poker__steps-grid,
  .page-poker__game-cards,
  .page-poker__tournament-features,
  .page-poker__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-poker__card,
  .page-poker__step-item,
  .page-poker__game-card,
  .page-poker__feature-item,
  .page-poker__why-choose-item {
    padding: 20px;
  }
  .page-poker__card-image,
  .page-poker__game-image,
  .page-poker__why-choose-image,
  .page-poker__feature-item .page-poker__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 150px; /* Adjusted min-height for mobile for flexibility, still > 200px for desktop */
  }

  /* All images base responsive styles */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containing elements for images/content */
  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__hero-section,
  .page-poker__cta-buttons,
  .page-poker__feature-cards,
  .page-poker__steps-grid,
  .page-poker__game-cards,
  .page-poker__tournament-features,
  .page-poker__why-choose-grid,
  .page-poker__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fixed header spacing for first content block */
  .page-poker__hero-section {
    padding-top: 10px !important; /* As per instructions, small decorative top padding */
  }

  .page-poker__faq-question {
    font-size: 18px;
    padding: 15px;
  }
  .page-poker__faq-answer {
    padding: 0 15px;
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 15px 15px 15px;
  }
}