/* style/game-guides.css */

/* Variables for colors */
:root {
    --page-game-guides-bg-color: #08160F;
    --page-game-guides-card-bg: #11271B;
    --page-game-guides-text-main: #F2FFF6;
    --page-game-guides-text-secondary: #A7D9B8;
    --page-game-guides-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-game-guides-border-color: #2E7A4E;
    --page-game-guides-glow-color: #57E38D;
    --page-game-guides-gold-color: #F2C14E;
    --page-game-guides-divider-color: #1E3A2A;
    --page-game-guides-deep-green: #0A4B2C;
}

.page-game-guides {
    background-color: var(--page-game-guides-bg-color);
    color: var(--page-game-guides-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* body handles --header-offset */
    background-color: var(--page-game-guides-deep-green);
    overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-game-guides__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin-top: -80px; /* Overlap slightly for visual effect */
    position: relative;
    z-index: 1;
    background: rgba(17, 39, 27, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--page-game-guides-border-color);
}

.page-game-guides__hero-title {
    color: var(--page-game-guides-gold-color);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
    text-transform: uppercase;
}

.page-game-guides__hero-description {
    color: var(--page-game-guides-text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-game-guides__hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.page-game-guides__section-title {
    color: var(--page-game-guides-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-game-guides__text-block {
    color: var(--page-game-guides-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05em;
    text-align: justify;
}

.page-game-guides__dark-section {
    background-color: var(--page-game-guides-deep-green);
    padding: 60px 0;
}

.page-game-guides__introduction-section {
    padding: 60px 0;
}

.page-game-guides__game-types-section {
    padding: 60px 0;
    background-color: var(--page-game-guides-bg-color);
}

.page-game-guides__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-game-guides__card {
    background-color: var(--page-game-guides-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-game-guides-border-color);
    color: var(--page-game-guides-text-main);
}

.page-game-guides__card-title {
    color: var(--page-game-guides-gold-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}

.page-game-guides__card-description {
    color: var(--page-game-guides-text-secondary);
    line-height: 1.7;
    text-align: justify;
}

.page-game-guides__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 40px;
    object-fit: cover;
}

.page-game-guides__basic-guide-section {
    padding: 60px 0;
}

.page-game-guides__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-game-guides__step-item {
    background-color: var(--page-game-guides-card-bg);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 1px solid var(--page-game-guides-border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-game-guides-text-main);
}

.page-game-guides__step-title {
    color: var(--page-game-guides-gold-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-game-guides__step-description {
    color: var(--page-game-guides-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-game-guides__step-button {
    margin-top: 15px;
}

.page-game-guides__strategies-section {
    padding: 60px 0;
    background-color: var(--page-game-guides-bg-color);
}

.page-game-guides__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-game-guides__image-responsive {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 40px;
    object-fit: cover;
}

.page-game-guides__promotions-section {
    padding: 60px 0;
}

.page-game-guides__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-game-guides__promotion-item {
    background-color: var(--page-game-guides-card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--page-game-guides-border-color);
    color: var(--page-game-guides-text-main);
    line-height: 1.7;
}

.page-game-guides__promotion-item strong {
    color: var(--page-game-guides-gold-color);
}

.page-game-guides__security-section {
    padding: 60px 0;
    background-color: var(--page-game-guides-bg-color);
}

.page-game-guides__security-features-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-game-guides__security-feature-item {
    background-color: var(--page-game-guides-card-bg);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--page-game-guides-border-color);
    color: var(--page-game-guides-text-main);
    line-height: 1.7;
}

.page-game-guides__security-feature-item strong {
    color: var(--page-game-guides-gold-color);
}

.page-game-guides__faq-section {
    padding: 60px 0;
}

.page-game-guides__faq-list {
    margin-top: 40px;
}

.page-game-guides__faq-item {
    background-color: var(--page-game-guides-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--page-game-guides-border-color);
    overflow: hidden;
    color: var(--page-game-guides-text-main);
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-game-guides-gold-color);
    background-color: var(--page-game-guides-deep-green);
    border-bottom: 1px solid var(--page-game-guides-divider-color);
}

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

.page-game-guides__faq-question::marker {
    display: none;
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    transform: rotate(45deg);
}

.page-game-guides__faq-answer {
    padding: 20px 25px;
    color: var(--page-game-guides-text-secondary);
    line-height: 1.7;
    font-size: 1.0em;
}

.page-game-guides__conclusion-section {
    padding: 60px 0;
}

.page-game-guides__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-guides__btn-primary {
    background: var(--page-game-guides-btn-gradient);
    color: #ffffff; /* Always white text for primary button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-game-guides__btn-secondary {
    background: transparent;
    color: var(--page-game-guides-gold-color);
    border: 2px solid var(--page-game-guides-gold-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-game-guides__btn-secondary:hover {
    background: var(--page-game-guides-gold-color);
    color: var(--page-game-guides-deep-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__game-types-grid,
    .page-game-guides__strategy-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-bottom: 40px;
    }
    .page-game-guides__hero-content {
        margin-top: -40px;
        padding: 30px 15px;
    }
    .page-game-guides__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-guides__text-block {
        font-size: 0.95em;
    }
    .page-game-guides__card-title {
        font-size: 1.3em;
    }
    .page-game-guides__step-title {
        font-size: 1.4em;
    }
    .page-game-guides__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-game-guides__faq-answer {
        font-size: 0.95em;
        padding: 18px 20px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides__hero-cta-buttons,
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Mobile image responsiveness */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Image/Video/Button containers mobile responsiveness */
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__hero-image-wrapper,
    .page-game-guides__game-types-grid,
    .page-game-guides__strategy-grid,
    .page-game-guides__hero-cta-buttons,
    .page-game-guides__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-game-guides__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-game-guides__introduction-section,
    .page-game-guides__game-types-section,
    .page-game-guides__basic-guide-section,
    .page-game-guides__strategies-section,
    .page-game-guides__promotions-section,
    .page-game-guides__security-section,
    .page-game-guides__faq-section,
    .page-game-guides__conclusion-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__section-title {
        font-size: 1.5em;
    }
    .page-game-guides__card,
    .page-game-guides__step-item,
    .page-game-guides__promotion-item,
    .page-game-guides__security-feature-item {
        padding: 20px;
    }
    .page-game-guides__faq-question {
        font-size: 1em;
        padding: 15px 18px;
    }
    .page-game-guides__faq-answer {
        padding: 15px 18px;
    }
}