.page-poker {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-poker__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  overflow: hidden;
  min-height: 600px;
}

.page-poker__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image slightly for text readability, but not changing color */
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

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

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

.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;
  border: none;
  cursor: pointer;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1a1a1a; /* Dark text for gold button */
}

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

.page-poker__button--secondary {
  background-color: #1E90FF;
  color: #ffffff;
}

.page-poker__button--secondary:hover {
  background-color: #1565c0;
  transform: translateY(-2px);
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-poker__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-poker__features-grid,
.page-poker__steps-grid,
.page-poker__games-grid,
.page-poker__strategy-grid {
  display: grid;
  gap: 30px;
}

.page-poker__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-poker__feature-card,
.page-poker__step-card,
.page-poker__game-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-poker__feature-card:hover,
.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-poker__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure icon is not too large */
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__feature-title,
.page-poker__step-title,
.page-poker__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__feature-description,
.page-poker__step-description,
.page-poker__game-description {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page-poker__step-card {
  text-align: left;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid #1E90FF;
}

.page-poker__step-card p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-poker__step-card p a:hover {
  text-decoration: underline;
}

.page-poker__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-poker__game-card {
  padding-bottom: 20px;
}

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__games-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.page-poker__tournaments-cash-games {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(255, 215, 0, 0.1));
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-poker__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-poker__content-block {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
}

.page-poker__content-subtitle {
  font-size: 1.6em;
  color: #1E90FF;
  margin-bottom: 15px;
}

.page-poker__content-block p {
  color: #cccccc;
  margin-bottom: 15px;
}

.page-poker__content-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-poker__content-block ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #e0e0e0;
}

.page-poker__strategy-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-poker__strategy-item {
  background: rgba(255, 215, 0, 0.1);
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
}

.page-poker__strategy-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-poker__strategy-item p {
  color: #cccccc;
}

.page-poker__responsible-gaming {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  background: rgba(30, 144, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
}

.page-poker__responsible-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__responsible-text p {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-poker__responsible-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

.page-poker__responsible-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-poker__responsible-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%231E90FF"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #e0e0e0;
}

.page-poker__faq {
  margin-bottom: 80px;
}

.page-poker__accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__accordion-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFD700;
  padding: 20px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-poker__accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-poker__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-poker__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-poker__accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #cccccc;
}

.page-poker__accordion-content p {
  padding-bottom: 20px;
}

.page-poker__accordion-content a {
  color: #1E90FF;
  text-decoration: none;
}

.page-poker__accordion-content a:hover {
  text-decoration: underline;
}

.page-poker__cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(90deg, #1E90FF, #FFD700);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__content-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__responsible-gaming {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding: 60px 15px 30px;
    min-height: 500px;
  }
  .page-poker__hero-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1.1em;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__button {
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-poker__features-grid,
  .page-poker__steps-grid,
  .page-poker__games-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__feature-card,
  .page-poker__step-card,
  .page-poker__game-card,
  .page-poker__strategy-item {
    padding: 20px;
  }
  .page-poker__game-image {
    height: 200px;
  }
  .page-poker__content-block {
    padding: 25px;
  }
  .page-poker__responsible-gaming {
    padding: 30px;
  }
  .page-poker__accordion-header {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-poker__accordion-content {
    padding: 0 15px;
  }
  .page-poker__cta {
    padding: 40px 15px;
  }
  .page-poker__cta-buttons {
    flex-direction: column;
  }

  /* Critical: Ensure all images within .page-poker are responsive and don't overflow */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

@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__feature-title,
  .page-poker__step-title,
  .page-poker__game-title {
    font-size: 1.5em;
  }
  .page-poker__content-subtitle {
    font-size: 1.4em;
  }
  .page-poker__strategy-title {
    font-size: 1.3em;
  }
}