/* Custom CSS Variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* Base styles for the page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--background);
}

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

.page-fishing-games__dark-bg {
    background: var(--card-bg);
    color: var(--text-main);
}

.page-fishing-games__light-bg {
    background: #ffffff;
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--primary-color);
}
.page-fishing-games__light-bg .page-fishing-games__section-description {
    color: #555555;
}
.page-fishing-games__light-bg .page-fishing-games__step-title {
    color: #333333;
}
.page-fishing-games__light-bg .page-fishing-games__step-item p {
    color: #666666;
}
.page-fishing-games__light-bg .page-fishing-games__benefits-list li {
    color: #444444;
}

.page-fishing-games__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-details {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--card-bg);
    transform: translateY(-2px);
}

.page-fishing-games__btn-play {
    background: var(--deep-green-color);
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    padding: 10px 20px;
    font-size: 15px;
}

.page-fishing-games__btn-play:hover {
    background: var(--gold-color);
    color: var(--deep-green-color);
}

.page-fishing-games__btn-details {
    background: var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    font-size: 15px;
}

.page-fishing-games__btn-details:hover {
    background: var(--deep-green-color);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles main offset */
    margin-bottom: 50px;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-fishing-games__main-title {
    font-size: clamp(32px, 4vw, 56px); /* Responsive H1 font size */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-fishing-games__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--text-main);
}

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

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

.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: var(--background);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 80px 0;
    background: var(--background);
}

.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: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

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

.page-fishing-games__step-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: #333333;
    margin-bottom: 10px;
}

.page-fishing-games__step-item p {
    color: #666666;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

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

.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: var(--background);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

.page-fishing-games__promo-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__promo-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
}

.page-fishing-games__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-fishing-games__benefits-list li {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    font-size: 17px;
    color: #444444;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__benefit-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

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

.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 var(--border-color);
  overflow: hidden;
  background: var(--background);
}
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: var(--deep-green-color);
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-fishing-games__faq-toggle {
  font-size: 28px; /* Larger for dark background */
  font-weight: bold;
  color: var(--gold-color);
  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: var(--deep-green-color);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Green gradient */
    color: #ffffff;
    text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: #ffffff; /* White title on green background */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__section-description {
        font-size: 16px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    /* General responsive */
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 15px;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        min-height: 400px;
        padding-top: 10px; /* Still small padding */
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: clamp(15px, 3.5vw, 18px);
        margin-bottom: 25px;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-details {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-center,
    .page-fishing-games__cta-buttons-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Ensure buttons wrap */
        gap: 15px;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-fishing-games__feature-item img,
    .page-fishing-games__game-card img,
    .page-fishing-games__promo-card img {
        min-width: unset;
        min-height: unset;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item,
    .page-fishing-games__benefits-list li,
    details.page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }

    /* Grids to single column or wrap */
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-grid,
    .page-fishing-games__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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