/* style/fishing-games.css */
:root {
  --primary-color: #0A2A5C;
  --secondary-color: #FFD700;
  --accent-color: #E53935;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color-dark: rgba(255, 255, 255, 0.2);
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-fishing-games__section-title,
.page-fishing-games__main-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-description,
.page-fishing-games__hero-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(rgba(10, 42, 92, 0.8), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:ax88 vip,banca,main_bg]') no-repeat center center/cover;
  padding: 80px 0;
  text-align: center;
  border-bottom: 2px solid var(--secondary-color);
}

.page-fishing-games__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 50px;
  color: #f0f0f0;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
  background: var(--accent-color);
  color: var(--text-light);
}

.page-fishing-games__cta-button--primary:hover {
  background: #c02c2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__cta-button--secondary:hover {
  background: #071f43;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

/* Video Section */
.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop padding-top for fixed nav */
  background-color: var(--background-dark);
}

.page-fishing-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-fishing-games__video-link:hover .page-fishing-games__video-overlay {
  opacity: 1;
}

.page-fishing-games__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  background: rgba(var(--accent-color-rgb, 229, 57, 53), 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-fishing-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-fishing-games__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__play-now-button:hover {
  background: #c02c2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-fishing-games__advantages-section,
.page-fishing-games__games-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section,
.page-fishing-games__contact-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color-dark);
}

.page-fishing-games__advantages-section {
  background-color: var(--background-dark);
}

.page-fishing-games__games-section {
  background-color: var(--primary-color);
}

.page-fishing-games__guide-section {
  background-color: var(--background-dark);
}

.page-fishing-games__promotions-section {
  background-color: var(--primary-color);
}

.page-fishing-games__tips-section {
  background-color: var(--background-dark);
}

.page-fishing-games__faq-section {
  background-color: var(--primary-color);
}

.page-fishing-games__contact-section {
  background-color: var(--background-dark);
  border-bottom: none;
}

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

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

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

.page-fishing-games__advantage-item {
  text-align: center;
}

.page-fishing-games__advantage-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-fishing-games__advantage-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
}

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

.page-fishing-games__game-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__game-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
  margin-bottom: 15px;
}

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

.page-fishing-games__read-more:hover {
  color: #fff;
}

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

.page-fishing-games__guide-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__guide-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__guide-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__guide-text a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__guide-text a:hover {
  color: #fff;
}

/* Promotions Grid */
.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-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

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

.page-fishing-games__promo-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__promo-button:hover {
  background: #c02c2c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__tip-item {
  display: flex;
  flex-direction: column;
}

.page-fishing-games__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__tip-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--accent-color);
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
}

.page-fishing-games__faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__faq-answer a:hover {
  color: var(--accent-color);
}

/* Contact Section */
.page-fishing-games__contact-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__contact-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 40px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    font-size: 17px;
  }
  .page-fishing-games__cta-button {
    padding: 14px 35px;
    font-size: 17px;
  }
  .page-fishing-games__advantage-icon {
    width: 100px;
  }
  .page-fishing-games__advantage-title,
  .page-fishing-games__game-title,
  .page-fishing-games__guide-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__tip-title {
    font-size: 20px;
  }
  .page-fishing-games__advantage-text,
  .page-fishing-games__game-excerpt,
  .page-fishing-games__guide-text,
  .page-fishing-games__promo-text,
  .page-fishing-games__tip-text,
  .page-fishing-games__faq-question h3,
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
  .page-fishing-games__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile padding-top for fixed nav */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-section {
    padding: 40px 0;
  }

  .page-fishing-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__cta-button,
  .page-fishing-games__play-now-button,
  .page-fishing-games__promo-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Video Section Mobile */
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Mobile specific padding-top */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-fishing-games__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-fishing-games__video-cta {
    margin-top: 20px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-fishing-games__advantage-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid,
  .page-fishing-games__tip-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__advantage-icon {
    width: 80px;
    margin-bottom: 15px;
  }

  .page-fishing-games__game-image {
    height: 160px;
  }

  .page-fishing-games__promo-image {
    height: 150px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images and containers are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__card {
    padding: 25px;
  }
}