/* style/online-poker.css */

.page-online-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

.page-online-poker__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-online-poker__dark-bg {
  background-color: #000000;
  color: #FFFFFF;
}

.page-online-poker__dark-bg-text {
  color: #FFFFFF;
}

.page-online-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-online-poker__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

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

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

.page-online-poker__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-online-poker__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-online-poker__btn-primary,
.page-online-poker__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
  text-align: center;
}

.page-online-poker__btn-primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-online-poker__btn-primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-online-poker__btn-secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #000000;
}

.page-online-poker__btn-secondary:hover {
  background-color: #f0f0f0;
}

.page-online-poker__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-online-poker__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #000000;
}

.page-online-poker__dark-bg .page-online-poker__section-title {
  color: #FFFFFF;
}

.page-online-poker__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* Features Section */
.page-online-poker__features-section {
  padding: 60px 0;
}

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

.page-online-poker__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-online-poker__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-online-poker__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-online-poker__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Game Variants Section */
.page-online-poker__variants-section {
  padding: 60px 0;
}

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

.page-online-poker__game-card {
  background-color: #1a1a1a; /* Darker card for dark section */
  color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-online-poker__game-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-online-poker__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-online-poker__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-online-poker__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Getting Started Section */
.page-online-poker__getting-started-section {
  padding: 60px 0;
}

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

.page-online-poker__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-online-poker__step-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-online-poker__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Bonuses Section */
.page-online-poker__bonuses-section {
  padding: 60px 0;
}

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

.page-online-poker__bonus-card {
  background-color: #1a1a1a;
  color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-online-poker__bonus-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-online-poker__bonus-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-online-poker__bonus-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
}

.page-online-poker__cta-container {
  text-align: center;
  margin-top: 50px;
}

/* Mobile Section */
.page-online-poker__mobile-section {
  padding: 60px 0;
}

.page-online-poker__app-showcase {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-online-poker__app-text {
  flex: 1;
  text-align: left;
}

.page-online-poker__app-subtitle {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
}

.page-online-poker__app-description {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333333;
}

.page-online-poker__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-online-poker__app-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

/* Responsible Gaming Section */
.page-online-poker__responsible-gaming-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-online-poker__faq-section {
  padding: 60px 0;
}

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

.page-online-poker__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-online-poker__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

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

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

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

/* CTA Bottom Section */
.page-online-poker__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-online-poker__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-online-poker__app-showcase {
    flex-direction: column;
    text-align: center;
  }

  .page-online-poker__app-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-online-poker__hero-section {
    padding-bottom: 40px;
  }

  .page-online-poker__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

  .page-online-poker__btn-primary,
  .page-online-poker__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-online-poker__content-wrapper {
    padding: 30px 15px;
  }

  .page-online-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-online-poker__text-block {
    font-size: 0.95em;
  }

  .page-online-poker__feature-grid,
  .page-online-poker__game-grid,
  .page-online-poker__steps-grid,
  .page-online-poker__bonus-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-online-poker__app-subtitle {
    font-size: 1.5em;
  }

  .page-online-poker__app-showcase {
    gap: 20px;
  }

  /* Mobile image responsiveness */
  .page-online-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-online-poker__hero-image-wrapper,
  .page-online-poker__app-image-wrapper,
  .page-online-poker__feature-card,
  .page-online-poker__game-card,
  .page-online-poker__step-card,
  .page-online-poker__bonus-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-online-poker__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-online-poker__faq-answer {
    padding: 0 15px;
  }

  .page-online-poker__faq-item.active .page-online-poker__faq-answer {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .page-online-poker__hero-buttons {
    flex-direction: column;
  }
}