.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  background-color: #0A0A0A; /* Ensure dark background for hero */
  overflow: hidden;
}

.page-poker__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-poker__main-title {
  color: #FFF6D6; /* Text Main */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.page-poker__hero-description {
  color: #FFF6D6;
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

.page-poker__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

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

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

.page-poker__about-section,
.page-poker__live-section,
.page-poker__getting-started-section,
.page-poker__security-section,
.page-poker__support-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-poker__games-section,
.page-poker__promo-section,
.page-poker__mobile-app-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

.page-poker__image-text-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-poker__image-text-grid--reverse {
  flex-direction: row-reverse;
}

.page-poker__grid-text {
  flex: 1;
}

.page-poker__grid-text p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-poker__grid-image {
  flex: 1;
  text-align: center;
}

.page-poker__grid-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

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

.page-poker__game-card,
.page-poker__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover,
.page-poker__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-poker__game-card img,
.page-poker__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

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

.page-poker__card-button {
  margin-top: auto;
  padding: 10px 20px;
  font-size: 1rem;
  width: 100%;
}

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

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

.page-poker__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
}

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

.page-poker__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFF6D6; /* Text Main */
}

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

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

.page-poker__feature-item,
.page-poker__channel-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.page-poker__feature-title,
.page-poker__channel-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow */
}

.page-poker__feature-text,
.page-poker__channel-text {
  color: #FFF6D6;
}

.page-poker__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 600px;
  color: #FFF6D6;
}

.page-poker__responsible-gaming-list li {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.page-poker__responsible-gaming-list li::before {
  content: '✓';
  color: #FFD36B; /* Glow */
  font-weight: bold;
  margin-right: 10px;
}

.page-poker__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background-color: #0A0A0A; /* Background */
  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;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFF6D6; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

.page-poker__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  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;
  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 value */
  padding: 20px;
  padding-top: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__image-text-grid {
    flex-direction: column;
  }
  .page-poker__image-text-grid--reverse {
    flex-direction: column;
  }
}

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

  .page-poker__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-poker__main-title {
    font-size: 2rem;
  }

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

  .page-poker__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .page-poker__section-title {
    font-size: 2rem;
  }

  .page-poker__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__live-section,
  .page-poker__promo-section,
  .page-poker__getting-started-section,
  .page-poker__mobile-app-section,
  .page-poker__security-section,
  .page-poker__responsible-gaming-section,
  .page-poker__support-section,
  .page-poker__faq-section {
    padding: 40px 0;
  }

  .page-poker__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile specific image adaptation */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-poker__game-card img,
  .page-poker__promo-card img {
    width: 100% !important;
    height: auto !important;
  }

  .page-poker__game-cards-grid,
  .page-poker__promo-grid,
  .page-poker__steps-grid,
  .page-poker__security-features,
  .page-poker__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-poker__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__card-button {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-poker__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-poker__faq-answer {
    padding: 0 15px;
  }
  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

  .page-poker__floating-buttons {
    flex-direction: column;
    align-items: stretch;
    left: 15px;
    right: 15px;
    bottom: 15px;
  }

  .page-poker__floating-button {
    width: 100%;
    margin-bottom: 10px;
  }
  .page-poker__floating-button:last-child {
    margin-bottom: 0;
  }
}