.page-poker {
  color: #333333; /* Dark text on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure 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;
  padding-top: 40px;
  font-weight: bold;
}

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

.page-poker__text {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333333;
}

.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;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

.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: #000000; /* Main color */
  color: #FFFFFF; /* Register button color */
  border: 2px solid #000000;
  margin-left: 15px;
}

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

.page-poker__button--card {
  display: block;
  width: fit-content;
  margin: 20px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  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-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  color: #FFFFFF;
}

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

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

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

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

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

.page-poker__variant-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-poker__variant-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

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

.page-poker__variant-text {
  font-size: 1em;
  color: #555555;
}

/* Live Section */
.page-poker__live-section {
  padding: 60px 0;
}

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

.page-poker__live-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

.page-poker__live-text-content {
  flex: 1;
}

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

.page-poker__strategy-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
}

.page-poker__strategy-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

.page-poker__strategy-text-content {
  flex: 1;
}

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

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

.page-poker__tournament-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
}

.page-poker__tournament-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

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

.page-poker__tournament-text {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__tournaments-cta {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-poker__security-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

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

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

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

.page-poker__cta-section .page-poker__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-poker__cta-image {
  position: absolute;
  bottom: -50px; /* Adjust to show part of the image */
  right: -50px;
  opacity: 0.2;
  z-index: 0;
  width: 400px;
  height: auto;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-poker__hero-title {
    font-size: 2.8em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__live-content,
  .page-poker__strategy-content,
  .page-poker__security-content {
    flex-direction: column;
  }
  .page-poker__live-text-content,
  .page-poker__strategy-text-content,
  .page-poker__security-text-content {
    text-align: center;
  }
  .page-poker__button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-content {
    padding: 30px;
  }
  .page-poker__hero-actions .page-poker__button {
    display: block;
    margin: 10px auto;
  }
  .page-poker__variants-grid,
  .page-poker__tournament-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__live-image,
  .page-poker__strategy-image,
  .page-poker__security-image,
  .page-poker__variant-image,
  .page-poker__tournament-image,
  .page-poker__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker {
    overflow-x: hidden;
  }
  /* Ensure all content area images are responsive */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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