/* style/fishing-games.css */

/* General Styles for page-fishing-games */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-fishing-games__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content-wrapper {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-fishing-games__description {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure buttons adapt to mobile */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Game Halls Section */
.page-fishing-games__game-halls-section {
  background-color: var(--background-color);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__game-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-fishing-games__game-card-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__game-card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-fishing-games__btn-tertiary {
  background: var(--deep-green);
  color: var(--text-main);
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 16px;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: var(--main-color);
}

/* 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(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-fishing-games__step-card-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__step-card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

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

/* Strategy Section */
.page-fishing-games__strategy-section {
  background-color: var(--background-color);
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-fishing-games__strategy-list li {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--gold);
}

.page-fishing-games__strategy-item-title {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__strategy-list p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: var(--deep-green);
  color: #ffffff;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__promotion-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promotion-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-fishing-games__promotion-card-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__promotion-card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-fishing-games__promotions-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 40px;
}

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

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--divider);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--card-bg);
  position: relative;
  list-style: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow);
}

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

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  background-color: var(--background-color);
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-fishing-games__section {
    padding: 50px 0;
  }
  .page-fishing-games__game-halls-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promotion-cards-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: 36px;
  }
  .page-fishing-games__description {
    font-size: 18px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__game-halls-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promotion-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__promotion-card {
    padding: 25px;
  }
  .page-fishing-games__game-card-image,
  .page-fishing-games__step-card-image,
  .page-fishing-games__promotion-card-image {
    max-width: 100%;
    width: 100%;
  }
  .page-fishing-games__strategy-list {
    margin-top: 30px;
  }
  .page-fishing-games__strategy-list li {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }

  /* Mobile image and video responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-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__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__main-title {
    font-size: 30px;
  }
  .page-fishing-games__description {
    font-size: 16px;
  }
  .page-fishing-games__game-card-title,
  .page-fishing-games__step-card-title,
  .page-fishing-games__promotion-card-title {
    font-size: 20px;
  }
}

/* Custom Colors */
:root {
  --main-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: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure contrast for dark background */
.page-fishing-games,
.page-fishing-games__hero-content-wrapper,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__promotion-card,
.page-fishing-games__strategy-list li,
.page-fishing-games__faq-item {
  color: var(--text-main);
}

.page-fishing-games__section-description,
.page-fishing-games__description,
.page-fishing-games__game-card-text,
.page-fishing-games__step-card-text,
.page-fishing-games__strategy-list p,
.page-fishing-games__promotion-card-text,
.page-fishing-games__promotions-note,
.page-fishing-games__faq-answer {
  color: var(--text-secondary);
}

.page-fishing-games__faq-question {
  color: var(--text-main);
}

.page-fishing-games__faq-toggle {
  color: var(--glow);
}

.page-fishing-games__btn-secondary {
  color: var(--text-main);
  border-color: var(--border-color);
}

.page-fishing-games__btn-tertiary {
  background: var(--deep-green);
  color: var(--text-main);
}
.page-fishing-games__btn-tertiary:hover {
  background-color: var(--main-color);
}