/* style/online-poker.css */

/* Base styles for the online-poker page */
.page-online-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page */
}

/* Dark background sections for contrast */
.page-online-poker__dark-bg {
  background-color: #0047AB; /* Deep Royal Blue */
  color: #ffffff; /* White text for contrast */
}

/* Light background sections */
.page-online-poker__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Section padding */
.page-online-poker__hero-section,
.page-online-poker__features-section,
.page-online-poker__getting-started-section,
.page-online-poker__game-variants-section,
.page-online-poker__tournaments-section,
.page-online-poker__strategies-section,
.page-online-poker__mobile-app-section,
.page-online-poker__responsible-gaming-section,
.page-online-poker__faq-section,
.page-online-poker__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

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

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

.page-online-poker__hero-content {
  position: relative; /* Ensure content is above image in normal flow, not overlaid */
  margin-top: 30px;
  max-width: 800px;
}

.page-online-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #0047AB;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-online-poker__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #333333;
}

.page-online-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #0047AB;
}

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

.page-online-poker__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

.page-online-poker__btn-primary {
  background-color: #0047AB; /* Deep Royal Blue */
  color: #ffffff;
  border: 2px solid #0047AB;
}

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

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

.page-online-poker__btn-secondary:hover {
  background-color: #0047AB;
  color: #ffffff;
}

.page-online-poker__dark-bg .page-online-poker__btn-secondary {
  color: #FFD700;
  border-color: #FFD700;
}

.page-online-poker__dark-bg .page-online-poker__btn-secondary:hover {
  background-color: #FFD700;
  color: #0047AB;
}

.page-online-poker__btn-tertiary {
  background-color: #FFD700; /* Vibrant Gold */
  color: #0047AB;
  border: 2px solid #FFD700;
}

.page-online-poker__btn-tertiary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-online-poker__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-online-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-online-poker__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0047AB;
}

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

.page-online-poker__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-online-poker__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-online-poker__step-card p {
  margin-bottom: 20px;
}

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

.page-online-poker__variant-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-online-poker__variant-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-online-poker__variant-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0047AB;
}

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

.page-online-poker__tournament-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-online-poker__tournament-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-online-poker__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Strategies Section */
.page-online-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-online-poker__strategy-list li {
  background-color: #f0f8ff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #0047AB;
  border-radius: 5px;
  font-size: 1.1rem;
  color: #333333;
}

.page-online-poker__strategy-list li strong {
  color: #0047AB;
}

/* Mobile App Section */
.page-online-poker__app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.page-online-poker__app-card {
  text-align: center;
  color: #ffffff;
}

.page-online-poker__app-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin: 0 auto 20px auto;
  display: block;
}

.page-online-poker__app-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-online-poker__app-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.page-online-poker__app-features {
  color: #ffffff;
}

.page-online-poker__app-feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-online-poker__app-feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-online-poker__app-feature-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid #FFD700;
  border-radius: 5px;
  font-size: 1.1rem;
}

/* Responsible Gaming Section */
.page-online-poker__responsible-gaming-content {
  text-align: center;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-online-poker__responsible-gaming-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* FAQ Section */
.page-online-poker__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-online-poker__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-online-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-online-poker__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-online-poker__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-online-poker__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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;
  color: #ffffff;
}

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

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

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

/* General image styling */
.page-online-poker img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-online-poker__hero-section,
  .page-online-poker__features-section,
  .page-online-poker__getting-started-section,
  .page-online-poker__game-variants-section,
  .page-online-poker__tournaments-section,
  .page-online-poker__strategies-section,
  .page-online-poker__mobile-app-section,
  .page-online-poker__responsible-gaming-section,
  .page-online-poker__faq-section,
  .page-online-poker__cta-section {
    padding: 30px 15px;
  }

  .page-online-poker__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-online-poker__hero-description,
  .page-online-poker__section-intro,
  .page-online-poker p,
  .page-online-poker li,
  .page-online-poker__faq-question,
  .page-online-poker__faq-answer p {
    font-size: 1rem;
  }

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

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

  .page-online-poker__features-grid,
  .page-online-poker__steps-grid,
  .page-online-poker__variants-grid,
  .page-online-poker__tournament-types,
  .page-online-poker__app-download-grid {
    grid-template-columns: 1fr;
  }

  .page-online-poker__app-download-grid {
    gap: 30px;
  }

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

  .page-online-poker__hero-image-wrapper,
  .page-online-poker__features-section,
  .page-online-poker__getting-started-section,
  .page-online-poker__game-variants-section,
  .page-online-poker__tournaments-section,
  .page-online-poker__strategies-section,
  .page-online-poker__mobile-app-section,
  .page-online-poker__responsible-gaming-section,
  .page-online-poker__faq-section,
  .page-online-poker__cta-section,
  .page-online-poker__feature-card,
  .page-online-poker__step-card,
  .page-online-poker__variant-card,
  .page-online-poker__tournament-card,
  .page-online-poker__app-card,
  .page-online-poker__app-features,
  .page-online-poker__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Ensure no top padding for video section on mobile if it were present, but this page has no video */
  /* .page-online-poker__video-section { padding-top: 10px !important; } */
}

/* Additional general styling for elements to ensure contrast */
.page-online-poker h1, .page-online-poker h2, .page-online-poker h3, .page-online-poker h4, .page-online-poker h5, .page-online-poker h6 {
  color: #0047AB;
}

.page-online-poker__dark-bg h1, .page-online-poker__dark-bg h2, .page-online-poker__dark-bg h3 {
  color: #FFD700;
}

.page-online-poker a:not([class*="btn"]) {
  color: #0047AB;
  text-decoration: underline;
}

.page-online-poker a:not([class*="btn"]):hover {
  color: #003a8a;
}

.page-online-poker__dark-bg a:not([class*="btn"]) {
  color: #FFD700;
}

.page-online-poker__dark-bg a:not([class*="btn"]):hover {
  color: #e6c200;
}