/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-on-dark-bg: #FFFFFF;
  --text-on-light-bg: #333333;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --login-button-color: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark-bg); /* Body background is dark (#000000), so text must be light */
  background-color: #000000; /* Ensure consistency with body background */
}

.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-on-light-bg);
}

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

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

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

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 70vh;
  background: linear-gradient(135deg, var(--primary-color), #1a7bb0);
  overflow: hidden;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  color: var(--text-on-dark-bg);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-on-dark-bg);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--text-on-dark-bg);
  margin-bottom: 20px;
  text-align: center;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--text-on-dark-bg);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-on-dark-bg);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: block;
  margin-top: 20px;
}

.page-fishing-games__btn-link:hover {
  color: #1a7bb0;
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--text-on-dark-bg);
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 1em;
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-dark-mode);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
  text-align: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-title {
  font-size: 1.3em;
  color: var(--text-on-dark-bg);
  margin: 15px 0 10px;
  padding: 0 15px;
}

.page-fishing-games__game-title a {
  color: var(--text-on-dark-bg);
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  color: var(--primary-color);
}

.page-fishing-games__game-text {
  font-size: 0.95em;
  color: var(--text-on-dark-bg);
  padding: 0 15px 20px;
}

.page-fishing-games__center-buttons {
  margin-top: 40px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  background-color: #111111;
}

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

.page-fishing-games__step-item {
  background-color: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: var(--text-on-dark-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-on-dark-bg);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: var(--text-on-dark-bg);
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  font-size: 1em;
  color: var(--text-on-dark-bg);
}

/* App Download Section */
.page-fishing-games__app-download-section {
  background-color: var(--primary-color);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-fishing-games__app-info {
  flex: 1;
}

.page-fishing-games__app-info .page-fishing-games__section-title,
.page-fishing-games__app-info .page-fishing-games__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__app-benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
}

.page-fishing-games__app-benefits-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-fishing-games__app-benefits-list li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

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

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: #111111;
}

.page-fishing-games__promotions-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-dark-mode);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__promo-title {
  font-size: 1.3em;
  color: var(--text-on-dark-bg);
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 0.95em;
  color: var(--text-on-dark-bg);
}

/* Security Section */
.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-fishing-games__security-list li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: var(--text-on-dark-bg);
  background-color: var(--card-bg-dark-mode);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__security-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 20px;
  flex-shrink: 0;
}

/* Responsible Gambling Section */
.page-fishing-games__responsible-gambling-section {
  background-color: #111111;
}

.page-fishing-games__responsible-list {
  list-style: disc;
  padding-left: 40px;
  margin-top: 30px;
  font-size: 1.1em;
  color: var(--text-on-dark-bg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__responsible-list li {
  margin-bottom: 10px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-dark-mode);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  color: var(--text-on-dark-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--text-on-dark-bg);
}

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

/* Call to Action Bottom */
.page-fishing-games__call-to-action-bottom {
  background: linear-gradient(90deg, #1a7bb0, var(--primary-color));
  color: var(--text-on-dark-bg);
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__call-to-action-bottom .page-fishing-games__section-title {
  color: var(--text-on-dark-bg);
}

.page-fishing-games__call-to-action-bottom .page-fishing-games__section-description {
  color: var(--text-on-dark-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }

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

  .page-fishing-games__app-download-content {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__app-info .page-fishing-games__section-title,
  .page-fishing-games__app-info .page-fishing-games__section-description {
    text-align: center;
  }

  .page-fishing-games__app-benefits-list {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-description {
    font-size: 0.95em;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__app-download-content,
  .page-fishing-games__faq-list,
  .page-fishing-games__security-list {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__app-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-card,
  .page-fishing-games__step-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__app-download-content {
    gap: 30px;
  }

  .page-fishing-games__security-list li {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .page-fishing-games__security-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }

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

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