.page-fishing-games {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Default body background */
}

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #26A9E0, #5ac8fa); /* Brand color gradient */
    color: #ffffff;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers area */
    display: block;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-fishing-games__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-small,
.page-fishing-games__btn-read-more {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Section Title */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for titles */
}

/* About Section */
.page-fishing-games__about-fishing-games .page-fishing-games__content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.7;
}

.page-fishing-games__about-fishing-games p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.page-fishing-games__about-fishing-games .page-fishing-games__content-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin: 30px 0;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

/* Why Choose Section (Dark Background) */
.page-fishing-games__dark-section {
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
}

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

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

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

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

.page-fishing-games__feature-icon {
    width: 100%; /* Make image fill card width */
    max-width: 250px; /* Max width for feature icons */
    height: auto;
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 5px; /* Ensure images are not small icons */
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-fishing-games__feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333333;
    padding: 0 15px;
}
.page-fishing-games__game-title a {
    color: #333333;
    text-decoration: none;
}
.page-fishing-games__game-title a:hover {
    color: #26A9E0;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__btn-play {
    background-color: #26A9E0;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 5px;
}

.page-fishing-games__btn-play:hover {
    background-color: #1e87c0;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.page-fishing-games__step-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333333;
}

.page-fishing-games__step-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 20px;
}

.page-fishing-games__btn-small {
    background-color: #EA7C07;
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
}

.page-fishing-games__btn-small:hover {
    background-color: #d16e06;
}


/* Promotions Section */
.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.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    padding: 0 20px;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-fishing-games__btn-read-more {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0;
    border: none;
    padding: 10px 25px;
    font-size: 0.95rem;
    border-radius: 5px;
    margin: 0 20px 20px;
}

.page-fishing-games__btn-read-more:hover {
    background-color: #e0e0e0;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #333333;
}
.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: #666666;
  line-height: 1.6;
}

/* CTA Section */
.page-fishing-games__cta-section {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__cta-section .page-fishing-games__description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555555;
    max-width: 700px;
    margin: 0 auto 40px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__section {
        padding: 50px 0;
    }
    .page-fishing-games__main-title {
        font-size: 3rem;
    }
    .page-fishing-games__subtitle {
        font-size: 1.1rem;
    }
    .page-fishing-games__section-title {
        font-size: 2.2rem;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-fishing-games__hero-image {
        object-fit: contain !important; /* HERO: mobile object-fit:contain */
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Buttons: vertical stack */
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-small,
    .page-fishing-games__btn-read-more {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .page-fishing-games__about-fishing-games .page-fishing-games__content-wrapper,
    .page-fishing-games__faq-list {
        padding: 0 15px;
        text-align: left;
    }

    .page-fishing-games__content-image,
    .page-fishing-games__feature-icon,
    .page-fishing-games__game-thumbnail,
    .page-fishing-games__promo-image,
    .page-fishing-games img {
        max-width: 100% !important; /* General images: max-width 100% */
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr; /* Product/Game Grid: single column */
        gap: 20px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    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__cta-section .page-fishing-games__description {
        font-size: 1rem;
        padding: 0 15px;
    }
}