:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-color: #0A0A0A;
  --card-bg-color: #111111;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

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

.page-fishing-games__section-title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  line-height: 1.2;
}

.page-fishing-games p {
  margin-bottom: 1em;
  font-size: 17px;
}

/* 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, header offset handled by body */
  background-color: var(--background-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;
  width: 100%; /* Ensure width is 100% for flex child */
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.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(242, 193, 78, 0.5);
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__main-title {
  font-size: 52px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 0 15px var(--glow-color);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--button-gradient);
  color: #FFF6D6; /* Ensure light text on dark button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  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.6);
  opacity: 0.9;
}

.page-fishing-games__cta-button--small {
  padding: 12px 30px;
  font-size: 18px;
  margin-top: 30px;
}

/* Card Styles */
.page-fishing-games__card {
  background: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color); /* Ensure light text on dark card */
}

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

.page-fishing-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-fishing-games__card-title a:hover {
  color: var(--secondary-color);
}

.page-fishing-games__card p {
  font-size: 16px;
  color: var(--text-main-color);
  flex-grow: 1;
}

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

.page-fishing-games__advantage-item {
  padding: 30px;
}

/* Steps List */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.page-fishing-games__steps-list li {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 30px;
  position: relative;
  padding-left: 80px;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--text-main-color);
}

.page-fishing-games__steps-list li::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1;
}

.page-fishing-games__step-title {
  font-size: 26px;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__step-title + p {
  margin-top: 0;
}

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

.page-fishing-games__promo-list li {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
}

.page-fishing-games__promo-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Security Section */
.page-fishing-games__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-fishing-games__security-text {
  flex: 1;
}

.page-fishing-games__security-image {
  flex: 1;
  text-align: center;
}

.page-fishing-games__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* 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);
  color: var(--text-main-color);
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: rgba(17, 17, 17, 0.9);
  border-radius: 0 0 10px 10px;
  font-size: 16px;
}

/* Blog Grid */
.page-fishing-games__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__blog-item {
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.page-fishing-games__blog-item img {
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__blog-item .page-fishing-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__blog-meta {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.page-fishing-games__read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__read-more:hover {
  color: var(--primary-color);
}

.page-fishing-games__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 44px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__security-content {
    flex-direction: column;
  }
  .page-fishing-games__security-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .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__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    margin-top: 15px;
    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-button--small {
    padding: 10px 25px;
    font-size: 16px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 20px 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 p {
    font-size: 16px;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-title {
    font-size: 20px;
  }
  .page-fishing-games__card p {
    font-size: 15px;
  }
  .page-fishing-games__steps-list li {
    padding: 20px 20px 20px 60px;
  }
  .page-fishing-games__steps-list li::before {
    left: 20px;
    top: 20px;
    font-size: 28px;
  }
  .page-fishing-games__step-title {
    font-size: 22px;
  }
  .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;
  }
  .page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
  }

  /* Mobile image and container rules */
  .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,
  .page-fishing-games__hero-container,
  .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 {
    display: flex;
    justify-content: center;
  }
  .page-fishing-games__advantage-grid,
  .page-fishing-games__promo-list,
  .page-fishing-games__blog-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-fishing-games__step-title {
    font-size: 20px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
  }
  .page-fishing-games__promo-title {
    font-size: 20px;
  }
}