.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); /* Ensure content is below fixed header */
}

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

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

.page-poker__container--center {
  text-align: center;
}

.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text overlay */
  color: #FFFFFF;
  padding: 0;
}

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

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  z-index: 0;
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.page-poker__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-poker__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.page-poker__button--center {
  margin: 20px auto 0;
  display: table;
}

.page-poker__button--text {
  background: none;
  border: none;
  color: #FCBC45;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-poker__button--text:hover {
  color: #e0a53b;
  transform: none;
}

.page-poker__button--cta-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-poker__button--cta-register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-poker__button--cta-login {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-poker__button--cta-login:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-poker__section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-poker__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

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

.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: 12px;
  box-shadow: 0 8px 25px 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 12px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 20px;
}

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

.page-poker__tournament-features,
.page-poker__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.page-poker__feature-item,
.page-poker__security-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease;
}

.page-poker__feature-item:hover,
.page-poker__security-item:hover {
  transform: translateY(-5px);
}

.page-poker__feature-icon,
.page-poker__security-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-poker__feature-description,
.page-poker__security-description {
  color: #666666;
  font-size: 0.95em;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

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

.page-poker__mobile-image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-poker__list-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

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

.page-poker__cta-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.page-poker__faq-list {
  margin-top: 40px;
}

.page-poker__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  transition: box-shadow 0.3s ease;
}

.page-poker__faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-poker__faq-answer {
  color: #555555;
  font-size: 1em;
}

.page-poker__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__faq-answer a:hover {
  text-decoration: underline;
}

.page-poker__community-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-poker__community-image {
  flex: 1;
  min-width: 300px;
  width: 600px;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-poker__community-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-poker__community-description {
  color: #555555;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-poker__section--footer-cta {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

.page-poker__section--footer-cta .page-poker__section-title,
.page-poker__section--footer-cta .page-poker__section-intro {
  color: #FFFFFF;
}

/* 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: 2.2em;
  }
  .page-poker__game-card-image {
    height: 200px;
  }
  .page-poker__mobile-image {
    width: 350px;
    height: 250px;
  }
  .page-poker__community-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px);
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
  }
  .page-poker__section {
    padding: 60px 0;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section-intro {
    margin-bottom: 30px;
  }
  .page-poker__game-grid,
  .page-poker__tournament-features,
  .page-poker__security-features {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-content,
  .page-poker__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
    padding-right: 0;
  }
  .page-poker__mobile-image {
    width: 100%;
    max-width: 400px; /* Constrain max width for mobile images */
    height: auto;
  }
  .page-poker__list-item {
    font-size: 1em;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__faq-question {
    font-size: 1.2em;
  }
  .page-poker__community-image {
    order: -1; /* Image first on mobile */
  }
  .page-poker__community-text {
    text-align: center;
  }
  .page-poker__community-text .page-poker__button {
    margin: 10px auto;
  }
  /* All images within .page-poker must be responsive */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must be >= 200px, but responsive on mobile */
  .page-poker__game-card-image,
  .page-poker__feature-icon,
  .page-poker__security-icon {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__button--cta-register,
  .page-poker__button--cta-login {
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-poker__hero-content {
    padding: 20px;
  }
}