/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* padding-top: 10px */
  background-color: #F4F7FB; /* Background */
  text-align: center;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Giới hạn kích thước font */
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__about-section,
.page-fishing-games__games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

.page-fishing-games__advantages-section,
.page-fishing-games__tips-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title,
.page-fishing-games__tips-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__advantages-section .page-fishing-games__section-description,
.page-fishing-games__tips-section .page-fishing-games__section-description,
.page-fishing-games__cta-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
  min-width: 0;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__advantage-item,
.page-fishing-games__tip-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games__advantage-item:hover,
.page-fishing-games__tip-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__advantage-title,
.page-fishing-games__tip-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 600;
}

.page-fishing-games__advantage-item p,
.page-fishing-games__tip-item p {
  color: #f0f8ff;
}

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

.page-fishing-games__game-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  color: #1F2D3D; /* Text Main */
  margin: 20px 15px 10px 15px;
  font-weight: 600;
}

.page-fishing-games__game-description {
  color: #1F2D3D; /* Text Main */
  padding: 0 15px;
  margin-bottom: 20px;
  font-size: 0.95em;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 25px;
  font-size: 1em;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__steps-list li {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__steps-list h3 {
  color: #2F6BFF; /* Main Color */
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__steps-list p {
  color: #1F2D3D; /* Text Main */
  margin-bottom: 0;
}

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

.page-fishing-games__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* remove default triangle */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #F4F7FB;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2F6BFF; /* Main Color */
  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: 0 25px 20px 25px;
  color: #1F2D3D; /* Text Main */
  font-size: 1em;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-fishing-games__image-block {
    margin-top: 30px;
  }

  .page-fishing-games__advantages-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-fishing-games__game-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

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

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

  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
    margin-bottom: 30px;
  }

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

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

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

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

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__image-block,
  .page-fishing-games__game-card,
  .page-fishing-games__advantage-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__steps-list li,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__game-image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__advantages-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
  }
}