/* style/game-guides.css */

:root {
    --uiwnbet-primary: #11A84E;
    --uiwnbet-secondary: #22C768;
    --uiwnbet-card-bg: #11271B;
    --uiwnbet-bg: #08160F;
    --uiwnbet-text-main: #F2FFF6;
    --uiwnbet-text-secondary: #A7D9B8;
    --uiwnbet-border: #2E7A4E;
    --uiwnbet-glow: #57E38D;
    --uiwnbet-gold: #F2C14E;
    --uiwnbet-divider: #1E3A2A;
    --uiwnbet-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default for light backgrounds */
    background-color: #f8f8f8; /* A light background for sections not explicitly dark */
}

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

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: var(--uiwnbet-bg); /* Use deep green background */
    color: var(--uiwnbet-text-main); /* Light text on dark background */
}

.page-game-guides__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly transparent to let content stand out */
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-game-guides__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--uiwnbet-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-guides__description {
    font-size: 1.2rem;
    color: var(--uiwnbet-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styles */
.page-game-guides__introduction, 
.page-game-guides__categories,
.page-game-guides__detailed-guides,
.page-game-guides__call-to-action,
.page-game-guides__faq-section {
    padding: 60px 0;
}

.page-game-guides__dark-bg {
    background-color: var(--uiwnbet-bg);
    color: var(--uiwnbet-text-main);
}

.page-game-guides__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-game-guides__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--uiwnbet-primary);
}
.page-game-guides__dark-bg .page-game-guides__section-title {
    color: var(--uiwnbet-gold);
}

.page-game-guides__description-secondary {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--uiwnbet-text-secondary);
}
.page-game-guides__light-bg .page-game-guides__description-secondary {
    color: #666666;
}

.page-game-guides__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--uiwnbet-text-main);
}
.page-game-guides__light-bg .page-game-guides__text-block {
    color: #333333;
}

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-game-guides__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

.page-game-guides__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
    background-color: transparent;
    color: var(--uiwnbet-primary);
    border: 2px solid var(--uiwnbet-primary);
    margin: 10px;
}
.page-game-guides__dark-bg .page-game-guides__btn-secondary {
    color: var(--uiwnbet-gold);
    border-color: var(--uiwnbet-gold);
}

.page-game-guides__btn-secondary:hover {
    background-color: var(--uiwnbet-primary);
    color: #ffffff;
    border-color: var(--uiwnbet-primary);
    transform: translateY(-3px);
}
.page-game-guides__dark-bg .page-game-guides__btn-secondary:hover {
    background-color: var(--uiwnbet-gold);
    color: var(--uiwnbet-bg);
    border-color: var(--uiwnbet-gold);
}

.page-game-guides__btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

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

.page-game-guides__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-game-guides__feature-title {
    font-size: 1.5rem;
    color: var(--uiwnbet-primary);
    margin-bottom: 15px;
}

.page-game-guides__feature-text {
    color: #555555;
    font-size: 1rem;
}

/* Card Grid */
.page-game-guides__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-game-guides__card {
    background-color: var(--uiwnbet-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    color: var(--uiwnbet-text-main);
    border: 1px solid var(--uiwnbet-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-game-guides__card-title {
    font-size: 1.4rem;
    margin: 20px 20px 10px 20px;
    min-height: 60px;
}

.page-game-guides__card-title a {
    color: var(--uiwnbet-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
    color: var(--uiwnbet-glow);
}

.page-game-guides__card-text {
    font-size: 0.95rem;
    color: var(--uiwnbet-text-secondary);
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-game-guides__card .page-game-guides__btn-secondary {
    margin: 0 20px 20px 20px;
    align-self: flex-start;
    border-color: var(--uiwnbet-glow);
    color: var(--uiwnbet-glow);
}
.page-game-guides__card .page-game-guides__btn-secondary:hover {
    background-color: var(--uiwnbet-glow);
    color: var(--uiwnbet-bg);
}

/* Detailed Guides */
.page-game-guides__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page-game-guides__content-block {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.page-game-guides__content-block-title {
    font-size: 1.6rem;
    color: var(--uiwnbet-primary);
    margin-bottom: 15px;
}

.page-game-guides__content-block .page-game-guides__text-block {
    color: #333333;
}

.page-game-guides__content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Call to Action */
.page-game-guides__call-to-action {
    text-align: center;
    background-color: var(--uiwnbet-deep-green);
    color: var(--uiwnbet-text-main);
    padding: 80px 20px;
}

.page-game-guides__call-to-action .page-game-guides__btn-primary,
.page-game-guides__call-to-action .page-game-guides__btn-secondary {
    margin: 15px;
}

/* FAQ Section */
.page-game-guides__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-guides__faq-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--uiwnbet-primary);
    cursor: pointer;
    background-color: #e6ffe6; /* Lighter shade of green for summary */
    border-bottom: 1px solid var(--uiwnbet-border);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
    border-bottom: 1px solid var(--uiwnbet-border);
}

.page-game-guides__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-game-guides__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: #555555;
    background-color: #f9f9f9;
}

.page-game-guides__faq-answer p {
    margin-bottom: 10px;
}

.page-game-guides__faq-answer .page-game-guides__btn-secondary {
    margin-top: 10px;
    align-self: flex-start;
}

/* Details element specific styling */
.page-game-guides__faq-item summary {
    list-style: none;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-game-guides__description {
        font-size: 1.1rem;
    }
    .page-game-guides__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .page-game-guides__card-grid,
    .page-game-guides__content-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides__container {
        padding: 0 15px;
    }
    .page-game-guides__hero-section {
        min-height: 400px;
        padding: 10px 0 40px 0;
    }
    .page-game-guides__hero-content {
        padding: 15px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-game-guides__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-game-guides__introduction, 
    .page-game-guides__categories,
    .page-game-guides__detailed-guides,
    .page-game-guides__call-to-action,
    .page-game-guides__faq-section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-game-guides__description-secondary {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Images responsive */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-game-guides__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Buttons responsive */
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides a[class*="button"],
    .page-game-guides a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important;
    }
    .page-game-guides__call-to-action .page-game-guides__btn-primary,
    .page-game-guides__call-to-action .page-game-guides__btn-secondary {
        margin: 10px 0 !important;
    }
    .page-game-guides__cta-buttons,
    .page-game-guides__button-group,
    .page-game-guides__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-game-guides__call-to-action .page-game-guides__container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* FAQ */
    .page-game-guides__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-game-guides__faq-answer {
        padding: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-section {
        min-height: 350px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-game-guides__description {
        font-size: 0.9rem;
    }
    .page-game-guides__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-game-guides__card-title {
        font-size: 1.2rem;
    }
    .page-game-guides__feature-title {
        font-size: 1.3rem;
    }
    .page-game-guides__content-block-title {
        font-size: 1.4rem;
    }
    .page-game-guides__btn-large {
        padding: 15px 25px;
        font-size: 1rem;
    }
}