/* style/fishing-games.css */

/* General styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background: #FFFFFF; /* Default body background */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    background: linear-gradient(135deg, #017439, #005f2c);
    color: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    overflow: hidden; /* Ensure no image overflow */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #FFFF00; /* Custom color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: #C30808; /* Custom color for register/login type buttons */
    color: #FFFF00; /* Custom font color for register/login type buttons */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background: #a30606;
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    background: #017439;
    color: #FFFFFF;
    border: 1px solid #017439;
}

.page-fishing-games__btn-small:hover {
    background: #005f2c;
}

/* About Section */
.page-fishing-games__about-section {
    padding: 60px 0;
}

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
}

.page-fishing-games__image-block {
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-fishing-games__dark-section {
    background: #017439;
    color: #FFFFFF;
    padding: 60px 0;
}

.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;
}

.page-fishing-games__feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure icon takes full width of its container */
    max-width: 250px; /* But limit its max width for larger screens */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
    object-fit: cover;
}

.page-fishing-games__feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFF00; /* Highlighted text */
}

.page-fishing-games__feature-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 60px 0;
}

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

.page-fishing-games__game-card {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-fishing-games__game-title {
    font-size: 22px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__game-description {
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
    padding: 0 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__view-all-cta {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

.page-fishing-games__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-fishing-games__promo-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-fishing-games__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFFF00;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__promo-description {
    font-size: 15px;
    color: #f0f0f0;
    margin-bottom: 20px;
    padding: 0 20px;
    flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
}

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

.page-fishing-games__guide-list li {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__guide-list p {
    font-size: 16px;
    color: #555555;
}

.page-fishing-games__guide-list a {
    color: #C30808; /* Link color for internal guide links */
    text-decoration: underline;
}

.page-fishing-games__guide-list a:hover {
    color: #a30606;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

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

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; /* Ensure contrast */
}
.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;
}
.page-fishing-games__faq-answer p {
    font-size: 15px;
    color: #555555;
}
.page-fishing-games__faq-answer a {
    color: #C30808;
    text-decoration: underline;
}
.page-fishing-games__faq-answer a:hover {
    color: #a30606;
}


/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }

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

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding, assuming body handles --header-offset */
    }

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

    .page-fishing-games__main-title {
        font-size: 36px;
    }

    .page-fishing-games__description {
        font-size: 16px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

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

    /* About Section */
    .page-fishing-games__about-section {
        padding: 40px 0;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column; /* Stack text and image */
        gap: 30px;
    }

    .page-fishing-games__text-block p {
        font-size: 16px;
    }

    .page-fishing-games__content-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Features Section */
    .page-fishing-games__dark-section {
        padding: 40px 0;
    }

    .page-fishing-games__features-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    .page-fishing-games__feature-card {
        padding: 25px;
    }

    .page-fishing-games__feature-icon {
        width: 100% !important;
        max-width: 200px !important; /* Smaller max-width for mobile icons */
        height: auto !important;
    }

    .page-fishing-games__feature-title {
        font-size: 20px;
    }

    .page-fishing-games__feature-description {
        font-size: 15px;
    }

    /* Popular Games Section */
    .page-fishing-games__popular-games-section {
        padding: 40px 0;
    }

    .page-fishing-games__game-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-bottom: 30px;
    }

    .page-fishing-games__game-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important; /* Adjust height for mobile */
    }

    .page-fishing-games__game-title {
        font-size: 20px;
    }

    .page-fishing-games__game-description {
        font-size: 14px;
    }

    .page-fishing-games__view-all-cta {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    /* Promotions Section */
    .page-fishing-games__promotions-section {
        padding: 40px 0;
    }

    .page-fishing-games__promo-list {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-bottom: 30px;
    }

    .page-fishing-games__promo-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important;
    }

    .page-fishing-games__promo-title {
        font-size: 20px;
    }

    .page-fishing-games__promo-description {
        font-size: 14px;
    }

    /* Guide Section */
    .page-fishing-games__guide-section {
        padding: 40px 0;
    }

    .page-fishing-games__guide-list li {
        padding: 20px;
    }

    .page-fishing-games__guide-step-title {
        font-size: 18px;
    }

    .page-fishing-games__guide-list p {
        font-size: 15px;
    }

    /* FAQ Section */
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 15px; }
    .page-fishing-games__faq-toggle { font-size: 20px; width: 24px; }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

    /* General image and container responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__image-block,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}