.page-poker {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
  line-height: 1.6;
  padding-top: 0; /* body handles padding-top: var(--header-offset); */
}

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

.page-poker__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1 font size constraint */
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-poker__text-block {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-play,
.page-poker__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-poker__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Brand color for text */
  border: 2px solid #F2C14E; /* Brand color for border */
}

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text on brand color hover */
  transform: translateY(-2px);
}

.page-poker__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-poker__btn-play:hover {
  filter: brightness(1.1);
}

.page-poker__btn-link {
  background: transparent;
  color: #FFD36B; /* Auxiliary color for text */
  border: none;
  padding: 5px 0;
  text-decoration: underline;
  font-size: 0.9em;
}

.page-poker__btn-link:hover {
  color: #F2C14E; /* Main brand color on hover */
}

/* Card styles */
.page-poker__card {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text color for cards */
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__card-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__card-text {
  font-size: 0.95em;
  color: #FFF6D6;
  line-height: 1.5;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  text-align: center;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit hero image height */
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 4em);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-poker__intro-text {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-poker__feature-icon {
  width: 200px; /* Explicit size for feature images */
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

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

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

.page-poker__game-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

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

.page-poker__highlight-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__highlight-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-poker__highlight-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}