/* style/fishing-games.css */

/* Biến màu sắc */
:root {
  --primary-color: #FFD700; /* Vàng */
  --secondary-color: #8B0000; /* Đỏ rượu */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Mặc định chữ sáng trên nền tối của body */
  background-color: var(--background-dark);
  padding-top: var(--header-offset, 120px); /* Đảm bảo nội dung không bị che bởi header */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.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 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #330000 100%);
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.page-fishing-games__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: 52px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta {
  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 40px;
  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;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark); /* Chữ đen trên nền vàng */
}

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

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

/* Content Sections */
.page-fishing-games__content-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__content-section:last-of-type {
  border-bottom: none;
}

.page-fishing-games__why-choose .page-fishing-games__section-title,
.page-fishing-games__popular-games .page-fishing-games__section-title,
.page-fishing-games__how-to-play .page-fishing-games__section-title,
.page-fishing-games__strategies .page-fishing-games__section-title,
.page-fishing-games__promotions .page-fishing-games__section-title,
.page-fishing-games__security .page-fishing-games__section-title,
.page-fishing-games__mobile-experience .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title,
.page-fishing-games__support .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__why-choose .page-fishing-games__section-description,
.page-fishing-games__popular-games .page-fishing-games__section-description,
.page-fishing-games__how-to-play .page-fishing-games__section-description,
.page-fishing-games__strategies .page-fishing-games__section-description,
.page-fishing-games__promotions .page-fishing-games__section-description,
.page-fishing-games__security .page-fishing-games__section-description,
.page-fishing-games__mobile-experience .page-fishing-games__section-description,
.page-fishing-games__faq-section .page-fishing-games__section-description,
.page-fishing-games__support .page-fishing-games__section-description {
  color: var(--text-light);
}

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

.page-fishing-games__feature-item {
  background: rgba(255, 255, 255, 0.08); /* Nền tối nhẹ */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

.page-fishing-games__btn-play {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: var(--primary-color);
  color: var(--text-dark);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-fishing-games__btn-play:hover {
  background: #e6c200;
}

/* Steps Grid */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-number {
  counter-increment: step-counter;
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--background-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

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

.page-fishing-games__step-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__step-text a:hover {
  text-decoration: underline;
}

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

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

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

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

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

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

.page-fishing-games__strategy-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__strategy-text a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

.page-fishing-games__btn-details {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-fishing-games__btn-details:hover {
  background: #6a0000;
}

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

.page-fishing-games__security-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

.page-fishing-games__security-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__security-text a:hover {
  text-decoration: underline;
}

/* Mobile Experience */
.page-fishing-games__mobile-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: linear-gradient(90deg, rgba(139,0,0,0.2) 0%, rgba(255,215,0,0.1) 100%);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__mobile-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__mobile-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  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: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  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.2);
  border-color: var(--primary-color);
}

.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; /* Prevent h3 from blocking click event */
}

.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; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.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: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Ensure it expands sufficiently */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: var(--text-light);
}

.page-fishing-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Support Channels */
.page-fishing-games__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

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

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

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

/* Common link styling for content */
.page-fishing-games p a, .page-fishing-games li a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games p a:hover, .page-fishing-games li a:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 44px;
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding: 60px 15px 40px;
  }

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

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

  .page-fishing-games__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-details {
    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__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

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

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

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__security-item,
  .page-fishing-games__channel-item {
    padding: 20px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__promotion-title,
  .page-fishing-games__security-title,
  .page-fishing-games__channel-title,
  .page-fishing-games__mobile-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-text,
  .page-fishing-games__game-description,
  .page-fishing-games__step-text,
  .page-fishing-games__strategy-text,
  .page-fishing-games__promotion-text,
  .page-fishing-games__security-text,
  .page-fishing-games__channel-text,
  .page-fishing-games__mobile-text {
    font-size: 15px;
  }

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

  .page-fishing-games__step-number {
    font-size: 36px;
    width: 60px;
    height: 60px;
    top: -15px;
    border-width: 3px;
  }

  .page-fishing-games__step-title {
    margin-top: 30px;
  }

  .page-fishing-games__mobile-wrapper {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .page-fishing-games__mobile-info {
    text-align: center;
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games__mobile-image {
    max-width: 250px;
    margin: 0 auto;
  }

  /* FAQ */
  .page-fishing-games__faq-question {
    padding: 15px 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;
  }

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

  .page-fishing-games__hero-section,
  .page-fishing-games__content-section,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__security-item,
  .page-fishing-games__mobile-wrapper,
  .page-fishing-games__faq-item,
  .page-fishing-games__channel-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}