/* style/fishing-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #008000; /* Green */
  --dark-bg-1: #0d0d0d; /* From shared.css */
  --dark-bg-2: #1a1a1a;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games {
  background-color: var(--dark-bg-1); /* Inherit from body, ensure light text */
  color: var(--text-light);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('[GALLERY:hero:sun 52, bắn cá, đại dương, cá vàng, jackpot, nền]') center center / cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-title {
  font-size: 52px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.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-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-fishing-games__features {
  background-color: var(--dark-bg-2);
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__feature-card-text {
  font-size: 16px;
  color: var(--text-light);
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-content {
  flex-grow: 1;
}

.page-fishing-games__step-title {
  font-size: 26px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__step-content p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-fishing-games__btn--small {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 6px;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-fishing-games__btn--small:hover {
  background-color: #006600;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Fish Types Section */
.page-fishing-games__fish-types {
  background-color: var(--dark-bg-1);
}

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

.page-fishing-games__content-block {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__content-block p {
  font-size: 16px;
  color: var(--text-light);
}

/* Strategies Section */
.page-fishing-games__strategies {
  background-color: var(--dark-bg-2);
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-item-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-item p {
  font-size: 16px;
  color: var(--text-light);
}

/* Mobile Play Section */
.page-fishing-games__mobile-play {
  background-color: var(--dark-bg-1);
}

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-fishing-games__mobile-image {
  max-width: 450px;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.page-fishing-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__mobile-text-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__mobile-text p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Platform Overview Section */
.page-fishing-games__platform-overview {
  background-color: var(--dark-bg-2);
}

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

.page-fishing-games__game-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__game-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__game-link {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

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

.page-fishing-games__game-item p {
  font-size: 16px;
  color: var(--text-light);
}

/* FAQ Section (Content) */
.page-fishing-games__faq-content {
  background-color: var(--dark-bg-1);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: var(--secondary-color);
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('[GALLERY:cta:sun 52, bắn cá, bonus, reward, action, background]') center center / cover no-repeat;
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 44px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__mobile-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__hero-section {
    padding: 80px 0;
  }
  .page-fishing-games__hero-title {
    font-size: 36px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
  }
  .page-fishing-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__content-block,
  .page-fishing-games__strategy-item,
  .page-fishing-games__game-item {
    padding: 20px;
  }
  .page-fishing-games__feature-card-title,
  .page-fishing-games__content-block-title,
  .page-fishing-games__strategy-item-title,
  .page-fishing-games__game-link,
  .page-fishing-games__mobile-text-title {
    font-size: 20px;
  }
  .page-fishing-games__guide-steps {
    gap: 25px;
  }
  .page-fishing-games__step-item {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  .page-fishing-games__step-number {
    margin-bottom: 15px;
  }
  .page-fishing-games__step-title {
    font-size: 22px;
  }
  .page-fishing-games__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__faq-question {
    padding: 18px 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__btn {
    font-size: 15px !important;
    padding: 10px 15px !important;
  }
  .page-fishing-games__step-title {
    font-size: 20px;
  }
}

/* Ensure all images are responsive */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all image containers are responsive */
.page-fishing-games__hero-section,
.page-fishing-games__feature-card,
.page-fishing-games__content-block,
.page-fishing-games__mobile-content,
.page-fishing-games__call-to-action {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__feature-card,
  .page-fishing-games__content-block,
  .page-fishing-games__mobile-content,
  .page-fishing-games__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__container {
    padding-left: 0;
    padding-right: 0;
  }
}