/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background, #08160F); /* Default background from custom palette */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 3em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  background-color: var(--background, #08160F);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

.page-fishing-games__main-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Buttons */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__cta-button--secondary {
  background: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary:hover {
  background: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
}

.page-fishing-games__cta-wrapper {
  margin-top: 50px;
}

/* Grid Layout for Features and Games */
.page-fishing-games__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Download Options */
.page-fishing-games__download-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__download-card {
  flex: 1 1 45%; /* Allow cards to grow but limit base width */
  max-width: 500px;
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__download-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  display: block;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--divider, #1E3A2A);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-fishing-games__game-name {
  font-size: 1.3em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.5;
}

/* Promotions Section */
.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 {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

/* Expert Tips Section */
.page-fishing-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__tip-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--divider, #1E3A2A);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-heading {
  font-size: 1.4em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__tip-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Platform Security Section */
.page-fishing-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__security-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__security-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--divider, #1E3A2A);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  list-style: none; /* Remove default marker */
  outline: none;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

.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;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__cta-wrapper {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-content {
    padding: 0 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 4.5vw, 3.5em);
  }
  .page-fishing-games__download-card {
    flex: 1 1 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  
  /* Images and their containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__card,
  .page-fishing-games__download-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  /* Buttons */
  .page-fishing-games__cta-button,
  .page-fishing-games__cta-button--primary,
  .page-fishing-games__cta-button--secondary,
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .page-fishing-games__download-options {
    flex-direction: column;
    align-items: center;
  }
  .page-fishing-games__download-card {
    max-width: 100%;
    margin-bottom: 20px; /* Add some space between stacked cards */
  }
  .page-fishing-games__game-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__security-features,
  .page-fishing-games__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__card-image,
  .page-fishing-games__download-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__security-image {
    height: auto;
    max-height: 250px;
  }
  .page-fishing-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-fishing-games__card-title,
  .page-fishing-games__tip-heading,
  .page-fishing-games__game-name,
  .page-fishing-games__faq-item summary {
    font-size: 1.1em;
  }
  .page-fishing-games__card-text,
  .page-fishing-games__tip-text,
  .page-fishing-games__game-description,
  .page-fishing-games__faq-answer {
    font-size: 0.9em;
  }
  .page-fishing-games__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}