/* style/poker.css */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Assumes light background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

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

.page-poker__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-poker__btn--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

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

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

.page-poker__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

.page-poker__btn--tertiary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.page-poker__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 150px;
}

.page-poker__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image to ensure text readability */
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

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

.page-poker__features-section,
.page-poker__getting-started-section,
.page-poker__strategy-section,
.page-poker__tournaments-section,
.page-poker__mobile-app-section,
.page-poker__support-section,
.page-poker__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-poker__feature-card,
.page-poker__strategy-card,
.page-poker__tournament-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__feature-card:hover,
.page-poker__strategy-card:hover,
.page-poker__tournament-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-poker__feature-icon,
.page-poker__strategy-image,
.page-poker__tournament-image {
  width: 100%; /* Ensure images fill card width */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-poker__feature-description,
.page-poker__strategy-card-description,
.page-poker__tournament-card-description {
  font-size: 0.95em;
  color: #555555;
}

.page-poker__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-poker__step-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
}

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

.page-poker__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-poker__step-description {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-poker__strategy-section .page-poker__section-intro {
  margin-bottom: 60px;
}

.page-poker__mobile-app-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background-color: #000000; /* Dark background */
  color: #ffffff;
  border-radius: 15px;
  padding: 60px;
}

.page-poker__mobile-app-content {
  flex: 1;
}

.page-poker__mobile-app-section .page-poker__section-title {
  text-align: left;
  color: #FCBC45;
  padding-top: 0;
  margin-bottom: 20px;
}

.page-poker__mobile-app-section .page-poker__section-intro {
  text-align: left;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: none;
}

.page-poker__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-poker__app-features li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-poker__app-feature-icon {
  color: #FCBC45;
  font-size: 1.5em;
  margin-right: 10px;
}

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

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

.page-poker__support-info {
  text-align: center;
  margin-top: 40px;
}

.page-poker__support-info p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444444;
}

.page-poker__support-info .page-poker__btn {
  margin: 10px;
}

.page-poker__cta-section {
  text-align: center;
  background-color: #f5f5f5;
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-poker__cta-section .page-poker__section-title {
  color: #000000;
  padding-top: 0;
}

.page-poker__cta-section .page-poker__section-intro {
  color: #555555;
  margin-bottom: 40px;
}

.page-poker__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.page-poker__cta-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  z-index: 1;
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__main-title {
    font-size: 3em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__mobile-app-section {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  .page-poker__mobile-app-section .page-poker__section-title,
  .page-poker__mobile-app-section .page-poker__section-intro {
    text-align: center;
  }
  .page-poker__app-features {
    padding-left: 0;
    text-align: left;
  }
  .page-poker__app-features li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-poker {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-poker__main-title {
    font-size: 2.5em;
  }
  .page-poker__hero-description {
    font-size: 1em;
  }
  .page-poker__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn {
    min-width: unset;
    width: 100%;
  }
  .page-poker__section-title {
    font-size: 1.8em;
  }
  .page-poker__section-intro {
    font-size: 0.95em;
  }
  .page-poker__features-grid,
  .page-poker__strategy-grid,
  .page-poker__tournament-cards,
  .page-poker__steps-container {
    grid-template-columns: 1fr;
  }
  .page-poker__mobile-app-section {
    padding: 30px;
  }
  .page-poker__mobile-app-image {
    max-width: 300px;
  }
  /* Mobile content area image constraints */
  .page-poker img {
    max-width: 100%;
    height: auto;
  }
  .page-poker__hero-section,
  .page-poker__features-section,
  .page-poker__getting-started-section,
  .page-poker__strategy-section,
  .page-poker__tournaments-section,
  .page-poker__mobile-app-section,
  .page-poker__support-section,
  .page-poker__cta-section {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__hero-section {
    padding: 60px 15px;
  }
  .page-poker__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-poker__section-title {
    font-size: 1.5em;
  }
  .page-poker__feature-card,
  .page-poker__strategy-card,
  .page-poker__tournament-card,
  .page-poker__step-card {
    padding: 20px;
  }
  .page-poker__feature-title,
  .page-poker__strategy-card-title,
  .page-poker__tournament-card-title {
    font-size: 1.4em;
  }
  .page-poker__mobile-app-section {
    padding: 20px;
  }
  .page-poker__cta-actions {
    flex-direction: column;
  }
}