/* style/gambling-guides.css */

/* Base styles for the page content */
.page-gambling-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333; /* Dark gray for general text on light backgrounds */
    background-color: #f8f8f8; /* Light background for the page */
}

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

.page-gambling-guides__section-title {
    color: #003366; /* Primary color for main titles */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gambling-guides__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00; /* Secondary color for accent */
    border-radius: 2px;
}

.page-gambling-guides__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.page-gambling-guides__link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.page-gambling-guides__link:hover {
    text-decoration: underline;
    color: #FFCC00;
}

.page-gambling-guides__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.page-gambling-guides__btn--primary {
    background-color: #FFCC00; /* Secondary color for primary action */
    color: #003366; /* Primary color for text on primary button */
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
}

.page-gambling-guides__btn--primary:hover {
    background-color: #e6b800; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.6);
}

.page-gambling-guides__btn--secondary {
    background-color: #003366; /* Primary color for secondary action */
    color: #FFCC00; /* Secondary color for text on secondary button */
    border: 2px solid #FFCC00;
    margin-left: 15px;
}

.page-gambling-guides__btn--secondary:hover {
    background-color: #002244; /* Slightly darker blue on hover */
    border-color: #e6b800;
    transform: translateY(-2px);
}

.page-gambling-guides__btn--lg {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-gambling-guides__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #003366;
    color: #fff;
}

.page-gambling-guides__btn--small:hover {
    background-color: #002244;
    color: #FFCC00;
}

.section-padding {
    padding: 80px 0;
}

.section-bg-light {
    background-color: #eef4f8; /* Light blue-gray background for contrast */
}

/* Hero Section */
.page-gambling-guides__hero {
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%); /* Dark blue gradient */
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.page-gambling-guides__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.2) 0%, transparent 70%);
    animation: page-gambling-guides__bubble-float 15s infinite ease-in-out;
}

.page-gambling-guides__hero::after {
    content: '';
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.2) 0%, transparent 70%);
    animation: page-gambling-guides__bubble-float 20s infinite reverse ease-in-out;
}

@keyframes page-gambling-guides__bubble-float {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(20px, -20px) scale(1.1); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}


.page-gambling-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00; /* Secondary color for hero title */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.page-gambling-guides__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gambling-guides__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Intro Section */
.page-gambling-guides__intro .page-gambling-guides__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-gambling-guides__intro .page-gambling-guides__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Why New88 Section */
.page-gambling-guides__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-gambling-guides__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gambling-guides__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-gambling-guides__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
}

.page-gambling-guides__feature-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 15px;
}

.page-gambling-guides__feature-text {
    color: #666;
    font-size: 1em;
}

/* Principles Section */
.page-gambling-guides__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gambling-guides__principle-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-right: 5px solid #003366;
}

.page-gambling-guides__principle-title {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
}

.page-gambling-guides__principle-text {
    color: #666;
    font-size: 1em;
}

/* Main Guides Section */
.page-gambling-guides__guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gambling-guides__guide-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gambling-guides__guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-gambling-guides__guide-title {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 15px;
    min-height: 60px; /* Ensure consistent height */
}

.page-gambling-guides__guide-title a {
    color: #003366;
    text-decoration: none;
}

.page-gambling-guides__guide-title a:hover {
    color: #FFCC00;
    text-decoration: underline;
}

.page-gambling-guides__guide-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Tips Section */
.page-gambling-guides__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gambling-guides__tip-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #FFCC00;
}

.page-gambling-guides__tip-title {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
}

.page-gambling-guides__tip-text {
    color: #666;
    font-size: 1em;
}

/* CTA Section */
.page-gambling-guides__cta {
    background-color: #003366; /* Primary color background */
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-gambling-guides__cta-content {
    max-width: 900px;
}

.page-gambling-guides__cta .page-gambling-guides__section-title {
    color: #FFCC00; /* Secondary color for title on dark background */
    font-size: 2.2em;
}

.page-gambling-guides__cta .page-gambling-guides__section-title::after {
    background-color: #fff;
}

.page-gambling-guides__cta .page-gambling-guides__text {
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 1.15em;
}

.page-gambling-guides__cta .page-gambling-guides__text--small {
    font-size: 0.95em;
    margin-top: 20px;
}

.page-gambling-guides__cta .page-gambling-guides__link {
    color: #FFCC00;
}

.page-gambling-guides__cta .page-gambling-guides__link:hover {
    color: #e6b800;
}

/* Floating Ad */
.page-gambling-guides__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFCC00; /* Secondary color for the ad background */
    color: #003366; /* Primary color for ad text */
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateX(120%); /* Start off-screen */
    transition: transform 0.5s ease-out;
}

.page-gambling-guides__floating-ad.show {
    transform: translateX(0); /* Slide in */
}

.page-gambling-guides__floating-ad a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #003366;
    font-weight: bold;
}

.page-gambling-guides__floating-ad-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.page-gambling-guides__floating-ad-text {
    font-size: 1.1em;
    white-space: nowrap;
}

.page-gambling-guides__floating-ad-close {
    background: none;
    border: none;
    font-size: 1.5em;
    color: #003366;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

.page-gambling-guides__floating-ad-close:hover {
    color: #555;
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-gambling-guides__section-title {
        font-size: 2em;
    }

    .page-gambling-guides__hero-title {
        font-size: 2.5em;
    }

    .page-gambling-guides__hero-subtitle {
        font-size: 1.2em;
    }

    .page-gambling-guides__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-gambling-guides__btn--secondary {
        margin-left: 0;
    }

    .page-gambling-guides__features-grid,
    .page-gambling-guides__principles-grid,
    .page-gambling-guides__guide-list,
    .page-gambling-guides__tips-grid {
        grid-template-columns: 1fr;
    }

    .page-gambling-guides__cta .page-gambling-guides__section-title {
        font-size: 1.8em;
    }

    .page-gambling-guides__floating-ad {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        gap: 8px;
    }
    .page-gambling-guides__floating-ad-text {
        font-size: 1em;
    }
    .page-gambling-guides__floating-ad-icon {
        width: 25px;
        height: 25px;
    }
}