/* style/game-guides.css */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F8F8;
}

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

.page-game-guides__hero {
    background: linear-gradient(135deg, #0A2463 0%, #0A2463 60%, #E0B94A 100%);
    color: #FFFFFF;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,dark_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-game-guides__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-game-guides__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-game-guides__hero-image {
    display: none;
}

.page-game-guides__section {
    padding: 60px 0;
    background-color: #FFFFFF;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-game-guides__section--intro {
    background-color: #F0F4F8;
    padding-top: 40px;
    box-shadow: none;
}

.page-game-guides__section--dark-bg {
    background-color: #0A2463;
    color: #FFFFFF;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
}

.page-game-guides__section--dark-bg .page-game-guides__section-title {
    color: #E0B94A;
}

.page-game-guides__section--dark-bg .page-game-guides__text-content {
    color: #F0F0F0;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #0A2463;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-game-guides__text-content .highlight {
    color: #0A2463;
    font-weight: bold;
}

.page-game-guides__section--dark-bg .page-game-guides__text-content .highlight {
    color: #E0B94A;
}

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

.page-game-guides__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-game-guides__feature-item:hover {
    transform: translateY(-5px);
}

.page-game-guides__feature-item h3 {
    font-size: 1.5em;
    color: #0A2463;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-game-guides__feature-item p {
    color: #666;
    font-size: 1em;
}

.page-game-guides__icon {
    width: 60px;
    height: 60px;
    color: #E0B94A;
}

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

.page-game-guides__guide-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-game-guides__guide-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-game-guides__image-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-guides__guide-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-game-guides__guide-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-game-guides__guide-title a {
    text-decoration: none;
    color: #0A2463;
    transition: color 0.3s ease;
}

.page-game-guides__guide-title a:hover {
    color: #E0B94A;
}

.page-game-guides__guide-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
}

.page-game-guides__btn--primary {
    background-color: #E0B94A;
    color: #0A2463;
    border: 2px solid #E0B94A;
}

.page-game-guides__btn--primary:hover {
    background-color: #d1a840;
    border-color: #d1a840;
}

.page-game-guides__btn--secondary {
    background-color: #0A2463;
    color: #E0B94A;
    border: 2px solid #0A2463;
    margin-top: auto; /* Push button to bottom */
}

.page-game-guides__btn--secondary:hover {
    background-color: #1a3e7a;
    border-color: #1a3e7a;
    color: #FFD700; /* Lighter gold on hover */
}

.page-game-guides__btn--cta {
    background-color: #E0B94A;
    color: #0A2463;
    border: 2px solid #E0B94A;
    margin: 15px 10px;
    min-width: 180px;
}

.page-game-guides__btn--cta:hover {
    background-color: #d1a840;
    border-color: #d1a840;
}

.page-game-guides__btn--outline {
    background-color: transparent;
    color: #E0B94A;
    border: 2px solid #E0B94A;
}

.page-game-guides__btn--outline:hover {
    background-color: #E0B94A;
    color: #0A2463;
}

.page-game-guides__section--benefits .page-game-guides__section-title {
    color: #0A2463;
}

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

.page-game-guides__benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #444;
    line-height: 1.5;
}

.page-game-guides__benefit-list li .highlight {
    color: #0A2463;
    font-weight: bold;
}

.page-game-guides__list-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
    color: #E0B94A;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-game-guides__hero {
        text-align: left;
        padding: 100px 0;
    }

    .page-game-guides__hero-content {
        text-align: left;
        max-width: 60%;
    }

    .page-game-guides__hero-title {
        font-size: 4em;
    }

    .page-game-guides__hero-description {
        font-size: 1.3em;
    }

    .page-game-guides__hero-image {
        display: block;
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        width: 35%;
        max-width: 500px;
        height: auto;
        opacity: 0.8;
    }

    .page-game-guides__section-title {
        font-size: 3em;
    }

    .page-game-guides__guide-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-game-guides__guide-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .page-game-guides__hero {
        padding: 60px 20px;
    }
    .page-game-guides__hero-title {
        font-size: 2.5em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__text-content {
        font-size: 0.95em;
    }
    .page-game-guides__feature-item {
        padding: 20px;
    }
    .page-game-guides__guide-content {
        padding: 20px;
    }
    .page-game-guides__guide-title {
        font-size: 1.4em;
    }
    .page-game-guides__guide-description {
        font-size: 0.9em;
    }
    .page-game-guides__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-game-guides__btn--cta {
        margin: 10px 5px;
        min-width: unset;
        width: 100%;
        display: block;
    }
}

/* Ensure color contrast for highlights */
.page-game-guides .highlight {
    color: #E0B94A; /* Ensuring contrast on dark background if applicable */
    background-color: transparent; /* No background on highlight by default */
}
.page-game-guides .page-game-guides__section--dark-bg .highlight {
    color: #E0B94A;
}
.page-game-guides .page-game-guides__hero-title .highlight {
    color: #E0B94A;
}

/* Ensure text on dark background is light */
.page-game-guides__section--dark-bg h2, 
.page-game-guides__section--dark-bg p, 
.page-game-guides__section--dark-bg li {
    color: #F0F0F0;
}

/* Ensure text on light background is dark */
.page-game-guides__section h2, 
.page-game-guides__section p, 
.page-game-guides__section li {
    color: #333;
}

.page-game-guides__feature-item h3 {
    color: #0A2463;
}

.page-game-guides__feature-item p {
    color: #666;
}

.page-game-guides__guide-title a {
    color: #0A2463;
}

.page-game-guides__guide-description {
    color: #666;
}