.page-poker {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-poker__section-title,
.page-poker__card-title,
.page-poker__game-title,
.page-poker__step-title,
.page-poker__bonus-title,
.page-poker__cta-title {
  color: #000000;
  margin-bottom: 15px;
  text-align: center;
}

.page-poker__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  z-index: 2;
  max-width: 900px;
}

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

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

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

.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;
  white-space: nowrap;
}

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

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

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

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

.page-poker__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  z-index: 1;
}

.page-poker__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* About Section */
.page-poker__about-section,
.page-poker__games-section,
.page-poker__how-to-start-section,
.page-poker__bonuses-section,
.page-poker__cta-section {
  padding: 80px 0;
}

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

.page-poker__card,
.page-poker__game-card,
.page-poker__bonus-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__card:hover,
.page-poker__game-card:hover,
.page-poker__bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-poker__card-image,
.page-poker__game-image,
.page-poker__bonus-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__card-title,
.page-poker__game-title,
.page-poker__bonus-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-poker__card-text,
.page-poker__game-text,
.page-poker__bonus-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

/* How to Start Section */
.page-poker__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__step-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-poker__step-item:hover {
  transform: translateY(-5px);
}

.page-poker__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #000000;
  color: #FCBC45;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
  margin-top: auto; /* Push button to bottom */
}

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

/* CTA Section */
.page-poker__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

.page-poker__cta-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-poker__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-poker__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--large:hover {
  background-color: #e0a73b;
  border-color: #e0a73b;
}

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

  .page-poker__hero-description {
    font-size: 1.1em;
  }

  .page-poker__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 40px 15px;
  }

  .page-poker__hero-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 100%;
  }

  .page-poker__grid,
  .page-poker__steps-list {
    grid-template-columns: 1fr;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__cta-title {
    font-size: 2.2em;
  }

  .page-poker__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-poker__container {
    padding: 0 15px;
  }

  /* Ensure images do not overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }

  /* Content area image size constraint */
  .page-poker__card-image,
  .page-poker__game-image,
  .page-poker__bonus-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__section-title {
    font-size: 1.5em;
  }

  .page-poker__cta-title {
    font-size: 1.8em;
  }

  .page-poker__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}