/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the page, as body is dark */
    background-color: transparent; /* Main section background will be set by specific sections */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjust padding-top for header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Overlay image for background effect */
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Yellow for main title */
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
}

/* CTA Buttons Group */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Primary Button */
.page-fishing-games__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color for primary CTA */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #C30808;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-fishing-games__btn-primary:hover {
    background-color: #e02a2a;
    transform: translateY(-3px);
}

/* Secondary Button */
.page-fishing-games__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #FFFF00; /* Yellow border for secondary */
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808; /* Text color becomes red on hover */
    transform: translateY(-3px);
}

/* Tertiary Button (for internal links like "Hướng Dẫn Nạp/Rút") */
.page-fishing-games__btn-tertiary {
    display: inline-block;
    background-color: #017439; /* Brand green */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-fishing-games__btn-tertiary:hover {
    background-color: #005a2d;
}

/* General Section Styling */
.page-fishing-games__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-fishing-games__dark-bg {
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFF00; /* Yellow for section titles */
    font-weight: bold;
}

.page-fishing-games__section-title--light {
    color: #FFFF00;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for sub-titles */
    font-weight: bold;
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-fishing-games__paragraph--light {
    color: #e0e0e0;
}

.page-fishing-games__text-center {
    text-align: center;
}

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

/* Image with text block */
.page-fishing-games__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-fishing-games__image-text-block-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block;
}

.page-fishing-games__image-text-block .page-fishing-games__text-content {
    flex: 1;
    max-width: 50%;
}

.page-fishing-games__image-text-block--reverse {
    flex-direction: row-reverse;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #0a0a0a; /* Dark background for video */
}

.page-fishing-games__video-wrapper {
    max-width: 1000px;
    margin: 40px auto 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer; /* Indicate video is clickable */
}

.page-fishing-games__video-wrapper .page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none; /* Remove underline from link */
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* How to Play Section */
.page-fishing-games__numbered-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-fishing-games__list-item {
    background-color: #0a0a0a; /* Dark background for list items */
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #017439; /* Brand color accent */
}

.page-fishing-games__list-item-title {
    font-size: 1.6em;
    color: #FFFF00; /* Yellow for list item titles */
    margin-bottom: 15px;
}

.page-fishing-games__list-item-text {
    font-size: 1.05em;
    color: #e0e0e0;
}

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

.page-fishing-games__game-card {
    background-color: #1a1a1a; /* Slightly lighter dark background for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__game-card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for game card titles */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-card-description {
    font-size: 1em;
    color: #e0e0e0;
    padding: 0 15px;
    flex-grow: 1; /* Make description take available space */
    margin-bottom: 20px;
}

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

.page-fishing-games__feature-item {
    background-color: #0a0a0a; /* Dark background for feature items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #C30808; /* Red accent for promotions */
}

.page-fishing-games__feature-title {
    font-size: 1.6em;
    color: #FFFF00; /* Yellow for feature titles */
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 1.05em;
    color: #e0e0e0;
}

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

.page-fishing-games__strategy-card {
    background-color: #1a1a1a; /* Slightly lighter dark background for strategy cards */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-bottom: 5px solid #017439; /* Brand green accent */
}

.page-fishing-games__strategy-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for strategy titles */
    margin-bottom: 15px;
}

.page-fishing-games__strategy-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: #0a0a0a; /* Dark background for FAQ items */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #017439; /* Brand green for question background */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #005a2d;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    color: inherit; /* Inherit color from parent */
    font-size: 1.2em; /* Ensure font size consistency */
}

.page-fishing-games__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or just change text to '−' */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1a1a1a; /* Slightly lighter dark background for answer */
    color: #e0e0e0;
    padding: 0 30px; /* Initial padding */
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 30px; /* Expanded padding */
}

.page-fishing-games__faq-answer .page-fishing-games__paragraph {
    margin-bottom: 0;
}

.page-fishing-games__faq-link {
    color: #FFFF00; /* Yellow for links in FAQ */
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
}

.page-fishing-games__faq-link:hover {
    color: #ffcc00;
}

/* Bottom CTA Section */
.page-fishing-games__cta-bottom-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #017439; /* Brand green for bottom CTA */
    color: #ffffff;
}