/* style/poker.css */
.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); /* Fixed header spacing */
}

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

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1A202C; /* Main color as background */
  padding: 80px 0;
}

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

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}

.page-poker__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700; /* Accent color */
  color: #1A202C; /* Main color for text */
}

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

.page-poker__button--secondary {
  background-color: #1A202C; /* Main color */
  color: #FFD700; /* Accent color for text */
  border: 2px solid #FFD700;
}

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

/* General Section Styling */
.page-poker__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

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

/* About Section */
.page-poker__about-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  padding: 80px 0;
}

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

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

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

.page-poker__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-poker__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-poker__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-poker__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-poker__game-card h3 {
  font-size: 1.8em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-poker__game-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-poker__button--small {
  margin: 0 20px 20px;
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

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

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

.page-poker__highlight-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-poker__highlight-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-poker__highlight-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
}

.page-poker__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-poker__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-app-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-poker__mobile-features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-poker__mobile-features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" 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: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* CTA Section */
.page-poker__cta-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 100px 0;
  text-align: center;
}

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

.page-poker__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-poker__button--hero {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

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

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

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

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

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

  .page-poker__hero-actions,
  .page-poker__action-center {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-poker__features-grid,
  .page-poker__game-cards-grid,
  .page-poker__tournament-highlights {
    grid-template-columns: 1fr;
  }

  .page-poker__mobile-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__mobile-image-wrapper {
    order: -1;
  }

  .page-poker__mobile-features-list {
    text-align: left;
    max-width: 400px;
    margin: 30px auto 0 auto;
  }

  .page-poker__mobile-features-list li {
    background-position: left top 5px;
  }

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

  .page-poker__section-intro {
    font-size: 0.95em;
  }

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

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

  .page-poker img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

/* Ensure all images within .page-poker are not small, and match HTML dimensions or use auto/max-width */
.page-poker img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural sizing, but respect max-width */
  height: auto; /* Allow natural sizing, but respect max-height */
}

.page-poker__feature-icon, .page-poker__game-image, .page-poker__mobile-app-image {
  min-width: 200px;
  min-height: 200px;
}

/* Basic animation for elements appearing on scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}