.page-poker {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

.page-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero content */
}

.page-poker__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
}

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

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

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

.page-poker__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-poker__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-poker__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-poker__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-poker__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-poker__feature-card, .page-poker__game-card, .page-poker__step-card, .page-poker__community-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover, .page-poker__game-card:hover, .page-poker__step-card:hover, .page-poker__community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon, .page-poker__game-image, .page-poker__community-image, .page-poker__strategy-image {
  width: 100%; /* Ensure images take full width of card/container */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-poker__feature-icon {
  max-width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 30px;
}

.page-poker__feature-title, .page-poker__game-title, .page-poker__step-title, .page-poker__community-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__game-title a, .page-poker__community-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-poker__game-title a:hover, .page-poker__community-card-title a:hover {
  color: #FCBC45;
}

.page-poker__feature-description, .page-poker__game-description, .page-poker__step-description, .page-poker__community-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-poker__section--strategy-tips {
  background-color: #F0F0F0;
}

.page-poker__strategy-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

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

.page-poker__strategy-subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000000;
}

.page-poker__strategy-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-poker__strategy-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.page-poker__strategy-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-poker__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-poker__section--call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-poker__section--call-to-action .page-poker__section-title {
  color: #FFFFFF;
}

.page-poker__section--call-to-action .page-poker__section-intro {
  color: #E0E0E0;
}

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

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

.page-poker__button--primary:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-poker__button--secondary:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* General button styles for all buttons not in hero section */
.page-poker__section .page-poker__button {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1em;
}

.page-poker__section .page-poker__button:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 90px); /* Adjust for mobile header */
  }
  .page-poker__hero-title {
    font-size: 2em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
    max-width: 280px;
  }
  .page-poker__section {
    padding: 40px 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__feature-grid, .page-poker__game-grid, .page-poker__steps-grid, .page-poker__community-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-poker__strategy-content {
    flex-direction: column;
  }
  .page-poker__strategy-text {
    order: 2;
  }
  .page-poker__strategy-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-poker__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__feature-icon, .page-poker__game-image, .page-poker__community-image, .page-poker__strategy-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-poker__section img {
    max-width: 100%;
    height: auto;
  }
}