/* style/fishing-games.css */

/* Variables from custom color palette */
:root {
  --z8bet-primary-color: #11A84E;
  --z8bet-secondary-color: #22C768;
  --z8bet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --z8bet-card-bg: #11271B;
  --z8bet-background: #08160F;
  --z8bet-text-main: #F2FFF6;
  --z8bet-text-secondary: #A7D9B8;
  --z8bet-border: #2E7A4E;
  --z8bet-glow: #57E38D;
  --z8bet-gold: #F2C14E;
  --z8bet-divider: #1E3A2A;
  --z8bet-deep-green: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--z8bet-background); /* Dark background */
  color: var(--z8bet-text-main); /* Light text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 2;
  background: var(--z8bet-card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--z8bet-border);
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem); /* Responsive font size */
  color: var(--z8bet-text-main);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__description {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--z8bet-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--z8bet-button-gradient);
  color: var(--z8bet-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: var(--z8bet-text-main);
  color: var(--z8bet-primary-color);
  border: 2px solid var(--z8bet-primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--z8bet-primary-color);
  color: var(--z8bet-text-main);
  transform: translateY(-3px);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-fishing-games__btn-large {
  padding: 16px 35px;
  font-size: 1.1rem;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: var(--z8bet-text-main);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--z8bet-glow);
  border-radius: 2px;
}

.page-fishing-games__section-title--dark {
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: var(--z8bet-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__text-block--dark {
  color: #555555; /* Darker text for light background */
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: var(--z8bet-card-bg);
}

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

.page-fishing-games__feature-card {
  background-color: var(--z8bet-background);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--z8bet-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  color: var(--z8bet-text-main);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  color: var(--z8bet-text-secondary);
}

/* Game List Section */
.page-fishing-games__light-bg {
  background-color: var(--z8bet-text-main); /* Light background */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 1.3rem;
  color: var(--z8bet-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-title a {
  color: var(--z8bet-primary-color);
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-description {
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Why Choose Us Section */
.page-fishing-games__dark-section {
  background-color: var(--z8bet-card-bg);
  padding: 80px 0;
}

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

.page-fishing-games__reason-item {
  text-align: center;
  padding: 30px;
  background-color: var(--z8bet-background);
  border-radius: 15px;
  border: 1px solid var(--z8bet-divider);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__reason-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__reason-title {
  font-size: 1.25rem;
  color: var(--z8bet-text-main);
  margin-bottom: 10px;
}

.page-fishing-games__reason-description {
  font-size: 0.9rem;
  color: var(--z8bet-text-secondary);
}

/* How To Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__step-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--z8bet-button-gradient);
  color: var(--z8bet-text-main);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.5);
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-fishing-games__promo-card {
  background-color: var(--z8bet-background);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--z8bet-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.page-fishing-games__promo-title {
  font-size: 1.3rem;
  color: var(--z8bet-text-main);
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  font-size: 0.9rem;
  color: var(--z8bet-text-secondary);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--z8bet-primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 0.95rem;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact CTA Section */
.page-fishing-games__contact-cta {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__contact-content {
  background-color: var(--z8bet-background);
  border-radius: 15px;
  padding: 50px 30px;
  border: 1px solid var(--z8bet-border);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 20px;
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
  }

  .page-fishing-games__description {
    font-size: 0.95rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__text-block {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__light-bg,
  .page-fishing-games__dark-section,
  .page-fishing-games__contact-cta {
    padding: 50px 0;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__reasons-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-fishing-games__faq-answer {
    padding: 15px;
  }

  .page-fishing-games__contact-content {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.6rem;
  }

  .page-fishing-games__section-title {
    font-size: 1.5rem;
  }

  .page-fishing-games__hero-content {
    margin-top: -30px;
  }
}