/* style/fishing-games.css */

/* Custom properties for colors */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --bg-color-body: #0D0E12;
  --bg-color-card: #17191F;
  --text-color-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
}

/* Base styles for the page-fishing-games scope */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  background-color: var(--bg-color-body);
  color: var(--text-color-main); /* Light text on dark body background */
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all images are responsive by default */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block; /* Removes extra space below images */
  object-fit: cover; /* Ensures images cover their area without distortion */
}

/* General section and container styling */
.page-fishing-games__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.page-fishing-games__text-block {
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-color-main);
}

.page-fishing-games a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, body handles main offset */
  overflow: hidden; /* Ensure content doesn't spill */
}

.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 flex item takes full width */
}

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

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  min-height: 300px; /* Minimum height for hero image */
  object-fit: cover;
  border-radius: 12px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px; /* Add some padding for text */
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive H1 */
  color: var(--text-color-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-color-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-color-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games__cta-button--secondary {
  background: var(--bg-color-card);
  border: 1px solid var(--border-color);
  color: var(--text-color-main);
}

.page-fishing-games__cta-button--secondary:hover {
  background: var(--border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* List styles */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-fishing-games__list li {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-main);
}

.page-fishing-games__list-icon {
  font-size: 24px;
  color: var(--secondary-color);
  flex-shrink: 0;
  line-height: 1;
}

/* Game Grid */
.page-fishing-games__game-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(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__card-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-fishing-games__card-description {
  font-size: 15px;
  color: var(--text-color-main);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--text-color-main);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 15px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: calc(100% - 30px); /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

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

.page-fishing-games__step-item {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.page-fishing-games__step-item img {
  width: 100%;
  
  object-fit: contain; /* Use contain for illustrative images */
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for images */
  padding: 15px;
}

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

.page-fishing-games__step-description {
  font-size: 15px;
  color: var(--text-color-main);
}

/* Promotions Section */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-fishing-games__promotion-list li {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-main);
  font-size: 15px;
}

.page-fishing-games__note-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 30px;
}

/* Safety & Support Section */
.page-fishing-games__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-item {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.page-fishing-games__feature-item img {
  width: 100%;
  
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-description {
  font-size: 15px;
  color: var(--text-color-main);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-color-card);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--secondary-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(--text-color-main); /* Ensure text color is light */
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.1); /* Slightly different background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-color-main);
  font-size: 15px;
}
.page-fishing-games__faq-answer p {
  margin: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    margin-bottom: 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-fishing-games__description {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .page-fishing-games__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-fishing-games__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 15px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-image {
    border-radius: 8px;
  }
  .page-fishing-games__hero-image img {
    min-height: 250px;
    border-radius: 8px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .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: 0 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }
  .page-fishing-games__section-title::after {
    margin-top: 10px;
  }
  .page-fishing-games__sub-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  /* Images responsive for mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__game-card img {
     /* Adjust height for mobile */
  }
  .page-fishing-games__step-item img,
  .page-fishing-games__feature-item img {
    
  }

  /* List and grid items */
  .page-fishing-games__list,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promotion-list,
  .page-fishing-games__safety-features {
    grid-template-columns: 1fr; /* Single column layout for mobile */
    gap: 20px;
  }
  .page-fishing-games__list li,
  .page-fishing-games__promotion-list li {
    padding: 15px;
  }
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__feature-item {
    padding: 20px;
  }
  .page-fishing-games__card-button {
    margin: 0 auto 20px; /* Center button and add bottom margin */
  }

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 16px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image img {
    min-height: 200px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(20px, 8vw, 30px);
  }
  .page-fishing-games__description {
    font-size: clamp(13px, 4vw, 15px);
  }
  .page-fishing-games__section-title {
    font-size: clamp(20px, 7vw, 28px);
  }
  .page-fishing-games__sub-title {
    font-size: clamp(16px, 6vw, 22px);
  }
}