.page-poker {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--primary-color); /* Dark background from shared.css */
  color: #f0f0f0; /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-poker__section {
  padding: 80px 0;
}

.page-poker__section-title {
  font-size: 2.8em;
  color: var(--auxiliary-color); /* Gold color for titles */
  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: #cccccc;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.page-poker__hero-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero */
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
  border-radius: 10px;
}

.page-poker__main-title {
  font-size: 3.5em;
  color: var(--auxiliary-color); /* Gold color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

.page-poker__button--primary {
  background-color: var(--auxiliary-color); /* Gold background */
  color: var(--primary-color); /* Dark text for gold background */
}

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

.page-poker__button--secondary {
  background-color: transparent;
  color: var(--auxiliary-color); /* Gold text */
  border: 2px solid var(--auxiliary-color);
}

.page-poker__button--secondary:hover {
  background-color: var(--auxiliary-color);
  color: var(--primary-color);
}

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

.page-poker__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-poker__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-poker__feature-title {
  font-size: 1.8em;
  color: var(--auxiliary-color);
  margin-bottom: 15px;
}

.page-poker__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Game Variety Section */
.page-poker__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
}

.page-poker__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.6em;
  color: var(--auxiliary-color);
  margin: 20px 0 10px 0;
}

.page-poker__game-description {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #cccccc;
  min-height: 100px; /* Ensure consistent card height */
}

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

/* Tournaments Section */
.page-poker__tournament-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

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

.page-poker__tournament-text p {
  margin-bottom: 20px;
  color: #cccccc;
}

.page-poker__tournament-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-poker__tournament-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Mobile App Section */
.page-poker__mobile-content {
  display: flex;
  flex-wrap: wrap-reverse; /* Image first on desktop, text first on mobile */
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

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

.page-poker__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__mobile-text p {
  margin-bottom: 20px;
  color: #cccccc;
}

/* Strategies Section */
.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
}

.page-poker__strategy-title {
  font-size: 1.7em;
  color: var(--auxiliary-color);
  margin-bottom: 15px;
}

.page-poker__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #cccccc;
}

.page-poker__strategy-list li::before {
  content: '◆'; /* Custom bullet point */
  color: var(--auxiliary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.page-poker__text-link {
  color: var(--auxiliary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-poker__text-link:hover {
  text-decoration: underline;
}

/* Safety Section */
.page-poker__safety-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

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

.page-poker__safety-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__safety-text p {
  margin-bottom: 20px;
  color: #cccccc;
}

/* Final CTA Section */
.page-poker__cta-final {
  padding-bottom: 100px;
}

.page-poker__final-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.page-poker__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

@media (max-width: 768px) {
  .page-poker__hero-content {
    padding: 30px;
  }
  .page-poker__main-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 300px;
  }
  .page-poker__section {
    padding: 60px 0;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__features-grid, .page-poker__game-grid, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__tournament-content, .page-poker__mobile-content, .page-poker__safety-content {
    flex-direction: column;
  }
  .page-poker__tournament-image-wrapper, .page-poker__mobile-image-wrapper, .page-poker__safety-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-poker__tournament-image, .page-poker__mobile-image, .page-poker__safety-image, .page-poker__game-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__final-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button--large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-content {
    padding: 20px;
  }
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.9em;
  }
  .page-poker__button {
    min-width: unset;
  }
  .page-poker__game-description {
    min-height: unset;
  }
}

/* Ensure all images within .page-poker do not cause horizontal overflow on mobile */
@media (max-width: 768px) {
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}