/* style/fishing-games.css */
/* 
  Màu sắc tùy chỉnh:
  - Nền Card: #11271B
  - Nền: #08160F
  - Văn bản chính: #F2FFF6
  - Văn bản phụ: #A7D9B8
  - Viền: #2E7A4E
  - Phát sáng: #57E38D
  - Vàng: #F2C14E
  - Đường phân cách: #1E3A2A
  - Xanh lá đậm: #0A4B2C
  - Nút: linear-gradient(180deg, #2AD16F 0%, #13994A 100%)
*/

:root {
  --page-bg-color: #08160F; /* Nền chính */
  --card-bg-color: #11271B; /* Nền card */
  --text-main-color: #F2FFF6; /* Văn bản chính */
  --text-secondary-color: #A7D9B8; /* Văn bản phụ */
  --border-color: #2E7A4E; /* Viền */
  --glow-color: #57E38D; /* Phát sáng */
  --gold-color: #F2C14E; /* Vàng */
  --divider-color: #1E3A2A; /* Đường phân cách */
  --deep-green-color: #0A4B2C; /* Xanh lá đậm */
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Nút */
  --primary-color: #11A84E; /* Chủ đạo */
  --secondary-color: #22C768; /* Phụ trợ */
}

/* Base styles for the page content, assuming body has dark background from shared.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Use main text color for overall content */
  background-color: var(--page-bg-color); /* Ensure main content background is dark */
  line-height: 1.6;
  font-size: 16px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  overflow: hidden; /* Ensure no overflow from image */
  background-color: var(--deep-green-color); /* Fallback background for hero */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--text-main-color);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold-color);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--text-secondary-color);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-green-color);
}

.page-fishing-games__btn-primary--full-width {
    width: 100%;
    max-width: 400px; /* Limit max width on larger screens */
    margin-top: 20px;
}

.page-fishing-games__btn-primary--large {
    padding: 18px 35px;
    font-size: 1.1rem;
}


/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  box-sizing: border-box;
}

.page-fishing-games__light-bg {
  background-color: #ffffff; /* Use white for light background sections */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__dark-bg {
  background-color: var(--page-bg-color); /* Dark background */
  color: var(--text-main-color); /* Light text for dark background */
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color); /* Default to primary color for titles */
}

.page-fishing-games__section-title--white {
  color: var(--gold-color); /* White title for dark sections */
}

.page-fishing-games__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__sub-title {
    color: var(--text-main-color);
}

.page-fishing-games__paragraph {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.page-fishing-games__paragraph--white {
  color: var(--text-secondary-color);
}

.page-fishing-games__highlight {
  color: var(--gold-color);
  font-weight: 700;
}

.page-fishing-games__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: inherit;
}

.page-fishing-games__numbered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: inherit;
}

.page-fishing-games__list-item {
  margin-bottom: 10px;
}

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

.page-fishing-games__content-image--center {
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__card,
.page-fishing-games__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

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

.page-fishing-games__card-title,
.page-fishing-games__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-fishing-games__card-description,
.page-fishing-games__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  flex-grow: 1; /* Allows description to take up available space */
  margin-bottom: 20px;
}

.page-fishing-games__btn-tertiary {
  background: var(--deep-green-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
  margin-top: auto; /* Pushes button to the bottom of the card */
}

.page-fishing-games__btn-tertiary:hover {
  background: var(--glow-color);
  color: var(--deep-green-color);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  list-style: none; /* Remove default marker for details summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  width: 30px;
  text-align: center;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  background-color: var(--card-bg-color);
}

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

.page-fishing-games__faq-link {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-fishing-games__faq-link:hover {
    color: var(--gold-color);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__conclusion-section .page-fishing-games__highlight {
    color: var(--primary-color);
}

.page-fishing-games__link-text {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__link-text:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1.1rem;
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
  .page-fishing-games__sub-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__paragraph,
  .page-fishing-games__list-item {
    font-size: 1rem;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__promo-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 15px; /* Mobile font size adjustment */
  }

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

  .page-fishing-games__hero-content {
    margin-top: 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

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

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

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
.page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px !important; /* Add padding to content containers */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__sub-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-fishing-games__paragraph,
  .page-fishing-games__list-item,
  .page-fishing-games__card-description,
  .page-fishing-games__promo-description {
    font-size: 0.95rem;
  }

  .page-fishing-games__content-image {
    margin: 30px 0;
  }

  .page-fishing-games__card-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

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

  .page-fishing-games__card-title,
  .page-fishing-games__promo-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  /* Force responsive images and containers on mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Small top padding for video section on mobile */
  }
  
  /* Buttons in flex containers */
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }
  .page-fishing-games__hero-description {
    font-size: 0.9rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__sub-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__paragraph,
  .page-fishing-games__list-item,
  .page-fishing-games__card-description,
  .page-fishing-games__promo-description {
    font-size: 0.85rem;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-fishing-games__faq-answer {
    font-size: 0.85rem;
    padding: 12px 15px;
  }
}