/* style/fishing-games.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-btn-color: #C30808;
  --login-btn-color: #C30808;
  --register-login-font-color: #FFFF00;
  --text-on-dark-bg: #ffffff;
  --text-on-light-bg: #333333;
  --bg-dark-body: #0a0a0a;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark-bg); /* Default text color for dark body background */
  background-color: var(--bg-dark-body); /* Ensure consistency with body background */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--secondary-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(--primary-color);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-on-dark-bg);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  color: var(--secondary-color);
  max-width: 900px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-fishing-games__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: var(--register-btn-color);
  color: var(--register-login-font-color);
  border-color: var(--register-btn-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

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

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section,
.page-fishing-games__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for contrast */
}

.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-block {
  color: var(--text-on-dark-bg);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title::after {
  background-color: var(--secondary-color);
}

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

.page-fishing-games__feature-item {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-on-dark-bg);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-10px);
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #ccc;
}

/* Game Types Grid */
.page-fishing-games__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__game-type-card {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-on-dark-bg);
}

.page-fishing-games__game-type-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-type-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-type-description {
  font-size: 1em;
  color: #ccc;
}

/* Guide List */
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  text-align: left;
}

.page-fishing-games__guide-item {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__guide-step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  color: #ccc;
}

.page-fishing-games__guide-item a {
  color: var(--register-login-font-color);
  text-decoration: none;
}

.page-fishing-games__guide-item a:hover {
  text-decoration: underline;
}

/* Strategy List */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  text-align: left;
}

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__strategy-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__strategy-item p {
  color: #ccc;
}

/* Promotions List */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__promotion-list li {
  background-color: rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  color: var(--text-on-dark-bg);
  font-size: 1.1em;
}

.page-fishing-games__promotion-list li a {
  color: var(--register-login-font-color);
  text-decoration: none;
}

.page-fishing-games__promotion-list li a:hover {
  text-decoration: underline;
}

/* Video Section */
.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-fishing-games__video-description {
  margin-top: 20px;
  font-style: italic;
  color: #ccc;
}

/* Why Choose Section */
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__why-choose-item {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-on-dark-bg);
}