.page-poker {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 0;
  text-align: center;
}

.page-poker__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-poker__hero-content {
  max-width: 800px;
}

.page-poker__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with accent color */
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for accent button */
}

.page-poker__button--primary:hover {
  background-color: #e0a53b;
}

.page-poker__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for white button */
  border: 2px solid #FCBC45;
}

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

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 1em;
  min-width: 150px; /* Smaller min-width for card buttons */
}

.page-poker__button--centered {
  margin: 40px auto 0 auto;
  display: block;
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-poker__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
  padding-top: 60px;
}

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-poker__why-choose-section,
.page-poker__games-section,
.page-poker__tournaments-section,
.page-poker__getting-started-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section {
  padding: 60px 0;
}

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

.page-poker__feature-card,
.page-poker__game-card,
.page-poker__step-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover,
.page-poker__step-card:hover {
  transform: translateY(-5px);
}

.page-poker__feature-card img,
.page-poker__game-card img,
.page-poker__step-card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for card images */
  min-width: 200px; /* Min width for card images */
  min-height: 200px; /* Min height for card images */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover; /* Ensure images fill their space */
}

.page-poker__feature-title,
.page-poker__game-title,
.page-poker__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__feature-description,
.page-poker__game-description,
.page-poker__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-poker__tournaments-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__tournaments-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__tournaments-section .page-poker__section-intro {
  color: #CCCCCC;
}

.page-poker__tournament-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__tournament-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__tournament-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-poker__tournament-description {
  font-size: 1em;
  color: #EEEEEE;
}

.page-poker__responsible-gaming-section {
  background-color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-poker__responsible-gaming-section .page-poker__section-title {
  color: #000000;
}

.page-poker__responsible-gaming-section .page-poker__section-intro {
  color: #555555;
  margin-bottom: 30px;
}

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

.page-poker__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-poker__faq-question {
  font-size: 1.2em;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000000;
  background-color: #e9e9e9;
  border-bottom: 1px solid #dcdcdc;
}

.page-poker__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

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

.page-poker__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-poker__hero-container {
    flex-direction: row;
    text-align: left;
  }

  .page-poker__hero-content {
    text-align: left;
    flex: 1;
  }

  .page-poker__hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .page-poker__hero-title {
    font-size: 4em;
  }

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

  .page-poker__hero-actions {
    justify-content: flex-start;
  }

  .page-poker__features-grid,
  .page-poker__games-grid,
  .page-poker__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-poker__tournament-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-poker__features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-poker__games-grid,
  .page-poker__steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-poker__hero-image img {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-poker__section-intro {
    font-size: 1em;
  }

  .page-poker__feature-card img,
  .page-poker__game-card img,
  .page-poker__step-card img {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-poker__hero-section,
  .page-poker__why-choose-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__getting-started-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section {
    padding: 40px 0;
  }

  .page-poker__container {
    padding: 0 15px;
  }

  /* Ensure no horizontal scroll on mobile */
  .page-poker {
    overflow-x: hidden;
  }

  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}