/* style/fishing-games.css */

/* Base styles for the page-fishing-games scope */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color, #FFF6D6); /* Use custom text color, fallback to light */
    background-color: var(--background-color-page, #0A0A0A); /* Use custom background color */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure some space before footer */
}

.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: var(--text-main-color, #FFF6D6);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    position: relative;
    letter-spacing: 1px;
}

.page-fishing-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color, #F2C14E);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 18px;
    color: var(--text-main-color, #FFF6D6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    background-color: #0A0A0A; /* Ensure dark background for hero */
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Darken image for better text readability */
    filter: brightness(0.7); /* Further darken if needed for contrast */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 0; /* Adjusted padding to ensure text is below image, not on top */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero content */
}

.page-fishing-games__main-title {
    font-size: 58px;
    font-weight: 800;
    color: #FFF6D6; /* Ensure high contrast */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__description {
    font-size: 22px;
    color: #FFF6D6; /* Ensure high contrast */
    margin-bottom: 40px;
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #1a1a1a; /* Dark text for light button */
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color, #F2C14E);
    color: var(--primary-color, #F2C14E);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color, #F2C14E);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #1a1a1a;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.5);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: var(--background-color-page, #0A0A0A);
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__feature-item {
    background: var(--card-bg-color, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color, #3A2A12);
}

.page-fishing-games__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color, #F2C14E);
    margin-bottom: 15px;
}

.page-fishing-games__feature-text {
    font-size: 16px;
    color: var(--text-main-color, #FFF6D6);
}

/* Game Showcase Section */
.page-fishing-games__game-showcase {
    padding: 80px 0;
    background-color: var(--background-color-page, #0A0A0A);
}

.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__game-card {
    background: var(--card-bg-color, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__game-iframe {
    width: 100%;
    height: 250px;
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #000; /* Fallback for iframe background */
}

.page-fishing-games__game-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color, #F2C14E);
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 15px;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    padding: 80px 0;
    background-color: var(--background-color-page, #0A0A0A);
}

.page-fishing-games__reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__reason-item {
    background: var(--card-bg-color, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__reason-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__reason-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color, #3A2A12);
}

.page-fishing-games__reason-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color, #F2C14E);
    margin-bottom: 15px;
}

.page-fishing-games__reason-text {
    font-size: 16px;
    color: var(--text-main-color, #FFF6D6);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--background-color-page, #0A0A0A);
}

.page-fishing-games__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Slightly larger radius */
  border: 1px solid var(--border-color, #3A2A12);
  overflow: hidden;
  background: var(--card-bg-color, #111111); /* Dark card background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color, #FFF6D6); /* Light text for question */
  font-weight: 600;
}
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: rgba(255, 255, 255, 0.05); /* Slight hover effect */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color, #F2C14E); /* Brand color for question text */
}
.page-fishing-games__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: var(--secondary-color, #FFD36B); /* Auxiliary color for toggle */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color, #FFF6D6); /* Light text for answer */
  font-size: 16px;
}

/* CTA Banner */
.page-fishing-games__cta-banner {
    background: var(--primary-color, #F2C14E); /* Use primary brand color */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    max-width: 1000px; /* Constrain banner width */
    margin: 80px auto; /* Center the banner */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a; /* Dark text for light background */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__cta-description {
    font-size: 20px;
    color: #333333; /* Dark text for light background */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsiveness */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* General image responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 48px;
    }
    .page-fishing-games__description {
        font-size: 20px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__text-block {
        font-size: 17px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__reason-image {
        height: 180px;
    }
    .page-fishing-games__game-iframe {
        height: 220px;
    }
    .page-fishing-games__cta-title {
        font-size: 36px;
    }
    .page-fishing-games__cta-description {
        font-size: 18px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 16px 20px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 17px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 26px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    /* General content padding */
    .page-fishing-games__container {
        padding: 0 15px !important;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        padding: 60px 15px 0;
        min-height: 400px;
    }
    .page-fishing-games__main-title {
        font-size: 38px;
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    /* Buttons */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 20px;
        padding-right: 20px;
    }

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

    /* Section titles and text */
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 25px;
        padding-top: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 16px;
        margin-bottom: 40px;
    }

    /* Features Grid */
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__reasons-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__reason-item,
    .page-fishing-games__game-card {
        padding: 25px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__reason-image {
        height: 180px;
        margin-bottom: 20px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__reason-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-fishing-games__feature-text,
    .page-fishing-games__reason-text {
        font-size: 15px;
    }
    .page-fishing-games__game-iframe {
        height: 200px;
        margin-bottom: 15px;
    }
    .page-fishing-games__game-title {
        font-size: 20px;
    }
    .page-fishing-games__game-description {
        font-size: 14px;
    }

    /* FAQ Section */
    .page-fishing-games__faq-section {
        padding: 60px 0;
    }
    .page-fishing-games__faq-list {
        margin-top: 40px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 18px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 18px 18px;
        font-size: 15px;
    }

    /* CTA Banner */
    .page-fishing-games__cta-banner {
        padding: 40px 15px;
        margin: 60px auto;
    }
    .page-fishing-games__cta-title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .page-fishing-games__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* All images in content area */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* All sections and containers */
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__game-showcase,
    .page-fishing-games__why-choose-us,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-banner,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* No overflow-x hidden here, handled by individual elements */
    }
}