/* style/game-guides.css */
:root {
    --primary-color: #1A1A2E;
    --secondary-color: #E0B400;
    --accent-color: #00BFFF;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1A1A2E;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
}

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

/* 🚨 Fixed Navbar Padding - Desktop */
.page-game-guides__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Adjusted for fixed header */
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-game-guides__title-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-game-guides__title-container,
.page-game-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-game-guides__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-game-guides__title-description {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-game-guides__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-game-guides__cta-button:hover {
    background: #c7a100;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__cta-button--secondary:hover {
    background: #10101c;
    color: var(--secondary-color);
    border-color: #c7a100;
}

.page-game-guides__cta-button--wide {
    width: 100%;
    max-width: 400px;
    margin-top: 30px;
}

.page-game-guides__content-area {
    padding: 80px 20px;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-game-guides p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-game-guides__dark-section p,
.page-game-guides__dark-section li {
    color: var(--text-light);
}

.page-game-guides__dark-section .page-game-guides__section-title,
.page-game-guides__dark-section .page-game-guides__sub-title {
    color: var(--secondary-color);
}

.page-game-guides__list,
.page-game-guides__ordered-list {
    list-style-position: inside;
    margin-bottom: 1.5em;
    padding-left: 20px;
}

.page-game-guides__list li,
.page-game-guides__ordered-list li {
    margin-bottom: 0.8em;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-game-guides__image--full-width {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Video Section Styles */
.page-game-guides__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-game-guides__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-game-guides__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-game-guides__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none;
}

.page-game-guides__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-game-guides__video-link:hover .page-game-guides__video-overlay {
    opacity: 1;
}

.page-game-guides__video-click-hint {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    background: rgba(0, 123, 255, 0.8);
    border-radius: 5px;
    white-space: nowrap;
}

.page-game-guides__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-game-guides__play-now-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.page-game-guides__play-now-button:hover {
    background: #c7a100;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-game-guides__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* FAQ Section Styles */
.page-game-guides__faq-list {
    margin-top: 40px;
}

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

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-game-guides__faq-question:hover {
    background: var(--bg-light);
    border-color: #d0d0d0;
}

.page-game-guides__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-game-guides__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-game-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
}

.page-game-guides__faq-answer p {
    margin: 0;
    color: #555;
    font-size: 1em;
}

/* Brand Section Styles */
.page-game-guides__brand-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 20px;
}

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

.page-game-guides__brand-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-game-guides__brand-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-game-guides__brand-item p {
    color: var(--text-light);
    font-size: 1em;
    line-height: 1.6;
}

.page-game-guides__brand-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.2);
}

.page-game-guides__brand-cta {
    text-align: center;
    margin-top: 60px;
}

/* Blog Section Styles */
.page-game-guides__blog-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

.page-game-guides__blog-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides__blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-game-guides__blog-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-game-guides__blog-item-title {
    font-size: 1.4em;
    color: var(--primary-color);
    padding: 15px 20px 0;
    margin: 0;
    line-height: 1.4;
}

.page-game-guides__blog-item-excerpt {
    font-size: 0.95em;
    color: #666;
    padding: 0 20px 15px;
    margin: 0;
}

.page-game-guides__blog-item-date {
    display: block;
    font-size: 0.85em;
    color: #999;
    padding: 0 20px 20px;
}

.page-game-guides__view-all-button {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: 2.8em;
    }
    .page-game-guides__section-title {
        font-size: 2.2em;
    }
    .page-game-guides__sub-title {
        font-size: 1.6em;
    }
    .page-game-guides p, .page-game-guides li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* 🚨 Fixed Navbar Padding - Mobile */
    .page-game-guides__video-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-game-guides__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    
    .page-game-guides__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-game-guides__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    
    .page-game-guides__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain;
    }
    
    .page-game-guides__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-game-guides__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-game-guides__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .page-game-guides__main-title {
        font-size: 2em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__sub-title {
        font-size: 1.4em;
    }
    .page-game-guides__title-description {
        font-size: 1em;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-game-guides__cta-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-game-guides__content-area,
    .page-game-guides__brand-section,
    .page-game-guides__blog-section {
        padding: 40px 15px;
    }
    .page-game-guides__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-game-guides__faq-question h3 {
        font-size: 1.05em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-game-guides__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-game-guides__faq-answer {
        padding: 0 15px;
    }
    .page-game-guides__faq-item.active .page-game-guides__faq-answer {
        padding: 15px !important;
    }
    .page-game-guides__brand-grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__brand-item {
        padding: 25px;
    }
    .page-game-guides__blog-list {
        grid-template-columns: 1fr;
    }
    .page-game-guides img,
    .page-game-guides video {
        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__video-section,
    .page-game-guides__video-container,
    .page-game-guides__video-wrapper,
    .page-game-guides__cta-buttons,
    .page-game-guides__brand-grid,
    .page-game-guides__blog-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0px;
        padding-right: 0px;
        overflow: hidden !important;
    }
    .page-game-guides__image--full-width {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .page-game-guides__main-title {
        font-size: 1.8em;
    }
    .page-game-guides__section-title {
        font-size: 1.6em;
    }
    .page-game-guides__sub-title {
        font-size: 1.2em;
    }
    .page-game-guides__cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-game-guides__video-click-hint {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}