/* style/fishing-games.css */

:root {
  --primary-color: #0047AB;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-border-dark: rgba(255, 255, 255, 0.15);
  --section-padding-desktop: 80px 0;
  --section-padding-mobile: 40px 0;
  --container-max-width: 1200px;
}

/* Base styles for the page */
.page-fishing-games {
  color: var(--text-color-light); /* Default text color for dark body background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  background-color: var(--background-dark);
}

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

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

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

.page-fishing-games__text-intro,
.page-fishing-games__text-outro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__dark-section {
  background-color: var(--background-dark);
  color: var(--text-color-light);
  padding: var(--section-padding-desktop);
}

.page-fishing-games__light-bg {
  background-color: #f8f8f8;
  color: var(--text-color-dark);
  padding: var(--section-padding-desktop);
}

.page-fishing-games__card {
  background: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.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;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

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

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

.page-fishing-games__highlight-keyword {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding: 120px 20px 80px; /* Desktop padding-top for fixed header */
  text-align: center;
  background-image: url('[GALLERY:hero:okvip,new88,fishing_games,banner]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

/* About Section */
.page-fishing-games__about-section {
  padding: var(--section-padding-desktop);
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.page-fishing-games__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__text-content {
  flex: 2;
  font-size: 17px;
  color: #e0e0e0;
}

.page-fishing-games__text-content p {
  margin-bottom: 15px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: var(--section-padding-desktop);
}

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

.page-fishing-games__feature-card {
  background: #ffffff;
  color: var(--text-color-dark);
  border: 1px solid #e0e0e0;
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  color: var(--primary-color);
}

/* Gameplay Guide Section */
.page-fishing-games__gameplay-guide {
  padding: var(--section-padding-desktop);
}

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

.page-fishing-games__guide-item {
  background: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Mobile App Section */
.page-fishing-games__mobile-app-section {
  padding: var(--section-padding-desktop);
}

.page-fishing-games__cta-buttons--mobile {
  justify-content: flex-start;
  margin-top: 25px;
}

/* Other Games Section */
.page-fishing-games__other-games-section {
  padding: var(--section-padding-desktop);
}

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

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

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  color: var(--primary-color);
}

.page-fishing-games__game-card p {
  color: #e0e0e0;
  font-size: 15px;
}

/* Responsible Gaming Section */
.page-fishing-games__responsible-gaming {
  padding: var(--section-padding-desktop);
}

.page-fishing-games__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
  color: var(--text-color-dark);
  font-size: 17px;
}

.page-fishing-games__responsibility-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-fishing-games__icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  font-weight: bold;
  font-size: 16px;
}

/* Placeholder icons for responsible gaming */
.page-fishing-games__icon--limit::before { content: '💸'; }
.page-fishing-games__icon--time::before { content: '⏰'; }
.page-fishing-games__icon--age::before { content: '🔞'; }
.page-fishing-games__icon--support::before { content: '🤝'; }

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: var(--section-padding-desktop);
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 40px;
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__text-intro,
  .page-fishing-games__text-outro,
  .page-fishing-games__text-content {
    font-size: 16px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 100px !important; /* Mobile padding-top for fixed header */
    padding-bottom: 60px;
  }
  .page-fishing-games__dark-section,
  .page-fishing-games__light-bg,
  .page-fishing-games__cta-final-section {
    padding: var(--section-padding-mobile) 15px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: 32px;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__text-intro,
  .page-fishing-games__text-outro,
  .page-fishing-games__text-content p,
  .page-fishing-games__guide-item p,
  .page-fishing-games__responsibility-list li,
  .page-fishing-games__game-card p {
    font-size: 15px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-fishing-games__image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-fishing-games__grid-layout,
  .page-fishing-games__guide-grid,
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__card-image {
    height: 150px; /* Adjust height for mobile cards */
  }
  .page-fishing-games__responsibility-list {
    margin: 30px auto;
  }
  .page-fishing-games__responsibility-list li {
    font-size: 14px;
    padding: 12px 15px;
  }
  .page-fishing-games__icon {
    width: 20px;
    height: 20px;
    font-size: 14px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 22px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__text-intro,
  .page-fishing-games__text-outro {
    font-size: 14px;
  }
  .page-fishing-games__guide-title {
    font-size: 20px;
  }
}