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

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

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

.page-poker__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: 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: 200px; /* Ensure buttons are not too small */
  box-sizing: border-box;
  font-size: 1.1em;
}

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

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

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

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

.page-poker__button--xl {
  padding: 18px 40px;
  font-size: 1.4em;
  min-width: 280px;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-poker__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Features Section */
.page-poker__features-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.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.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-poker__feature-text {
  color: #555555;
}

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

.page-poker__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-poker__game-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.page-poker__game-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__game-description {
  color: #555555;
}

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

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

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

.page-poker__highlight-text {
  color: #555555;
}

/* Get Started Section */
.page-poker__get-started-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-poker__step-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-poker__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FCBC45;
}

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

.page-poker__step-text {
  color: #555555;
  margin-bottom: 20px;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-poker__mobile-content {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 30px;
}

.page-poker__mobile-text {
  color: #555555;
  margin-bottom: 30px;
}

/* Security Section */
.page-poker__security-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-poker__security-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

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

.page-poker__security-text {
  color: #555555;
  margin-bottom: 20px;
}

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

.page-poker__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-poker__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-poker__faq-answer {
  font-size: 1.0em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

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

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

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

/* Floating Buttons */
.page-poker__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-poker__floating-button {
  display: block;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  text-align: center;
}

.page-poker__floating-button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__floating-button--register:hover {
  transform: translateY(-3px);
  background-color: #f0f0f0;
}

.page-poker__floating-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__floating-button--login:hover {
  transform: translateY(-3px);
  background-color: #e0a53b;
}

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

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__hero-actions .page-poker__button {
    min-width: unset;
    width: 100%;
    margin: 10px 0;
  }
  .page-poker__features-grid, .page-poker__games-list, .page-poker__tournament-highlights, .page-poker__steps-grid, .page-poker__security-points {
    grid-template-columns: 1fr;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button--xl {
    min-width: unset;
    width: 100%;
  }
  /* Mobile content area images must be constrained */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__floating-buttons {
    flex-direction: row;
    bottom: 10px;
    right: 10px;
    left: 10px;
    gap: 5px;
    justify-content: center;
  }
  .page-poker__floating-button {
    flex: 1;
    padding: 8px 15px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-content {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__floating-buttons {
    bottom: 5px;
    right: 5px;
    left: 5px;
  }
}