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

.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, body handles header offset */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-poker__hero-video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin-bottom: 30px;
}

.page-poker__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

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

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

.page-poker__btn-primary,
.page-poker__btn-play,
.page-poker__btn-claim,
.page-poker__btn-step {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text on bright button */
  border: none;
}

.page-poker__btn-primary:hover,
.page-poker__btn-play:hover,
.page-poker__btn-claim:hover,
.page-poker__btn-step:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-poker__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow color */
  border: 2px solid #FFD36B;
}

.page-poker__btn-secondary:hover {
  background-color: #FFD36B;
  color: #0A0A0A; /* Dark text on bright button */
  transform: translateY(-2px);
}

.page-poker__section-title {
  font-size: 2.5rem;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-poker__dark-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

.page-poker__about-section {
  padding: 60px 0;
}

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

.page-poker__about-item {
  text-align: center;
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__item-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-poker__item-text {
  color: #FFF6D6;
}

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

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

.page-poker__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__game-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.page-poker__card-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-poker__card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-poker__btn-play {
  margin: 0 15px 15px 15px;
  width: calc(100% - 30px);
}

.page-poker__view-all-button {
  text-align: center;
  margin-top: 40px;
}

.page-poker__promo-section {
  padding: 60px 0;
}

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

.page-poker__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.page-poker__btn-claim {
  margin: 0 15px 15px 15px;
  width: calc(100% - 30px);
}

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

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

.page-poker__feature-item {
  text-align: center;
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-poker__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-poker__mobile-image {
  flex: 1 1 40%;
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-poker__mobile-text {
  flex: 1 1 50%;
  color: #FFF6D6;
}

.page-poker__mobile-text .page-poker__item-title {
  text-align: left;
  font-size: 1.5rem;
}

.page-poker__mobile-text .page-poker__item-text {
  text-align: left;
  margin-bottom: 20px;
}

.page-poker__get-started-section {
  padding: 60px 0;
}

.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; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__step-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.page-poker__btn-step {
  margin: 0 15px 15px 15px;
  width: calc(100% - 30px);
}

.page-poker__partners-section {
  padding: 60px 0;
}

.page-poker__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-poker__partner-logo {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%); /* Example style, ensure contrast */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.page-poker__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

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

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  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-weight: bold;
  font-size: 1.1rem;
}

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

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

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(0deg); /* Text changes to '-', no rotation needed for '+' to '-' */
}

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

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

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

.page-poker__cta-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust for smaller screens */
  }
  .page-poker__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-image {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-poker__mobile-text .page-poker__item-title,
  .page-poker__mobile-text .page-poker__item-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-poker__section-title {
    font-size: 2rem;
  }
  .page-poker__intro-text,
  .page-poker__section-description,
  .page-poker__card-text,
  .page-poker__item-text {
    font-size: 1rem;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-play,
  .page-poker__btn-claim,
  .page-poker__btn-step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__hero-section,
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__promo-section,
  .page-poker__security-section,
  .page-poker__mobile-section,
  .page-poker__get-started-section,
  .page-poker__partners-section,
  .page-poker__faq-section,
  .page-poker__cta-section {
    padding: 40px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  /* Mobile video responsiveness */
  .page-poker__hero-video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }
  .page-poker__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
  /* Mobile image responsiveness */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x5 grid becomes 5x2 on mobile */
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .page-poker__section-title {
    font-size: 1.8rem;
  }
  .page-poker__cta-buttons {
    gap: 10px;
  }
  .page-poker__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* Ensure 2 columns on very small screens */
  }
}