/* Base Styles for Fishing Games Page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    background: #FFFFFF;
    line-height: 1.6;
}

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    color: #26A9E0;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-fishing-games__description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f0f8ff; /* Light blue background for visual interest */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    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;
    display: block;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for design */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(0%);
    animation: slideInContent 1s ease-out forwards;
}

@keyframes slideInContent {
    from { opacity: 0; transform: translateY(20%); }
    to { opacity: 1; transform: translateY(0%); }
}

.page-fishing-games__main-title {
    font-size: 48px;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a7fb8;
    border-color: #1a7fb8;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a7fb8;
    border-color: #1a7fb8;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.1);
}

/* General Content Styles */
.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

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

.page-fishing-games__game-card {
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__card-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.page-fishing-games__game-card p {
    font-size: 16px;
    color: #555555;
    text-align: center;
}

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

.page-fishing-games__step-card {
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__step-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.page-fishing-games__step-card a {
    color: #EA7C07; /* Login color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-card a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-fishing-games__promotions {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-fishing-games__promotions .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__promotions .page-fishing-games__description {
    color: #f0f8ff;
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 900px;
}

.page-fishing-games__promo-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__promo-item p {
    font-size: 16px;
    color: #f0f8ff;
}

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

.page-fishing-games__feature-item {
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: 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;
}
.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;
  text-align: left;
}

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

.page-fishing-games__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

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

    .page-fishing-games__section-title {
        font-size: 32px;
    }

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

    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 15px;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__features-grid {
        gap: 20px;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__feature-item {
        padding: 20px;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__feature-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }

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

    .page-fishing-games__hero-section {
        padding-top: 10px; /* Ensure small top padding */
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }

    .page-fishing-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 15px;
        border-radius: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__feature-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
        margin: 20px auto;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__feature-title {
        font-size: 18px;
    }

    .page-fishing-games__game-card p,
    .page-fishing-games__step-card p,
    .page-fishing-games__promo-item p,
    .page-fishing-games__feature-item p {
        font-size: 15px;
    }

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

    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__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}