/* style/fishing-games.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Light text for dark body background */
  background-color: var(--background-color); /* Body background handled by shared.css, this is for main content area if needed */
}

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

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

.page-fishing-games__section-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 40px;
  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, body handles header offset */
  background-color: var(--background-color);
}

.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 it takes full width within 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;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__hero-content h1 {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for responsive font-size */
  color: var(--glow-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
  line-height: 1.3;
}

.page-fishing-games__hero-content p {
  font-size: 1.2em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  background-color: var(--card-bg);
}

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

.page-fishing-games__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-fishing-games__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--glow-color)); /* Glow effect for icons */
}

.page-fishing-games__feature-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-item p {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  background-color: var(--background-color);
}

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

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: var(--primary-color);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-fishing-games__step-item h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__step-item p {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

.page-fishing-games__step-item a {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__step-item a:hover {
  text-decoration: underline;
}

.page-fishing-games__tips-box {
  background: rgba(255, 140, 26, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  margin-top: 60px;
  text-align: left;
}

.page-fishing-games__tips-box h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-fishing-games__tips-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__tips-box li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

.page-fishing-games__tips-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow-color);
  font-weight: bold;
  font-size: 1.2em;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  background-color: var(--card-bg);
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for cards */
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-content h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-content p {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 140, 26, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-fishing-games__card-button:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.5);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  background-color: var(--background-color);
}

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

.page-fishing-games__benefit-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-fishing-games__benefit-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--glow-color));
}

.page-fishing-games__benefit-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__benefit-item p {
  font-size: 1em;
  color: var(--text-main-color);
  line-height: 1.6;
}

.page-fishing-games__cta-bottom {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.5);
}

.page-fishing-games__cta-bottom p {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 500;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: var(--card-bg);
}

.page-fishing-games__faq-list {
  margin-top: 50px;
  text-align: left;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

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;
}

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.1);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main-color);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-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(255, 255, 255, 0.02);
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
  line-height: 1.6;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-fishing-games__hero-content p {
    font-size: 1em;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__features-grid, .page-fishing-games__steps-grid, .page-fishing-games__game-cards-grid, .page-fishing-games__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item, .page-fishing-games__step-item, .page-fishing-games__game-card, .page-fishing-games__benefit-item {
    padding: 20px;
  }
  .page-fishing-games__game-card img {
    
  }
  .page-fishing-games__card-content {
    padding: 20px;
  }
  .page-fishing-games__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__tips-box {
    padding: 20px;
  }
  .page-fishing-games__tips-box h3 {
    font-size: 1.5em;
  }
  .page-fishing-games__tips-box li {
    font-size: 0.95em;
  }
  .page-fishing-games__cta-bottom {
    padding: 30px;
  }
  .page-fishing-games__cta-bottom p {
    font-size: 1.2em;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  /* All images must be responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__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__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-fishing-games__hero-content p {
    font-size: 0.95em;
  }
  .page-fishing-games__cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
  }
  .page-fishing-games__feature-item h3, .page-fishing-games__step-item h3, .page-fishing-games__benefit-item h3 {
    font-size: 1.3em;
  }
  .page-fishing-games__game-card img {
    
  }
  .page-fishing-games__card-content h3 {
    font-size: 1.4em;
  }
  .page-fishing-games__card-button {
    font-size: 0.9em;
    padding: 8px 20px;
  }
  .page-fishing-games__cta-bottom p {
    font-size: 1em;
  }
}