/* style/fishing-games.css */

:root {
  --vin23-red-primary: #E53935;
  --vin23-red-secondary: #FF5A4F;
  --vin23-white: #FFFFFF;
  --vin23-text-main: #333333;
  --vin23-border-light: #E0E0E0;
  --vin23-bg-light: #F5F7FA;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--vin23-text-main); /* Default text color for light backgrounds */
  background-color: var(--page-bg); /* Inherit from shared.css */
}

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

.page-fishing-games__dark-section {
  background-color: var(--vin23-red-primary);
  color: var(--vin23-white);
  padding: 60px 0;
}

.page-fishing-games__light-bg {
  background-color: var(--vin23-bg-light);
  color: var(--vin23-text-main);
  padding: 60px 0;
}

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  max-width: 800px;
  padding: 20px;
  margin-top: 30px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--vin23-white);
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--vin23-white);
}

.page-fishing-games__section-description {
  font-size: 1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-fishing-games__dark-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--vin23-red-secondary) 0%, var(--vin23-red-primary) 100%);
  color: var(--vin23-white);
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: var(--vin23-white);
  color: var(--vin23-red-primary);
  border: 2px solid var(--vin23-red-primary);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--vin23-red-primary);
  color: var(--vin23-white);
  border-color: var(--vin23-red-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__card {
  background-color: var(--vin23-white);
  color: var(--vin23-text-main);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--vin23-border-light);
  box-sizing: border-box;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--vin23-red-primary);
}

.page-fishing-games__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--vin23-text-main);
}

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

.page-fishing-games__game-card {
  text-align: center;
  padding: 20px;
}

.page-fishing-games__game-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--vin23-red-primary);
}

.page-fishing-games__game-provider {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}

.page-fishing-games__btn-play {
  display: inline-block;
  background: var(--vin23-red-secondary);
  color: var(--vin23-white);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
  background: var(--vin23-red-primary);
}

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

.page-fishing-games__step-item {
  padding: 30px;
  text-align: left;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--vin23-red-primary);
}

.page-fishing-games__step-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-fishing-games__btn-text {
  color: var(--vin23-red-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
}

.page-fishing-games__btn-text:hover {
  text-decoration: underline;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__strategy-item {
  text-align: left;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--vin23-white);
  border: none;
}

.page-fishing-games__strategy-heading {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--vin23-red-secondary);
}

.page-fishing-games__strategy-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.page-fishing-games__promo-card {
  padding: 20px;
  text-align: left;
}

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

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--vin23-red-primary);
}

.page-fishing-games__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__mobile-text {
  flex: 1;
  text-align: left;
  color: var(--vin23-white);
}

.page-fishing-games__mobile-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__mobile-features {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__mobile-features li {
  margin-bottom: 8px;
}

.page-fishing-games__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--vin23-border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  text-align: left;
  background-color: var(--vin23-white);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: var(--vin23-text-main);
  list-style: none;
}

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

.page-fishing-games__faq-question:hover {
  background-color: var(--vin23-bg-light);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--vin23-red-primary);
}

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--vin23-text-main);
}

.page-fishing-games__cta-final {
  background-color: var(--vin23-red-secondary);
  padding: 80px 0;
}

.page-fishing-games__cta-content-wrapper {
  text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: var(--vin23-white);
}

.page-fishing-games__cta-final .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
}

/* General image responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__game-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__strategies,
  .page-fishing-games__promotions,
  .page-fishing-games__mobile-experience,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__hero-image-wrapper {
    max-height: unset;
  }

  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset;
    max-height: none;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
    margin-top: 20px;
  }

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

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

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

  /* Feature Grid */
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__strategy-list,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Game Grid */
  .page-fishing-games__game-image {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

  /* Mobile Experience Section */
  .page-fishing-games__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__mobile-text {
    text-align: center;
  }

  .page-fishing-games__mobile-features {
    text-align: left;
    margin-left: 0;
    padding-left: 20px;
  }

  /* FAQ Section */
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  /* General Image rules for content area */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__card {
    padding: 20px;
  }
}