/* style/fishing-games.css */

:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--primary-color); /* Inherited from shared.css, assuming dark body */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjusted padding-top for fixed header */
    text-align: center;
    background: var(--primary-color);
    color: var(--text-light);
    background-image: url('[GALLERY:hero:18win11,fishing_game,main]');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

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

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

.page-fishing-games__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-fishing-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

/* Brand Section */
.page-fishing-games__brand-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__brand-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-fishing-games__brand-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__brand-item-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__brand-item p {
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-fishing-games__feature-card {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
}

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

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

/* Guide Section */
.page-fishing-games__guide-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-fishing-games__guide-step {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

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

/* Strategy Section */
.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-fishing-games__strategy-item {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
}

.page-fishing-games__strategy-item:hover {
    transform: translateY(-5px);
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  color: var(--text-dark); /* Ensure text is dark on light background for FAQ */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-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;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px !important;
  opacity: 1;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.page-fishing-games__blog-item {
    background: var(--bg-dark-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
}

.page-fishing-games__blog-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding-bottom: 20px;
}

.page-fishing-games__blog-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-fishing-games__blog-item-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin: 0 15px 10px;
    font-weight: bold;
}

.page-fishing-games__blog-item-excerpt {
    font-size: 0.95em;
    margin: 0 15px 15px;
    color: var(--text-light);
}

.page-fishing-games__blog-item-date {
    font-size: 0.85em;
    color: #cccccc;
    margin: 0 15px;
    display: block;
}

/* Image Wrapper */
.page-fishing-games__image-wrapper {
    text-align: center;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__main-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__brand-item,
    .page-fishing-games__feature-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__strategy-item,
    .page-fishing-games__blog-item {
        padding: 20px;
    }
    .page-fishing-games__brand-item-title,
    .page-fishing-games__feature-title,
    .page-fishing-games__guide-step-title,
    .page-fishing-games__strategy-item-title {
        font-size: 1.3em;
    }
    .page-fishing-games__blog-item-title {
        font-size: 1.1em;
    }
    .page-fishing-games__blog-item-image {
        height: 180px;
    }

    /* FAQ Mobile */
    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .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 are responsive */
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__brand-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__blog-section,
    .page-fishing-games__brand-item,
    .page-fishing-games__feature-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__strategy-item,
    .page-fishing-games__blog-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.95em;
    }
    .page-fishing-games__cta-button {
        padding: 10px 15px !important;
        font-size: 0.9em !important;
    }
}