.page-poker {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

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

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

.page-poker__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  cursor: pointer;
  min-width: 150px;
}

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

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

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

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

.page-poker__button-text {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.page-poker__button-text:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 60px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-poker__hero-container {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
  max-width: 900px;
}

.page-poker__hero-content {
  color: #FFFFFF;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__hero-actions .page-poker__button {
  margin: 0 10px;
}

/* About Section */
.page-poker__about-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-poker__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-description {
  color: #666666;
}

/* Games Section */
.page-poker__games-section {
  padding: 60px 0;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 1.4em;
  color: #000000;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-poker__game-description {
  color: #666666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__button {
  margin: 0 15px 20px;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-poker__tip-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-poker__tip-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__tip-description {
  color: #666666;
}

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

/* Community Section */
.page-poker__community-section {
  padding: 60px 0;
}

.page-poker__community-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-poker__community-image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure image fills its container */
  height: auto; /* Maintain aspect ratio */
}

.page-poker__community-text {
  flex: 1;
  min-width: 300px;
}

.page-poker__community-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__community-description {
  color: #666666;
  margin-bottom: 30px;
}

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

.page-poker__responsible-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.page-poker__responsible-list li {
  background-color: #FFFFFF;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
  font-size: 1.1em;
}

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

.page-poker__faq-accordion {
  max-width: 800px;
  margin: 40px auto;
}

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

.page-poker__accordion-header {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 25px;
  font-size: 1.2em;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-poker__accordion-content {
  padding: 0 25px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-poker__accordion-content.open {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px;
}

.page-poker__accordion-content p {
    margin-bottom: 15px;
    color: #444444;
}

.page-poker__accordion-content .page-poker__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    min-width: unset;
}

/* CTA Section */
.page-poker__cta-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  margin-top: 60px;
}

.page-poker__cta-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.page-poker__cta-section .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__cta-section .page-poker__section-intro {
  color: #e0e0e0;
}

.page-poker__cta-buttons .page-poker__button {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions .page-poker__button {
    margin: 10px 5px;
    display: block;
  }
  .page-poker__community-content {
    flex-direction: column;
  }
  .page-poker__community-image, .page-poker__community-text {
    min-width: unset;
  }
  .page-poker__community-image {
    max-width: 100%;
  }
  .page-poker__hero-image, .page-poker__game-image, .page-poker__community-image, .page-poker__cta-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-poker__cta-buttons .page-poker__button {
    margin: 10px 0;
  }
  .page-poker__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-poker__accordion-content {
    padding: 10px 20px;
  }
  .page-poker__accordion-content.open {
    padding: 15px 20px;
  }
  .page-poker__game-image {
    height: 200px;
  }
  .page-poker__feature-card, .page-poker__tip-card {
    padding: 20px;
  }
  .page-poker__responsible-list li {
    font-size: 1em;
    padding: 12px 15px;
  }
}