:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --page-bg: #0A0A0A; /* This is the specific page background, not necessarily body */
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --white: #ffffff;
    --black: #000000;
    --dark-text: #333333;
}

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Main text color for the page */
    background-color: var(--page-bg); /* Specific page background */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Headings */
.page-fishing-games__title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-fishing-games__hero-title {
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
    /* Using clamp for responsive font size */
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__step-title,
.page-fishing-games__tip-title,
.page-fishing-games__security-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Paragraphs and lists */
.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-fishing-games a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Sections and containers */
.page-fishing-games__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.page-fishing-games__dark-bg {
    background-color: var(--card-bg); /* Use card-bg for dark sections */
    color: var(--text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-bg);
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure width is 100% for flex child */
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--white); /* White text for contrast on gradient button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--secondary {
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 20px;
}

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

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

/* Feature Grid */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-card {
    background-color: var(--page-bg); /* Use page-bg for cards within dark-bg section */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-image {
    width: 100%;
    height: auto;
    max-width: 300px; /* Constrain image size within card */
    border-radius: 5px;
    margin-bottom: 20px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__game-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__game-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--button-gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__game-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* How to Play Steps */
.page-fishing-games__steps-list,
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__step-item,
.page-fishing-games__tip-item,
.page-fishing-games__security-item {
    background-color: var(--page-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-fishing-games__step-item:last-child,
.page-fishing-games__tip-item:last-child,
.page-fishing-games__security-item:last-child {
    margin-bottom: 0;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Security Features */
.page-fishing-games__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--page-bg);
}
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;
  color: var(--text-main);
}
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(242, 193, 78, 0.1); /* Lighter hover for dark background using primary-color directly */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-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(--card-bg); /* Use card-bg for answer background */
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}


/* Footer */
.page-fishing-games__footer {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.9em;
}

.page-fishing-games__copyright {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__title {
        font-size: 2em;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__tip-title,
    .page-fishing-games__security-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-image img {
        border-radius: 4px;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        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-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-fishing-games__cta-container {
        flex-direction: column;
        align-items: center;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        gap: 15px;
    }

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

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

    .page-fishing-games__title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__tip-title,
    .page-fishing-games__security-title {
        font-size: 1.2em;
    }
    .page-fishing-games__paragraph {
        font-size: 1em;
    }

    /* Image responsiveness for mobile */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    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;
    }
}