/* style/fishing-games.css */

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

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

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

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

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

/* Buttons */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--accent-color-register); /* Sử dụng màu đỏ cho đăng ký */
  color: var(--font-color-register-login); /* Sử dụng màu vàng cho chữ */
  border: 2px solid var(--accent-color-register);
}

.page-fishing-games__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__button-group {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a9e6b 100%);
  color: var(--text-color-light);
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-size: 52px;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__main-description {
  font-size: 22px;
  margin-bottom: 30px;
  color: var(--text-color-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: var(--text-color-light);
}

.page-fishing-games__intro-section .page-fishing-games__text-block {
  color: var(--text-color-light);
}

.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-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__feature-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* Games Showcase */
.page-fishing-games__games-showcase {
  background-color: var(--background-color);
  padding: 80px 0;
}

.page-fishing-games__games-showcase .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__games-showcase .page-fishing-games__text-block {
  color: var(--text-color-dark);
}

.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: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: bold;
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.page-fishing-games__card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
  color: #004d2a;
}

.page-fishing-games__game-card p {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 20px 20px;
}

/* How To Play Section */
.page-fishing-games__how-to-play {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
  color: var(--text-color-light);
}

.page-fishing-games__how-to-play .page-fishing-games__text-block {
  color: var(--text-color-light);
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-fishing-games__steps-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  font-size: 36px;
  font-weight: bold;
  color: var(--font-color-register-login); /* Màu vàng cho số bước */
  background: var(--accent-color-register); /* Nền đỏ cho số bước */
  border-radius: 50%;
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-fishing-games__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-fishing-games__steps-list p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
  background-color: var(--background-color);
  padding: 80px 0;
}

.page-fishing-games__tips-strategies .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__tips-strategies .page-fishing-games__text-block {
  color: var(--text-color-dark);
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-list li {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__strategy-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-fishing-games__promotions .page-fishing-games__section-title {
  color: var(--text-color-light);
}

.page-fishing-games__promotions .page-fishing-games__text-block {
  color: var(--text-color-light);
}

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
  color: var(--text-color-light);
  padding: 20px 20px 10px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title a {
  color: var(--text-color-light);
  text-decoration: none;
}

.page-fishing-games__promo-card .page-fishing-games__card-title a:hover {
  color: var(--font-color-register-login);
}

.page-fishing-games__promo-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 20px 20px;
}

/* Mobile Experience Section */
.page-fishing-games__mobile-experience {
  background-color: var(--background-color);
  padding: 80px 0;
}

.page-fishing-games__mobile-experience .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__mobile-experience .page-fishing-games__text-block {
  color: var(--text-color-dark);
}

.page-fishing-games__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__mobile-image {
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-fishing-games__mobile-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

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

.page-fishing-games__mobile-text p {
  font-size: 18px;
  color: var(--text-color-dark);
  margin-bottom: 25px;
}

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

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--text-color-light);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  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: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color-register);
}

.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: var(--secondary-color);
  color: var(--text-color-dark);
  border-radius: 0 0 12px 12px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

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

/* Final CTA Section */
.page-fishing-games__cta-final {
  background-color: var(--background-color);
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
  color: var(--text-color-dark);
}

/* Utility Classes for Backgrounds */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg h3,
.page-fishing-games__dark-bg p {
  color: var(--text-color-light);
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg h3,
.page-fishing-games__light-bg p {
  color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 44px;
  }
  .page-fishing-games__main-description {
    font-size: 20px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__mobile-subtitle {
    font-size: 22px;
  }
  .page-fishing-games__mobile-content {
    flex-direction: column;
  }
  .page-fishing-games__mobile-image {
    margin-bottom: 30px;
  }
  .page-fishing-games__mobile-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }
  .page-fishing-games__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-fishing-games__main-description {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
  }
  .page-fishing-games__container {
    padding: 30px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-fishing-games__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img {
    
    border-radius: 6px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__mobile-subtitle {
    font-size: 20px;
  }
  .page-fishing-games__steps-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-fishing-games__steps-list li::before {
    margin-bottom: 15px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
    border-radius: 8px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 18px;
    width: calc(100% - 40px);
  }
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }
  /* Mobile image responsiveness */
  .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__intro-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-strategies,
  .page-fishing-games__promotions,
  .page-fishing-games__mobile-experience,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__mobile-image {
    max-width: 80% !important; /* Adjust for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 30px;
  }
  .page-fishing-games__main-description {
    font-size: 16px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__mobile-subtitle {
    font-size: 18px;
  }
  .page-fishing-games__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-fishing-games__steps-list li::before {
    font-size: 30px;
    min-width: 50px;
    height: 50px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 22px;
    width: 24px;
    height: 24px;
  }
}