/* style/fishing-games.css */

/* Variables for colors */
:root {
  --page-fishing-games-primary-color: #017439;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-register-login-bg: #C30808;
  --page-fishing-games-register-login-font: #FFFF00;
  --page-fishing-games-body-text-color: #ffffff; /* Based on body background #0a0a0a */
  --page-fishing-games-dark-card-bg: rgba(255, 255, 255, 0.1);
  --page-fishing-games-light-card-bg: #ffffff;
  --page-fishing-games-light-card-text: #333333;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-body-text-color);
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.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__dark-section {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page-fishing-games-secondary-color); /* Adjusted for dark body background */
  font-weight: bold;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-secondary-color);
}

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

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

.page-fishing-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken video for text readability */
}

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

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

.page-fishing-games__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-register-login-bg); /* Custom color #C30808 */
  color: var(--page-fishing-games-register-login-font); /* Custom color #FFFF00 */
  border: 2px solid var(--page-fishing-games-register-login-bg);
}

.page-fishing-games__btn-primary:hover {
  background-color: #a40707; /* Example darken */
  border-color: #a40707;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__feature-card {
  background-color: var(--page-fishing-games-dark-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-card-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* How to Play */
.page-fishing-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-dark-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  padding-left: 80px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--page-fishing-games-secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__step-number {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-fishing-games-register-login-bg); /* Custom color #C30808 */
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__how-to-play-cta {
  margin-top: 40px;
}

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

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-dark-card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-width: 350px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter for contrast on dark section */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: var(--page-fishing-games-secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__promo-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__promo-card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__security-item {
  background-color: var(--page-fishing-games-dark-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--page-fishing-games-secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__security-icon {
  width: 100px;
  height: 75px; /* Adjusted from 100x100 to larger for content, but still smaller than other images */
  object-fit: contain;
  margin-bottom: 15px;
}

.page-fishing-games__security-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__security-item-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__security-cta {
  margin-top: 40px;
}

/* Support */
.page-fishing-games__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__support-item {
  background-color: var(--page-fishing-games-dark-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--page-fishing-games-secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__support-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__support-item-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__support-cta {
  margin-top: 40px;
}

/* FAQ */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-dark-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-fishing-games-secondary-color);
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-fishing-games-register-login-font); /* Custom color #FFFF00 */
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* Final CTA */
.page-fishing-games__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    height: 70vh;
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__text-block {
    font-size: 1em;
  }

  /* Image responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Video responsive */
  .page-fishing-games video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Container responsive */
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__feature-card,
  .page-fishing-games__step-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item,
  .page-fishing-games__support-item,
  .page-fishing-games__faq-item,
  .page-fishing-games__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  /* Buttons responsive */
  .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__hero-cta-buttons,
  .page-fishing-games__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__step-item {
    padding-left: 20px;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 20px;
  }
  .page-fishing-games__step-number {
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
  .page-fishing-games__security-icon {
    width: 80px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px;
  }
}