/* style/fishing-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f8f8;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: #333333;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Should be consistent with shared.css body bg */
  padding-top: 120px; /* Adjust for fixed 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: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

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

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

.page-fishing-games__text-block {
  flex: 1;
  padding: 20px;
  background: var(--card-bg-dark);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 17px;
}

.page-fishing-games__text-block h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
}

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

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-fishing-games__image:hover {
  transform: translateY(-5px);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: normal;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.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: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:fishing_games_hero:uk 88,bắn cá,cá cược trực tuyến,nền,đại dương,săn cá]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games__features-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

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

.page-fishing-games__feature-card {
  background: var(--card-bg-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__feature-icon {
  width: 150px; /* Min size for images, no small icons */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

/* How-to-Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__step-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-dark);
  font-size: 32px;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__how-to-play-cta {
  text-align: center;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

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

.page-fishing-games__tips-list li {
  background: var(--card-bg-light);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 17px;
  color: var(--text-dark);
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__tips-list li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 20px;
}

/* Responsible Gaming Section */
.page-fishing-games__responsible-gaming-section {
  padding: 80px 0;
}

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

.page-fishing-games__responsible-gaming-item {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__responsible-gaming-item p {
  color: var(--text-light);
  font-size: 16px;
}

.page-fishing-games__responsible-gaming-cta {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-fishing-games__cta-section .page-fishing-games__description {
  color: var(--text-light);
}

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

/* Dark background text color override */
.page-fishing-games__dark-bg p,
.page-fishing-games__dark-bg li,
.page-fishing-games__dark-bg h3 {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 42px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__description {
    font-size: 17px;
  }
  .page-fishing-games__content-grid {
    flex-direction: column;
  }
  .page-fishing-games__content-grid--reverse {
    flex-direction: column-reverse;
  }
  .page-fishing-games__text-block {
    padding: 25px;
  }
  .page-fishing-games__feature-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section {
    padding: 80px 0;
  }
  .page-fishing-games__hero-title {
    font-size: 32px;
    line-height: 1.3;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__responsible-gaming-section,
  .page-fishing-games__cta-section {
    padding: 60px 0;
  }
  .page-fishing-games__content-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__responsible-gaming-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__text-block {
    padding: 20px;
  }
  .page-fishing-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
  }
  .page-fishing-games__tips-list li {
    font-size: 15px;
    padding-left: 35px;
  }
  .page-fishing-games__tips-list li::before {
    font-size: 18px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__description {
    font-size: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-fishing-games__feature-title {
    font-size: 20px;
  }
  .page-fishing-games__step-title,
  .page-fishing-games__responsible-gaming-item .page-fishing-games__item-title {
    font-size: 18px;
  }
}

/* Contrast Fixes */
.page-fishing-games__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__text-block {
  background: var(--card-bg-dark);
}

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

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__description {
  color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__step-card {
  background: var(--card-bg-dark);
  border: 1px solid var(--border-color);
}

.page-fishing-games__dark-bg .page-fishing-games__step-card p {
  color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__responsible-gaming-item {
  background: var(--card-bg-dark);
  border: 1px solid var(--border-color);
}

.page-fishing-games__dark-bg .page-fishing-games__responsible-gaming-item p {
  color: var(--text-light);
}