/* style/fishing-games.css */

/* Variables for color scheme */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-color: #0A0A0A;
  --card-bg-color: #111111;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --glow-color: #FFD36B;
}

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

.page-fishing-games__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

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

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-fishing-games__section-description {
  font-size: 18px;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background: var(--background-color);
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive font size */
  font-weight: 900;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

.page-fishing-games__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main-color);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__cta-button--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* About Fishing Games Section */
.page-fishing-games__about-fishing-games {
  background-color: var(--background-color);
}

.page-fishing-games__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__image-left {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__text-content {
  flex: 2;
  min-width: 300px;
  color: var(--text-main-color);
}

.page-fishing-games__text-content p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-fishing-games__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__button--primary {
  background: var(--button-gradient);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__button--secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Game Types Section */
.page-fishing-games__game-types {
  background-color: var(--card-bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.page-fishing-games__card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
  max-width: 100%;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__card-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Game Guide Section */
.page-fishing-games__game-guide {
  background-color: var(--background-color);
}

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

.page-fishing-games__guide-item {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
}

.page-fishing-games__guide-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  font-size: 16px;
  line-height: 1.7;
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: var(--card-bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
  max-width: 100%;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: var(--text-main-color);
}

/* Security & Support Section */
.page-fishing-games__security-support {
  background-color: var(--background-color);
}

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

.page-fishing-games__security-item {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
}

.page-fishing-games__security-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__security-item p {
  font-size: 16px;
  line-height: 1.7;
}

/* App Download Section */
.page-fishing-games__app-download {
  background-color: var(--card-bg-color);
  border-top: 1px solid var(--border-color);
}

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

.page-fishing-games__app-image {
  flex-shrink: 0;
  width: 350px;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.4);
  max-width: 100%;
  display: block;
}

.page-fishing-games__app-info {
  flex-grow: 1;
  max-width: 600px;
  color: var(--text-main-color);
}

.page-fishing-games__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__app-features li {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-fishing-games__app-icon {
  color: var(--primary-color);
  font-size: 24px;
  margin-right: 10px;
  line-height: 1;
}

.page-fishing-games__app-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__cta-button--app-ios, .page-fishing-games__cta-button--app-android {
  flex: 1;
  min-width: 180px; /* Ensure buttons don't get too small */
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* FAQ Section */
.page-fishing-games__faq {
  background-color: var(--background-color);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 8px 8px;
  color: var(--text-main-color);
}

.page-fishing-games__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-fishing-games__intro-text {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .page-fishing-games__about-fishing-games .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__image-left {
    order: 1;
  }
  .page-fishing-games__text-content {
    order: 2;
  }
  .page-fishing-games__app-content {
    flex-direction: column;
  }
  .page-fishing-games__app-image {
    order: 1;
  }
  .page-fishing-games__app-info {
    order: 2;
    text-align: center;
  }
  .page-fishing-games__app-features {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
  .page-fishing-games__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 6px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(24px, 7vw, 40px);
  }
  .page-fishing-games__intro-text {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 15px;
  }

  /* General buttons */
  .page-fishing-games__button, .page-fishing-games__card-button,
  .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;
  }
  .page-fishing-games__app-buttons {
    flex-direction: column; /* Stack app buttons vertically */
    gap: 10px;
  }
  .page-fishing-games__app-buttons a {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item,
  .page-fishing-games__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__image-left, .page-fishing-games__app-image {
    width: 100%;
    min-width: unset;
  }

  /* FAQ */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(22px, 8vw, 36px);
  }
  .page-fishing-games__card-title, .page-fishing-games__promo-title, .page-fishing-games__guide-title, .page-fishing-games__security-title {
    font-size: 20px;
  }
  .page-fishing-games__card-text, .page-fishing-games__promo-text, .page-fishing-games__guide-item p, .page-fishing-games__security-item p, .page-fishing-games__app-features li {
    font-size: 14px;
  }
  .page-fishing-games__card-image {
    height: 150px;
  }
  .page-fishing-games__promo-image {
    height: 130px;
  }
}