/* style/fishing-games.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main-color: #333333;
    --border-color: #E0E0E0;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background: var(--background-color);
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Aligns with common header offset rule */
    background-color: #000;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

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

.page-fishing-games__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    position: relative; /* Ensure content is above image but not overlapping */
    z-index: 1;
}

.page-fishing-games__hero-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-fishing-games__section-title--white {
    color: #ffffff;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-fishing-games__text-block--white {
    color: #f0f0f0;
}

.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section {
    background: var(--background-color);
    color: var(--text-main-color);
}

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

.page-fishing-games__feature-list,
.page-fishing-games__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__feature-item,
.page-fishing-games__promo-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__promo-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__feature-title,
.page-fishing-games__promo-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

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

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__guide-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-item h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

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

.page-fishing-games__guide-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }

    .page-fishing-games__hero-content {
        padding: 20px 15px;
    }

    .page-fishing-games__hero-title {
        font-size: 2em;
        line-height: 1.3;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center;
    }

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

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95em;
        text-align: left;
    }

    .page-fishing-games__image-content {
        margin-top: 20px;
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__feature-list,
    .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__promo-item,
    .page-fishing-games__guide-item {
        padding: 20px;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title {
        font-size: 1.2em;
    }

    .page-fishing-games__guide-item h3 {
        font-size: 1.1em;
    }

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

    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 15px; }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.7em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95em;
    }
}