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

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

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000; /* Main title color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45; /* Accent color from login button */
  border-radius: 2px;
}

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  font-size: 1.05em;
}

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

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

.page-poker__button--secondary {
  background-color: transparent;
  color: #000000; /* Dark text for contrast */
  border: 2px solid #000000;
}

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

.page-poker__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero overlay */
  padding: 0;
  margin-bottom: 60px;
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px; /* 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-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-poker__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker background for content */
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Accent color for hero title */
}

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

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

/* Why Choose Us Section */
.page-poker__why-choose-us {
  padding: 80px 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: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__feature-icon {
  width: 100%; /* Ensure images take full width */
  height: auto;
  max-width: 400px; /* Example max-width, adjust as needed */
  min-height: 200px; /* Minimum height for content images */
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

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

.page-poker__card-description {
  font-size: 1em;
  color: #666666;
}

/* Game Types Section */
.page-poker__game-types {
  padding: 80px 0;
}

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

.page-poker__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__game-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Minimum height for content images */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-card .page-poker__card-title {
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-poker__game-card .page-poker__card-description {
  padding: 0 20px;
  margin-bottom: 20px;
}

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

/* Tournaments CTA Section */
.page-poker__tournaments-cta {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-poker__tournaments-cta .page-poker__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-poker__cta-content {
  flex: 1;
}

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

.page-poker__tournaments-cta .page-poker__section-intro {
  color: #f0f0f0;
}

.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-poker__cta-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  min-height: 200px; /* Minimum height */
  object-fit: cover;
  border-radius: 10px;
}

.page-poker__tournaments-cta .page-poker__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__tournaments-cta .page-poker__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-poker__tournaments-cta .page-poker__button--secondary {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__tournaments-cta .page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Strategy Tips Section */
.page-poker__strategy-tips {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-poker__tip-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-poker__tip-item:hover {
  transform: translateY(-3px);
}

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

.page-poker__tip-description {
  font-size: 0.95em;
  color: #666666;
}

.page-poker__strategy-cta {
  text-align: center;
}

/* Security Info Section */
.page-poker__security-info {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__security-info .page-poker__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-poker__security-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  min-height: 200px; /* Minimum height */
  object-fit: cover;
  border-radius: 10px;
}

.page-poker__security-content {
  flex: 1;
}

.page-poker__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-poker__security-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #555555;
}

.page-poker__security-item::before {
  content: '✔';
  color: #FCBC45; /* Accent color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Join Us CTA Section */
.page-poker__join-us-cta {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-poker__join-us-cta .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__join-us-cta .page-poker__section-intro {
  color: #f0f0f0;
}

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

.page-poker__join-us-cta .page-poker__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-poker__join-us-cta .page-poker__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-poker__join-us-cta .page-poker__button--secondary {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-poker__join-us-cta .page-poker__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__hero-description {
    font-size: 1.2em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__tournaments-cta .page-poker__container,
  .page-poker__security-info .page-poker__container {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__cta-image,
  .page-poker__security-image {
    order: -1; /* Image above text on smaller screens */
    max-width: 100%;
  }
  .page-poker__cta-content,
  .page-poker__security-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__hero-button {
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 1em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__cta-actions,
  .page-poker__join-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
  }
  /* Mobile content image constraint */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__feature-icon, .page-poker__game-image, .page-poker__cta-image, .page-poker__security-image {
    min-width: 200px; /* Ensure minimum size is maintained */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 1.8em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__hero-content {
    padding: 20px 15px;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}