/* style/online-poker.css */

/* Base styles for the page content */
.page-online-poker {
  color: #FFF6D6; /* Text Main color for dark body background */
  background-color: #0A0A0A; /* Page background color matching body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-online-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles main offset */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-online-poker__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-online-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.page-online-poker__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-online-poker__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFD36B;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive H1 size */
}

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

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

/* General Section Styling */
.page-online-poker__section-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

/* Buttons */
.page-online-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  border: none;
  cursor: pointer;
}

.page-online-poker__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-online-poker__button--secondary {
  background: none;
  border: 2px solid #F2C14E;
  color: #F2C14E;
  box-shadow: none;
}

.page-online-poker__button--secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

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

.page-online-poker__button--large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Content Areas */
.page-online-poker__features-section, 
.page-online-poker__getting-started-section, 
.page-online-poker__games-section, 
.page-online-poker__bonuses-section, 
.page-online-poker__app-section, 
.page-online-poker__responsible-gaming-section, 
.page-online-poker__faq-section, 
.page-online-poker__community-section, 
.page-online-poker__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Grid Layouts */
.page-online-poker__features-grid, 
.page-online-poker__games-grid, 
.page-online-poker__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Card Styles */
.page-online-poker__feature-card, 
.page-online-poker__game-card, 
.page-online-poker__step-card {
  background-color: #111111; /* Card BG color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #3A2A12; /* Border color */
}

.page-online-poker__feature-card:hover, 
.page-online-poker__game-card:hover, 
.page-online-poker__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-online-poker__feature-card img, 
.page-online-poker__game-card img {
  width: 100%;
  height: auto;
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-online-poker__card-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-online-poker__step-card .page-online-poker__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
}

/* App Section */
.page-online-poker__app-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background-color: #111111;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

.page-online-poker__app-content {
  flex: 1;
  min-width: 300px;
}

.page-online-poker__app-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-online-poker__app-image img {
  max-width: 100%;
  height: auto;
  min-height: 200px; /* Minimum image size */
  border-radius: 10px;
}

/* Responsible Gaming */
.page-online-poker__responsible-gaming-content p {
  text-align: center;
  margin-bottom: 30px;
}

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

.page-online-poker__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-online-poker__faq-question {
  font-size: 1.2rem;
  color: #F2C14E;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-online-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-online-poker__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-online-poker__faq-answer {
  color: #FFF6D6;
  display: none;
}

.page-online-poker__faq-answer.active {
  display: block;
}

/* CTA Section */
.page-online-poker__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #111111;
  border-top: 1px solid #3A2A12;
}

.page-online-poker__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #FFF6D6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-online-poker__hero-section {
    padding: 40px 15px;
  }

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

  .page-online-poker__button {
    width: 100%;
  }

  .page-online-poker__features-grid, 
  .page-online-poker__games-grid, 
  .page-online-poker__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-online-poker__app-container {
    flex-direction: column;
    padding: 20px;
  }

  .page-online-poker__app-image img, 
  .page-online-poker__feature-card img, 
  .page-online-poker__game-card img {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
  }

  /* Critical: prevent content overflow on mobile */
  .page-online-poker img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-online-poker__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .page-online-poker__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

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

  .page-online-poker__button--large {
    padding: 15px 25px;
  }
}