/* style/fishing-games.css */

/* Custom CSS Variables for easier theme management */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #1a1a1a; /* From body background */
    --card-background-dark: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    --card-background-light: #ffffff;
    --border-color-light: #e0e0e0;
    --hover-color: #ccac00; /* Darker gold for hover */
}

/* Base styles for the page content, ensuring contrast with body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency if any section needs default bg */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__sub-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

/* Adjust text color for specific dark background sections */
.page-fishing-games__dark-bg {
    background-color: var(--secondary-color); /* Use secondary color for dark sections */
    color: var(--text-color-light); /* Ensure light text on dark background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__sub-title {
    color: var(--primary-color);
}

.page-fishing-games__dark-bg-text {
    color: var(--text-color-light);
}

.page-fishing-games__dark-bg-list .page-fishing-games__list-item {
    color: var(--text-color-light);
}

/* Buttons */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__cta-button,
.page-fishing-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-dark); /* Dark text on gold button for contrast */
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button:hover,
.page-fishing-games__btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Large CTA Button */
.page-fishing-games__large-cta {
    padding: 20px 60px;
    font-size: 1.4em;
    margin-top: 30px;
}

/* Links within text */
.page-fishing-games__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Image styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    /* No filter properties to change image color */
}

/* 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: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(139, 0, 0, 0.5)); /* Subtle gradient overlay */
}

.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%;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 12px;
    margin-top: -80px; /* Overlap with image slightly */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-title {
    font-size: 3.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: var(--text-color-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Content Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__fishing-strategies-section,
.page-fishing-games__payment-support-section {
    background-color: var(--background-dark); /* Dark background */
    color: var(--text-color-light);
}

.page-fishing-games__game-types-section,
.page-fishing-games__sic-bo-intro-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-final-section {
    background-color: var(--secondary-color); /* Dark red background */
    color: var(--text-color-light);
}

/* Card styles */
.page-fishing-games__grid-layout,
.page-fishing-games__promo-grid,
.page-fishing-games__strategy-grid,
.page-fishing-games__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__card {
    background-color: var(--card-background-light); /* Default light card for general sections */
    color: var(--text-color-dark);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-light);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to start */
}