/* style/fishing-games.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-card: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
    --button-hover: #e6c200;
    --button-secondary-bg: #333333;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--bg-dark);
    line-height: 1.6;
}

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(26, 26, 26, 0.8) 50%, var(--secondary-color) 100%);
    overflow: hidden;
}

.page-fishing-games__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-fishing-games__cta-button--primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--primary:hover {
    background-color: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(0.8); /* Allow brightness for background images */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.page-fishing-games__image-block img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

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

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure large images are used as icons */
    max-width: 250px; /* Constrain max width for visual balance */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Games Showcase */
.page-fishing-games__games-showcase {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-8px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__game-card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin: 20px 15px 10px;
}

.page-fishing-games__game-card p {
    color: rgba(255, 255, 255, 0.8);
    padding: 0 15px 20px;
}

.page-fishing-games__card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-fishing-games__card-button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-fishing-games__step-item {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.page-fishing-games__step-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__step-button:hover {
    background-color: var(--button-hover);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.page-fishing-games__promotions-intro {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__promotion-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__promotion-item:hover {
    transform: translateY(-8px);
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__promotion-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 20px 15px 10px;
}

.page-fishing-games__promotion-item p {
    color: rgba(255, 255, 255, 0.8);
    padding: 0 15px 20px;
}

.page-fishing-games__promotion-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__promotion-button:hover {
    background-color: var(--button-hover);
}

.page-fishing-games__view-all-promos {
    text-align: center;
}

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

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 25px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 15px;
}

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-fishing-games__faq-download-button, .page-fishing-games__faq-contact-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-download-button:hover, .page-fishing-games__faq-contact-button:hover {
    background-color: var(--button-hover);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--secondary-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--secondary-color);
    text-shadow: none;
}

.page-fishing-games__cta-final-section .page-fishing-games__description {
    color: rgba(26, 26, 26, 0.9);
    margin-bottom: 40px;
}

.page-fishing-games__cta-final-section .page-fishing-games__cta-button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__cta-button--primary:hover {
    background-color: #000000;
    color: var(--primary-color);
    border-color: #000000;
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__about-section, .page-fishing-games__features-section, .page-fishing-games__games-showcase, .page-fishing-games__guide-section, .page-fishing-games__promotions-section, .page-fishing-games__faq-section, .page-fishing-games__cta-final-section {
        padding: 50px 0;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-fishing-games__text-block p {
        font-size: 1em;
    }
    .page-fishing-games__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__features-grid, .page-fishing-games__game-cards, .page-fishing-games__guide-steps, .page-fishing-games__promotions-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-item, .page-fishing-games__game-card, .page-fishing-games__step-item, .page-fishing-games__promotion-item {
        padding: 20px;
    }
    .page-fishing-games__feature-icon {
        max-width: 180px;
    }
    .page-fishing-games__game-image, .page-fishing-games__promotion-image {
        height: 180px;
    }
    .page-fishing-games__game-card-title, .page-fishing-games__promotion-title {
        font-size: 1.3em;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__faq-download-button, .page-fishing-games__faq-contact-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__view-all-promos .page-fishing-games__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-final-section .page-fishing-games__cta-button--primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}