.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly set for clarity */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    margin-bottom: 40px;
    background-color: #f0f0f0;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px;
    min-height: 150px;
}

.page-fishing-games__hero-content {
    padding: 20px 15px 40px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login text color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-fishing-games__btn-small {
    padding: 8px 18px;
    font-size: 0.95em;
}

.page-fishing-games__btn-large {
    padding: 15px 30px;
    font-size: 1.15em;
}

/* Section common styles */
.page-fishing-games__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #017439;
}

.page-fishing-games__section-description {
    font-size: 1.05em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-description {
    color: #ffffff;
}

/* Features Grid */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-fishing-games__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-item .page-fishing-games__feature-icon {
    width: 200px; /* Min size requirement */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    font-size: 0.95em;
    color: #555555;
}

/* Games Showcase */
.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-fishing-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    object-position: center;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-short-desc {
    font-size: 0.9em;
    color: #555555;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* How to Play */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-fishing-games__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #C30808;
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 0.95em;
    color: #555555;
}

.page-fishing-games__step-description a {
    color: #017439;
    text-decoration: underline;
    font-weight: 600;
}

.page-fishing-games__step-description a:hover {
    color: #C30808;
}

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

/* Tips Section */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__tip-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #FFFF00; /* Yellow for highlights on dark background */
    margin-bottom: 10px;
}

.page-fishing-games__tip-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* FAQ Section */
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;
}