/* style/fishing-games.css */

/* Variables (if any, typically in shared.css) */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --background-light: #FFFFFF;
  --background-dark-brand: #26A9E0;
  --button-login: #EA7C07;
  --color-black: #000000;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background: var(--background-light); /* Default body background is white */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow-x: hidden; /* Prevent horizontal scroll for the main content area */
}

/* 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;
  background: linear-gradient(135deg, var(--primary-color) 0%, #aed6f1 100%); /* Lighter gradient for hero */
  color: var(--text-light);
}

.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%; /* Ensure container takes full width up to max-width */
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure the group takes full width to control wrapping */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px; /* Ensure buttons have a decent minimum width */
  text-align: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-fishing-games__btn-primary {
  background: var(--button-login); /* Using #EA7C07 for primary action */
  color: var(--text-light);
  border: 2px solid var(--button-login);
}

.page-fishing-games__btn-primary:hover {
  background: #d46f06; /* Manual darken */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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


/* General Section Styling */
.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-fishing-games__section-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section background */
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add internal padding to containers */
  box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Image Wrapper */
.page-fishing-games__image-wrapper {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.page-fishing-games__image-wrapper--center {
  display: flex;
  justify-content: center;
}

.page-fishing-games__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__card {
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__card img {
  width: 100%;
  height: 200px; /* Fixed height for card images, object-fit will ensure aspect ratio */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure card images are responsive */
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-fishing-games__card--promo .page-fishing-games__btn-primary {
  align-self: flex-start; /* Align button to the left within the card */
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Push button to the bottom */
}


/* List Styling (Rules and Guide) */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__list-item {
  background: var(--secondary-color);
  padding: 25px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.page-fishing-games__list-item:hover {
  transform: translateY(-3px);
}

.page-fishing-games__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

/* Features Grid */
.page-fishing-games__feature-item {
  background: var(--background-light);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-fishing-games__feature-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  margin-bottom: 0;
}


/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

/* FAQ容器样式 */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}