.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);
}

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

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

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  filter: brightness(0.8); /* Slight darkening for text readability */
}

.page-poker__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 10;
}

.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, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

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

.page-poker__introduction-section, 
.page-poker__games-section, 
.page-poker__tournaments-section, 
.page-poker__promotions-section, 
.page-poker__security-section, 
.page-poker__mobile-section, 
.page-poker__cta-section {
  padding: 60px 0;
}

.page-poker__games-section {
  background-color: #f8f8f8;
}

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

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

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

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

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

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

.page-poker__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 1em;
}

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

.page-poker__tournament-image, .page-poker__promo-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__button--view-tournaments, .page-poker__button--claim-bonus {
  background-color: #000000;
  color: #FFFFFF;
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

.page-poker__button--view-tournaments:hover, .page-poker__button--claim-bonus:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

.page-poker__security-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-poker__security-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-poker__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__link:hover {
  text-decoration: underline;
}

.page-poker__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-poker__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-poker__button--download-app {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 25px;
}

.page-poker__button--download-app:hover {
  background-color: #333333;
}

.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

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

.page-poker__cta-section .page-poker__text-content {
  color: #F0F0F0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-poker__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
}

.page-poker__button--learn-more:hover {
  background-color: #e0a53b;
}

/* 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;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
  }
  .page-poker__hero-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: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-poker__game-grid, .page-poker__security-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-content {
    flex-direction: column;
  }
  .page-poker__mobile-image {
    max-width: 100%;
  }
  /* Mobile content area images must be constrained */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__security-icon {
    width: 100px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 0.9em;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}