/* style/fishing-games.css */
:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --card-bg: #2A1212;
  --background-color: #140C0C;
  --text-main: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red: #7E0D0D;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

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

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

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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* 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, body handles header offset */
  background-color: var(--deep-red);
  overflow: hidden;
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__hero-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content p {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
}

/* General Card Styles */
.page-fishing-games__card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__card-title {
  font-size: 22px;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__card p {
  font-size: 16px;
  color: var(--text-main);
  flex-grow: 1;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

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

/* Guide Section */
.page-fishing-games__guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__guide-step {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__guide-step p {
  font-size: 16px;
  color: var(--text-main);
  flex-grow: 1;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__tip-card .page-fishing-games__card-title {
  font-size: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-fishing-games__promotion-card .page-fishing-games__card-image {
  height: 220px;
}

/* Security & Support Section */
.page-fishing-games__security-support-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--gold-color);
  font-weight: 600;
  font-size: 18px;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-main);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
  font-size: 16px;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__guide-steps,
  .page-fishing-games__tips-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(28px, 4.5vw, 42px);
  }
  .page-fishing-games__hero-content p {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-fishing-games__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 30px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(24px, 7vw, 38px);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-content p {
    font-size: clamp(15px, 3.5vw, 18px);
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 30px);
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 15px;
  }
  .page-fishing-games__card {
    padding: 20px;
    border-radius: 8px;
  }
  .page-fishing-games__card-image {
    height: 180px;
    border-radius: 6px;
  }
  .page-fishing-games__card-title {
    font-size: 20px;
  }
  .page-fishing-games__card p {
    font-size: 15px;
  }
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-primary {
    padding: 10px 20px;
    font-size: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__cta-container a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__guide-step {
    padding: 20px;
  }
  .page-fishing-games__guide-image {
    height: 160px;
  }
  .page-fishing-games__step-title {
    font-size: 20px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  /* All images must be responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content h1 {
    font-size: clamp(22px, 8vw, 34px);
  }
  .page-fishing-games__hero-content p {
    font-size: clamp(14px, 4vw, 16px);
  }
  .page-fishing-games__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(22px, 7vw, 28px);
  }
  .page-fishing-games__card-image {
    height: 160px;
  }
  .page-fishing-games__guide-image {
    height: 140px;
  }
}