/* style/fishing-games.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --background-color: #FFFFFF;
  --register-login-font-color: #FFFF00;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light-bg);
  background-color: var(--background-color);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

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

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

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: var(--register-button-color);
  color: var(--register-login-font-color);
  border-color: var(--register-button-color);
}

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

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

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

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-color-light-bg);
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__advantages-section .page-fishing-games__section-title {
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__advantage-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-fishing-games__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

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

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__game-tile {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent grid */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  aspect-ratio: 1/1;
}

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

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

.page-fishing-games__game-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-button:hover {
  background-color: #005a2e;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--register-login-font-color);
  margin-bottom: 15px;
}

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

.page-fishing-games__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-color-light-bg);
}

.page-fishing-games__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__promotion-card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 30px;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: var(--text-color-dark-bg);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-fishing-games__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__tip-item::before {
  content: '✓';
  color: var(--register-login-font-color);
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-color-light-bg);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none;
  position: relative;
  background-color: #f9f9f9;
}

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

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

.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(--register-button-color);
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  color: var(--text-color-dark-bg);
}

/* Dark/Light Background Classes */
.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

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

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

/* Media Queries for Responsive Design */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__main-title {
    font-size: 2.5em;
  }

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

  .page-fishing-games__grid-3-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
  }
}

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

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Specific top padding for hero on mobile */
  }

  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Hero image uses contain on mobile */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

  .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"] {
    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-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__grid-3-col {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  .page-fishing-games__game-image {
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
  }

  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__tip-item {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .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__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}