/* style/game-guides.css */

:root {
    --page-game-guides-primary-color: #003366;
    --page-game-guides-secondary-color: #FFCC00;
    --page-game-guides-text-light: #f8f8f8;
    --page-game-guides-text-dark: #333333;
    --page-game-guides-background-light: #ffffff;
    --page-game-guides-background-dark: #002244;
    --page-game-guides-accent-color: #FFD700; /* A slightly deeper gold for contrast */
}

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

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

.page-game-guides__hero-section {
    background: linear-gradient(135deg, var(--page-game-guides-primary-color) 0%, var(--page-game-guides-background-dark) 100%);
    color: var(--page-game-guides-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,patterns,dark_blue,gold]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-game-guides__hero-section > .page-game-guides__container {
    position: relative;
    z-index: 1;
}

.page-game-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-game-guides-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-game-guides__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.page-game-guides__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-game-guides__btn--primary {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
}

.page-game-guides__btn--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn--secondary {
    background-color: transparent;
    color: var(--page-game-guides-secondary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
}

.page-game-guides__btn--secondary:hover {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--page-game-guides-primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-guides__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-game-guides-secondary-color);
    border-radius: 2px;
}

.page-game-guides__intro-section, 
.page-game-guides__getting-started, 
.page-game-guides__game-categories, 
.page-game-guides__detail-pages, 
.page-game-guides__tips-strategies, 
.page-game-guides__safety-security, 
.page-game-guides__faq-section, 
.page-game-guides__final-cta {
    padding: 80px 0;
}

.page-game-guides__intro-section {
    background-color: #f9f9f9;
}

.page-game-guides__grid {
    display: grid;
    gap: 30px;
}

.page-game-guides__grid--intro {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-game-guides__intro-item {
    background-color: var(--page-game-guides-background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__intro-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-game-guides__intro-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-game-guides__intro-heading {
    font-size: 1.5em;
    color: var(--page-game-guides-primary-color);
    margin-bottom: 15px;
}

.page-game-guides__intro-text {
    font-size: 1em;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 1.1em;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-game-guides__step-item {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-guides__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--page-game-guides-text-light);
}

.page-game-guides__step-heading {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides__step-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__step-item .page-game-guides__btn--small {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    border: none;
    align-self: center;
}

.page-game-guides__step-item .page-game-guides__btn--small:hover {
    background-color: #e6b800;
    color: var(--page-game-guides-primary-color);
}

.page-game-guides__game-categories {
    background-color: #f0f4f8;
}

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

.page-game-guides__category-card {
    background-color: var(--page-game-guides-background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-game-guides__category-title {
    font-size: 1.8em;
    color: var(--page-game-guides-primary-color);
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-game-guides__category-description {
    font-size: 1em;
    color: var(--page-game-guides-text-dark);
    padding: 0 15px 20px;
}

.page-game-guides__detail-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-game-guides__detail-card {
    background-color: var(--page-game-guides-background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-game-guides__detail-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-game-guides__detail-card-title a {
    color: var(--page-game-guides-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__detail-card-title a:hover {
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides__detail-card-description {
    font-size: 1.1em;
    color: var(--page-game-guides-text-dark);
    margin-bottom: 25px;
}

.page-game-guides__tips-strategies {
    background-color: #f9f9f9;
}

.page-game-guides__list {
    max-width: 800px;
    margin: 0 auto 50px auto;
    list-style: none;
    padding: 0;
}

.page-game-guides__list li {
    background-color: var(--page-game-guides-background-light);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid var(--page-game-guides-secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-size: 1.1em;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__list li strong {
    color: var(--page-game-guides-primary-color);
}

.page-game-guides__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-game-guides__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--page-game-guides-primary-color);
    font-weight: bold;
}

.page-game-guides__safety-security {
    background-color: var(--page-game-guides-background-dark);
    color: var(--page-game-guides-text-light);
}

.page-game-guides__safety-security .page-game-guides__section-title {
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides__safety-security .page-game-guides__section-title::after {
    background-color: var(--page-game-guides-text-light);
}

.page-game-guides__safety-security .page-game-guides__text-center {
    color: var(--page-game-guides-text-light);
}

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

.page-game-guides__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-guides__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-game-guides__feature-heading {
    font-size: 1.5em;
    color: var(--page-game-guides-secondary-color);
    margin-bottom: 15px;
}

.page-game-guides__feature-text {
    font-size: 1em;
    color: var(--page-game-guides-text-light);
}

.page-game-guides__faq-section {
    background-color: var(--page-game-guides-background-light);
}

.page-game-guides__faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.page-game-guides__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-game-guides__faq-question {
    width: 100%;
    background-color: #f0f4f8;
    color: var(--page-game-guides-primary-color);
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-game-guides__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-game-guides__faq-question.active {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-text-light);
}

.page-game-guides__faq-question.active::after {
    transform: rotate(45deg);
}

.page-game-guides__faq-answer {
    padding: 0 25px;
    background-color: var(--page-game-guides-background-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-game-guides__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-game-guides__faq-answer p {
    font-size: 1em;
    color: var(--page-game-guides-text-dark);
    margin: 0;
}

.page-game-guides__final-cta {
    background: linear-gradient(45deg, var(--page-game-guides-primary-color), var(--page-game-guides-background-dark));
    color: var(--page-game-guides-text-light);
    padding: 100px 0;
    text-align: center;
}

.page-game-guides__final-cta .page-game-guides__section-title {
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides__final-cta .page-game-guides__section-title::after {
    background-color: var(--page-game-guides-text-light);
}

.page-game-guides__final-cta p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-game-guides__btn--hero {
    padding: 18px 40px;
    font-size: 1.4em;
    border-radius: 10px;
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn--hero:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-title {
        font-size: 3em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__hero-description {
        font-size: 1.1em;
    }
    .page-game-guides__btn--hero {
        font-size: 1.2em;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-title {
        font-size: 2.5em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__intro-item, .page-game-guides__step-item, .page-game-guides__category-card, .page-game-guides__feature-item {
        padding: 25px;
    }
    .page-game-guides__intro-heading, .page-game-guides__step-heading, .page-game-guides__category-title, .page-game-guides__feature-heading {
        font-size: 1.3em;
    }
    .page-game-guides__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-game-guides__faq-answer.active {
        padding: 15px 20px;
    }
    .page-game-guides__list li {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 2em;
    }
    .page-game-guides__hero-description {
        font-size: 0.9em;
    }
    .page-game-guides__btn {
        width: 95%;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-game-guides__text-center {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-game-guides__intro-section, 
    .page-game-guides__getting-started, 
    .page-game-guides__game-categories, 
    .page-game-guides__detail-pages, 
    .page-game-guides__tips-strategies, 
    .page-game-guides__safety-security, 
.page-game-guides__faq-section, 
.page-game-guides__final-cta {
        padding: 50px 0;
    }
    .page-game-guides__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        top: -15px;
    }
    .page-game-guides__intro-icon {
        width: 60px;
        height: 60px;
    }
    .page-game-guides__category-img {
        height: 150px;
    }
    .page-game-guides__category-title {
        font-size: 1.5em;
    }
    .page-game-guides__detail-card-title {
        font-size: 1.5em;
    }
    .page-game-guides__btn--hero {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}