/* style/poker.css */
.page-poker {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-poker__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(0, 0, 0, 0.9));
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #FFD700;
}

.page-poker__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-poker__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-poker__title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.page-poker__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-poker__cta-group {
  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: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-poker__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-poker__button--primary:hover {
  background-color: #e6c200;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-poker__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.page-poker__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

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

.page-poker__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-poker__hero-image {
  margin-top: 40px;
}

.page-poker__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-poker__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: rgba(26, 26, 26, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-poker__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-poker__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-poker__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__grid {
  display: grid;
  gap: 30px;
}

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

.page-poker__feature-item {
  background-color: rgba(40, 40, 40, 0.8);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-poker__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.page-poker__feature-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-poker__feature-item p {
  color: #c0c0c0;
  line-height: 1.6;
}

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

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

.page-poker__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

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

.page-poker__game-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-poker__game-card-description {
  color: #c0c0c0;
  padding: 0 20px 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-poker__game-card .page-poker__button {
  margin: 0 20px 20px 20px;
}

.page-poker__center-cta {
  text-align: center;
  margin-top: 40px;
}

.page-poker__strategy-block {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-poker__strategy-content,
.page-poker__strategy-image {
  flex: 1;
  min-width: 300px;
}

.page-poker__strategy-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.2);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-poker__strategy-content .page-poker__section-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-poker__strategy-content .page-poker__section-title::after {
  left: 0;
  transform: translateX(0);
}

.page-poker__strategy-content .page-poker__section-description {
  text-align: left;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
}

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

.page-poker__bonus-item {
  background-color: rgba(40, 40, 40, 0.8);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-poker__bonus-item p {
  color: #c0c0c0;
  line-height: 1.6;
}

.page-poker__mobile-block {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  flex-direction: row-reverse; /* Image on right */
}

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

.page-poker__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.2);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-poker__mobile-content .page-poker__section-title {
  text-align: left;
  margin-bottom: 20px;
}

.page-poker__mobile-content .page-poker__section-title::after {
  left: 0;
  transform: translateX(0);
}

.page-poker__mobile-content .page-poker__section-description {
  text-align: left;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
}

.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background-color: rgba(40, 40, 40, 0.8);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-poker__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-poker__faq-item[open] .page-poker__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-poker__faq-item[open] .page-poker__faq-question {
  background-color: rgba(255, 215, 0, 0.1);
}

.page-poker__faq-answer {
  padding: 15px 25px 20px 25px;
  color: #cccccc;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-poker__final-cta {
  text-align: center;
  padding: 60px 20px;
}

.page-poker__section--center-text .page-poker__section-title,
.page-poker__section--center-text .page-poker__section-description {
  text-align: center;
}

.page-poker__section--center-text .page-poker__section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

  .page-poker__title {
    font-size: 2.5em;
  }

  .page-poker__description {
    font-size: 1em;
  }

  .page-poker__cta-group {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-poker__section {
    margin: 40px auto;
    padding: 30px 15px;
  }

  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-poker__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-poker__grid--features,
  .page-poker__grid--games {
    grid-template-columns: 1fr;
  }

  .page-poker__strategy-block,
  .page-poker__mobile-block {
    flex-direction: column;
  }

  .page-poker__strategy-content .page-poker__section-title,
  .page-poker__mobile-content .page-poker__section-title {
    text-align: center;
  }

  .page-poker__strategy-content .page-poker__section-title::after,
  .page-poker__mobile-content .page-poker__section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-poker__strategy-content .page-poker__section-description,
  .page-poker__mobile-content .page-poker__section-description {
    text-align: center;
  }

  .page-poker__feature-item img,
  .page-poker__game-card img,
  .page-poker__strategy-image img,
  .page-poker__mobile-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Enforce mobile image scaling */
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-poker__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-poker__faq-question::after {
    right: 20px;
  }

  .page-poker__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95em;
  }
}

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

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

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