/* style/fishing-games.css */

/* Biến CSS */
:root {
  --page-fishing-games-primary-color: #007bff;
  --page-fishing-games-secondary-color: #ffc107;
  --page-fishing-games-dark-text: #212529; /* Màu văn bản tối cho nền sáng */
  --page-fishing-games-light-text: #f8f9fa; /* Màu văn bản sáng cho nền tối */
  --page-fishing-games-background-light: #f8f9fa;
  --page-fishing-games-background-dark: #343a40;
  --page-fishing-games-border-color: #dee2e6;
}

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

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: #e9ecef; /* Nền xám nhạt để tạo sự phân biệt */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 30px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-fishing-games-secondary-color);
  border-radius: 2px;
}

.page-fishing-games__subsection-title {
  font-size: 1.8em;
  color: var(--page-fishing-games-dark-text);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games ul {
  list-style: disc inside;
  text-align: left;
  margin: 0 auto 20px;
  max-width: 900px;
  padding-left: 20px;
}

.page-fishing-games li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Hero Section */
.page-fishing-games__hero {
  background: linear-gradient(135deg, var(--page-fishing-games-primary-color) 0%, #0056b3 100%);
  padding: 100px 0;
  color: var(--page-fishing-games-light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,ocean,waves,blue,hi88vip6]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-fishing-games__hero > .page-fishing-games__container {
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-fishing-games-light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-fishing-games-light-text);
}

/* Buttons */
.page-fishing-games__btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.page-fishing-games__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: var(--page-fishing-games-light-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn--inline {
  padding: 8px 20px;
  font-size: 1em;
  margin-top: 15px;
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-light-text);
  border: 1px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn--inline:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-fishing-games__btn--small {
  padding: 6px 15px;
  font-size: 0.9em;
  background-color: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-dark-text);
  border: 1px solid var(--page-fishing-games-secondary-color);
}

.page-fishing-games__btn--small:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: var(--page-fishing-games-light-text);
}

/* Image Styling */
.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-fishing-games__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-item p {
  font-size: 1em;
  color: var(--page-fishing-games-dark-text);
  text-align: left;
}

/* CTA Register */
.page-fishing-games__cta-register {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-light-text);
  padding: 80px 0;
}

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

.page-fishing-games__cta-register .page-fishing-games__section-title::after {
  background-color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__cta-register p {
  color: var(--page-fishing-games-light-text);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-fishing-games__cta-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 250px;
}

.page-fishing-games__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Đảm bảo icon có màu trắng trên nền xanh */
}

.page-fishing-games__item-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-light-text);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__cta-item p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  flex-grow: 1;
}

/* Promotions */
.page-fishing-games__promotions {
  background-color: var(--page-fishing-games-background-light);
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-fishing-games__promo-list li {
  background-color: #fff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--page-fishing-games-secondary-color);
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: var(--page-fishing-games-dark-text);
}

/* Detail Articles */
.page-fishing-games__detail-articles {
  background-color: #e9ecef;
}

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

.page-fishing-games__article-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__article-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.page-fishing-games__article-description {
  font-size: 0.95em;
  color: #6c757d;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Accordion */
.page-fishing-games__faq {
  background-color: var(--page-fishing-games-background-light);
}

.page-fishing-games__accordion {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-fishing-games__accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games__accordion-header {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-light-text);
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-fishing-games__accordion-header:hover {
  background-color: #0056b3;
}

.page-fishing-games__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-fishing-games__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-fishing-games__accordion-content {
  padding: 0 20px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-fishing-games__accordion-content.open {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 20px;
}

.page-fishing-games__accordion-content p {
  margin: 0;
  text-align: left;
  color: var(--page-fishing-games-dark-text);
}

/* Conclusion */
.page-fishing-games__conclusion {
  background-color: var(--page-fishing-games-background-dark);
  color: var(--page-fishing-games-light-text);
  padding: 80px 0;
}

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

.page-fishing-games__conclusion .page-fishing-games__section-title::after {
  background-color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__conclusion p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }

  .page-fishing-games__hero-subtitle {
    font-size: 1.2em;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__subsection-title {
    font-size: 1.5em;
  }

  .page-fishing-games__grid, .page-fishing-games__cta-grid, .page-fishing-games__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-item, .page-fishing-games__cta-item, .page-fishing-games__article-card {
    padding: 20px;
  }

  .page-fishing-games__btn {
    padding: 10px 25px;
    font-size: 1em;
  }

  .page-fishing-games__btn--inline {
    padding: 8px 18px;
    font-size: 0.95em;
  }

  .page-fishing-games__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-fishing-games__accordion-content {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero {
    padding: 60px 0;
  }

  .page-fishing-games__hero-title {
    font-size: 2em;
  }

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

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

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__btn {
    width: 100%;
    margin-bottom: 15px;
  }
}