:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

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

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background-color);
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--background-color);
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-color);
  transform: translateY(-2px);
}

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

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card,
.page-fishing-games__guide-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover,
.page-fishing-games__guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promo-image,
.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for images in cards */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.page-fishing-games__btn-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

/* App Section */
.page-fishing-games__app-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-fishing-games__app-content {
  flex: 1;
}

.page-fishing-games__app-section .page-fishing-games__section-title {
  text-align: left;
}

.page-fishing-games__app-section .page-fishing-games__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--text-main);
}

.page-fishing-games__app-benefits li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__app-benefits li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--glow-color);
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: var(--primary-color);
}

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

.page-fishing-games__faq-question .page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
  line-height: 1;
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__text-block {
  font-size: 1.2rem;
  color: var(--text-main);
}

/* Images general responsive */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images fill their space nicely */
}

/* Media Queries */
@media (max-width: 992px) {
  .page-fishing-games__app-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__app-section .page-fishing-games__section-title,
  .page-fishing-games__app-section .page-fishing-games__text-block {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section,
  .page-fishing-games__dark-section {
    padding: 40px 15px;
  }

  .page-fishing-games__container {
    padding: 0 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 0 auto; /* Center buttons */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Force responsive for all images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* All image containers must be responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

  /* Ensure FAQ toggle is visible */
  .page-fishing-games__faq-question .page-fishing-games__faq-toggle {
    margin-left: 10px;
  }
}