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

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background to complement image */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-poker__hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Main brand color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-poker__hero-description {
  font-size: 1.5em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-poker__hero-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Main brand color */
  color: #8B0000; /* Auxiliary brand color for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-poker__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Auxiliary brand color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-poker__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.page-poker__game-card {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-poker__game-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 15px;
}

.page-poker__game-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__game-card-button:hover {
  background-color: #e6c200;
}

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

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

.page-poker__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-poker__cta-button {
  display: inline-block;
  background-color: #8B0000; /* Auxiliary brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-poker__cta-button:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

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

.page-poker__strategy-item {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-poker__strategy-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-poker__strategy-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
}

.page-poker__strategy-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__strategy-link:hover {
  color: #e6c200;
}

.page-poker__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

/* Call to Action Section */
.page-poker__cta-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
}

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

.page-poker__cta-section .page-poker__text-content {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-poker__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-poker__cta-button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-poker__cta-button--secondary {
  background-color: #8B0000;
  color: #ffffff;
}

.page-poker__cta-button--secondary:hover {
  background-color: #a00000;
}

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

.page-poker__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-poker__floating-button--register {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-poker__floating-button--login {
  background-color: #8B0000;
  color: #ffffff;
}

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

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

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 2em;
    padding-top: 40px;
  }
  .page-poker__game-cards, .page-poker__tournament-features, .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__game-card-image, .page-poker__strategy-image {
    max-width: 100%;
    height: auto;
  }
  .page-poker__floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
    flex-direction: row;
    width: auto;
  }
  .page-poker__floating-button {
    width: 100px;
    height: 45px;
    font-size: 1em;
  }
  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-poker img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Minimum display size for content images */
    min-height: 200px; /* Minimum display size for content images */
    object-fit: cover; /* Ensure images fill their space nicely */
  }
  .page-poker__game-card-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__floating-buttons {
    bottom: 15px;
    right: 15px;
  }
  .page-poker__floating-button {
    width: 90px;
    height: 40px;
    font-size: 0.9em;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
  }
}