/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --login-button-color: #EA7C07;
  --background-color-page: #FFFFFF; /* Assuming a light body background from shared.css */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body has header offset */
  min-height: 500px;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-color-light);
}

.page-fishing-games__hero-section h1 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-color-light);
  max-width: 900px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-fishing-games__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

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

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1a8cc4; /* Darker version of primary */
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #c46405; /* Darker version of login color */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-fishing-games__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-fishing-games__section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-fishing-games__section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-fishing-games__section ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}

.page-fishing-games__section ul li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: 700;
}

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

/* Game Types Section - Cards */
.page-fishing-games__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-card-content {
  padding: 25px;
}

.page-fishing-games__game-card-content h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-content p {
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: var(--text-color-dark);
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  line-height: 1.8;
  color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 350px;
  }

  .page-fishing-games__hero-section h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__section,
  .page-fishing-games__faq-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__section h3 {
    font-size: 1.5em;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure containers for images/videos/buttons are responsive */
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__game-types-grid,
  .page-fishing-games__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

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

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