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

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

.page-fishing-games__section {
  padding: 60px 20px;
  background-color: var(--body-bg-color);
}

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

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--deep-orange);
  border-radius: 2px;
}

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

.page-fishing-games__text-block strong {
  color: var(--secondary-color);
}

.page-fishing-games__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-3px);
}

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

/* 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(--body-bg-color);
  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;
  z-index: 1;
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-fishing-games__hero-description {
  font-size: 19px;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__feature-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Game List */
.page-fishing-games__game-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__game-item {
  text-align: center;
  padding: 30px 20px;
}

.page-fishing-games__game-name {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main-color);
}

/* How to Play Steps */
.page-fishing-games__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 auto 20px auto;
  border: 3px solid var(--glow-color);
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.6);
}

/* Promotions */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Security & Support */
.page-fishing-games__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__security-item {
  text-align: center;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: bold;
}

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(var(--primary-color), 0.1);
}

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

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: var(--card-bg-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.page-fishing-games__faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 34px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-image {
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 7vw, 40px);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 15px;
  }

  .page-fishing-games__feature-grid, 
  .page-fishing-games__game-list, 
  .page-fishing-games__step-grid, 
  .page-fishing-games__promo-grid, 
  .page-fishing-games__security-grid {
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

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

  .page-fishing-games__card-text {
    font-size: 15px;
  }

  .page-fishing-games__feature-card img, 
  .page-fishing-games__promo-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    margin-left: 15px;
  }

  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }

  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }

  .page-fishing-games__section-title {
    font-size: 24px;
  }

  .page-fishing-games__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
}