/* style/fishing-games.css */
:root {
  --primary-color: #FFD700; /* Vàng sang trọng */
  --secondary-color: #8B0000; /* Đỏ đậm */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0d0d0d;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color-light: #e0e0e0;
}

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

.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: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.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:cwin,bắn cá,đại dương,trang chủ,game]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
  padding-top: 10px; /* Adjust for fixed header, override main padding-top */
}

.page-fishing-games__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-fishing-games__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-fishing-games__cta-button--secondary:hover {
  background-color: #6e0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  background-color: #1a1a1a;
}

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

.page-fishing-games__card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

/* Games List Section */
.page-fishing-games__games-list-section {
  background-color: var(--background-dark);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

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

.page-fishing-games__game-title {
  font-size: 22px;
  color: var(--primary-color);
  padding: 15px 20px 0;
}

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

/* Guide Section */
.page-fishing-games__guide-section {
  background-color: #1a1a1a;
}

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

.page-fishing-games__step-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  position: relative;
}

.page-fishing-games__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: -55px auto 20px auto;
  border: 4px solid var(--background-dark);
}

.page-fishing-games__step-card:first-child .page-fishing-games__step-number {
    margin-top: -55px;
}

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

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

.page-fishing-games__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  background-color: var(--background-dark);
}

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

.page-fishing-games__strategy-item {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

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

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

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

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  color: var(--primary-color);
  padding: 15px 20px 0;
}

.page-fishing-games__promo-text {
  font-size: 15px;
  color: var(--text-light);
  padding: 0 20px 20px;
}

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

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.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 20px;
  opacity: 0;
  color: var(--text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

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

.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-item.active .page-fishing-games__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  background-color: #1a1a1a;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__main-title {
    font-size: 40px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 10px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__section-title {
    font-size: 28px;
  }

  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 60px 0;
    padding-top: 10px !important; /* Mobile specific override */
  }

  .page-fishing-games__main-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__grid, .page-fishing-games__game-grid, .page-fishing-games__steps-grid, .page-fishing-games__strategy-grid, .page-fishing-games__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card, .page-fishing-games__game-card, .page-fishing-games__step-card, .page-fishing-games__strategy-item, .page-fishing-games__promo-card {
    padding: 20px;
  }

  .page-fishing-games__card-image, .page-fishing-games__game-image, .page-fishing-games__step-image, .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 150px !important; /* Adjusted for mobile */
  }

  .page-fishing-games__card-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__strategy-title, .page-fishing-games__promo-title {
    font-size: 20px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__hero-description {
    font-size: 15px;
  }
  .page-fishing-games__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}