.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-poker__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-poker__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual flow, but text is below image in DOM */
  position: relative; /* For z-index if needed */
  z-index: 1;
  background-color: rgba(10, 10, 10, 0.8); /* Slightly transparent background for readability */
  border-radius: 10px;
  padding-top: 80px; /* Extra padding to ensure text is not on image */
}

.page-poker__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

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

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-poker__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #FFD36B; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-poker__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-poker__highlight {
  color: #F2C14E;
  font-weight: bold;
}

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

.page-poker__center-align {
  text-align: center;
}

.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%); /* Button Gradient */
  color: #ffffff; /* White text for buttons */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #FFE890 0%, #EBB030 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-poker__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Border */
}

.page-poker__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  transform: translateY(-2px);
}

.page-poker__dark-section {
  background-color: #0A0A0A; /* Background */
  padding: 80px 0;
}

.page-poker__dark-bg {
  background-color: #0A0A0A; /* Background */
  padding: 80px 0;
}

.page-poker__light-bg {
  background-color: #111111; /* Card BG, acting as a lighter dark for contrast */
  padding: 80px 0;
}

.page-poker__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-poker__intro-section .page-poker__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.page-poker__feature-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
  text-align: center;
}

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

.page-poker__games-section {
  padding: 80px 0;
}

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

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

.page-poker__game-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
  text-align: center;
}

.page-poker__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  text-align: center;
}

.page-poker__getting-started-section {
  padding: 80px 0;
}

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

.page-poker__step-item {
  text-align: center;
  position: relative;
  padding-top: 50px;
}

.page-poker__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E;
  color: #0A0A0A;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid #3A2A12;
}

.page-poker__step-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
  margin-top: 15px;
}

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

.page-poker__promotions-section {
  padding: 80px 0;
}

.page-poker__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  gap: 25px;
}

.page-poker__promo-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-poker__promo-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

.page-poker__security-section {
  padding: 80px 0;
}

.page-poker__security-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-poker__security-image {
  flex: 1 1 500px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-poker__security-text {
  flex: 1 1 400px;
}

.page-poker__more-games-section {
  padding: 80px 0;
}

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

.page-poker__game-card {
  display: block;
  text-decoration: none;
  text-align: center;
}

.page-poker__game-card-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-poker__game-card-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

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

.page-poker__mobile-app-section {
  padding: 80px 0;
}

.page-poker__app-download-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.page-poker__app-image {
  flex: 1 1 500px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-poker__app-text {
  flex: 1 1 400px;
}

.page-poker__faq-section {
  padding: 80px 0;
}

.page-poker__faq-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-poker__faq-item {
  cursor: pointer;
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-poker__faq-title {
  font-size: 1.2em;
  color: #F2C14E;
  margin: 0;
}

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

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(0deg); /* No rotation for minus sign */
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #0A0A0A; /* Background */
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
  border: 1px solid #3A2A12;
  border-top: none;
}

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

.page-poker__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-poker__conclusion-section .page-poker__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-poker__hero-content {
    margin-top: -100px;
  }
  .page-poker__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-poker__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  }
  .page-poker__security-details, .page-poker__app-download-content {
    flex-direction: column;
  }
  .page-poker__security-image, .page-poker__app-image {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
    padding-top: 60px;
  }
  .page-poker__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  .page-poker__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }
  .page-poker__paragraph {
    font-size: 0.95em;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn-primary, .page-poker__btn-secondary,
  .page-poker a[class*="button"],
  .page-poker a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .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__features-grid, .page-poker__game-types-grid, .page-poker__steps-grid, .page-poker__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .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__hero-section,
  .page-poker__intro-section,
  .page-poker__why-choose-section,
  .page-poker__games-section,
  .page-poker__getting-started-section,
  .page-poker__promotions-section,
  .page-poker__security-section,
  .page-poker__more-games-section,
  .page-poker__mobile-app-section,
  .page-poker__faq-section,
  .page-poker__conclusion-section {
    padding: 40px 0;
  }
  .page-poker__hero-content {
    margin-top: -80px; /* Adjust overlap for smaller screens */
    padding-top: 80px;
  }
  .page-poker__faq-question {
    padding: 15px;
  }
  .page-poker__faq-answer {
    padding: 15px;
  }
}