/* style/fishing-games.css */

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

.page-fishing-games {
  color: var(--text-main);
  background-color: var(--bg-dark);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-fishing-games__section {
  padding: 60px 20px;
  position: relative;
}

.page-fishing-games__dark-bg {
  background-color: var(--bg-dark);
  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(28px, 4vw, 42px);
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  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;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  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;
  width: 100%;
}

.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 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__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-fishing-games__hero-content p {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  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%;
  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);
}

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

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block {
  flex: 1;
  font-size: 17px;
  color: var(--text-main);
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games__image-block {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image-block--center {
  text-align: center;
  margin-top: 40px;
}

.page-fishing-games__image-block--center img {
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__card {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 10px var(--glow-color);
}

.page-fishing-games__card-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

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

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

.page-fishing-games__step-item {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--button-gradient);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 20px;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  color: var(--text-secondary);
}

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

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

.page-fishing-games__promo-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-title {
  font-size: 20px;
  color: var(--glow-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__promo-item p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Features Section */
.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-title {
  font-size: 20px;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: var(--text-secondary);
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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(--text-main);
  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: var(--deep-green);
}

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

.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: var(--bg-dark);
  border-radius: 0 0 12px 12px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Global image reset to ensure responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__image-block {
    margin-top: 30px;
  }
  .page-fishing-games__image-block--center {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
  .page-fishing-games__hero-content p {
    font-size: clamp(16px, 3vw, 20px);
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-fishing-games__section-description {
    font-size: 16px;
  }
  .page-fishing-games__content-wrapper {
    gap: 20px;
  }
  .page-fishing-games__text-block {
    font-size: 16px;
  }
  .page-fishing-games__game-cards,
  .page-fishing-games__steps,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-item,
  .page-fishing-games__feature-item {
    padding: 20px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__feature-title {
    font-size: 20px;
  }
  .page-fishing-games__card p,
  .page-fishing-games__step-item p,
  .page-fishing-games__promo-item p,
  .page-fishing-games__feature-item p {
    font-size: 15px;
  }
  .page-fishing-games__btn-secondary {
    padding: 10px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__steps,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-grid,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-wrapper .page-fishing-games__cta-button {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}