/* style/game-tutorials.css */

/* Global styles for this page section */
.page-game-tutorials {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #0A192F; /* Deep blue primary background */
    line-height: 1.6;
}

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

.page-game-tutorials h1,
.page-game-tutorials h2,
.page-game-tutorials h3,
.page-game-tutorials h4 {
    color: #FFD700; /* Gold for headings */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-game-tutorials h1 {
    font-size: 2.8em;
    margin-top: 0;
    padding-top: 40px;
}

.page-game-tutorials h2 {
    font-size: 2.2em;
    margin-top: 40px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Prevent line break for underline */
}

.page-game-tutorials h3 {
    font-size: 1.8em;
    color: #FFD700; /* Gold for subheadings */
    margin-top: 30px;
    text-align: left;
}

.page-game-tutorials h4 {
    font-size: 1.4em;
    color: #FFD700; /* Gold for smaller subheadings */
    margin-top: 20px;
    text-align: left;
}

.page-game-tutorials p {
    margin-bottom: 15px;
    text-align: justify;
    color: #E0E0E0;
}

.page-game-tutorials ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-game-tutorials ul li {
    margin-bottom: 8px;
    color: #E0E0E0;
}

.page-game-tutorials strong {
    color: #FFD700; /* Emphasize keywords with gold */
}

/* Hero Banner Section */
.page-game-tutorials-hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0A192F 0%, #2C3E50 100%); /* Dark gradient */
    position: relative;
    overflow: hidden;
}

.page-game-tutorials-hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    color: #ffffff;
}

.page-game-tutorials-hero-content h1 {
    color: #FFD700;
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-tutorials-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-game-tutorials-hero-image {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    z-index: 1;
}

.page-game-tutorials-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-game-tutorials-cta-button,
.page-game-tutorials-cta-button-large {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Gold button */
    color: #0A192F; /* Dark blue text on gold */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    margin-top: 20px;
}

.page-game-tutorials-cta-button:hover,
.page-game-tutorials-cta-button-large:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Intro Section */
.page-game-tutorials-intro {
    background-color: #1A2E47; /* Slightly lighter dark blue */
    padding: 60px 0;
    color: #E0E0E0;
}

.page-game-tutorials-intro h2 {
    color: #FFD700;
}

/* Game Cards Section */
.page-game-tutorials-games {
    padding: 60px 0;
    background-color: #0A192F;
}

.page-game-tutorials-game-card {
    background-color: #1A2E47;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #E0E0E0;
}

.page-game-tutorials-game-card h3 {
    color: #FFD700;
    font-size: 2em;
    text-align: center;
    margin-bottom: 25px;
}

.page-game-tutorials-game-card h4 {
    color: #FFD700;
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: left;
}

.page-game-tutorials-game-card img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-tutorials-read-more {
    display: inline-block;
    background-color: #DC143C; /* Deep red for action links */
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-game-tutorials-read-more:hover {
    background-color: #b00f2f; /* Darker red on hover */
}

/* General Strategies Section */
.page-game-tutorials-general-strategies {
    background-color: #1A2E47;
    padding: 60px 0;
    color: #E0E0E0;
}

.page-game-tutorials-general-strategies h2 {
    color: #FFD700;
}

.page-game-tutorials-strategy-item {
    background-color: #0A192F;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-game-tutorials-strategy-item h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.page-game-tutorials-strategy-item img {
    width: 100%;
    max-width: 600px; /* Max width for strategy images */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-game-tutorials-faq {
    background-color: #0A192F;
    padding: 60px 0;
    color: #E0E0E0;
}

.page-game-tutorials-faq h2 {
    color: #FFD700;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #2C3E50;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #1A2E47; /* Darker background for question */
    color: #FFD700; /* Gold text for question */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.faq-question:hover {
    background: #2C3E50; /* Slightly lighter on hover */
    color: #FFFFFF;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    text-align: left;
    color: inherit; /* Inherit color from parent */
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1; /* Adjust line height for better alignment */
    color: #FFD700;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #DC143C; /* Red when active */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #0A192F; /* Primary dark blue for answer background */
    color: #E0E0E0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to show content */
    padding: 25px;
    border-top: 1px solid #2C3E50;
}

.page-game-tutorials-faq-link {
    display: inline-block;
    margin-top: 15px;
    background-color: #DC143C;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-game-tutorials-faq-link:hover {
    background-color: #b00f2f;
}

/* Final CTA Section */
.page-game-tutorials-cta-final {
    background-color: #1A2E47;
    padding: 80px 0;
    text-align: center;
    color: #E0E0E0;
}

.page-game-tutorials-cta-final h2 {
    color: #FFD700;
    font-size: 2.5em;
}

.page-game-tutorials-cta-final p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-tutorials-cta-final img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-tutorials-hero-content h1 {
        font-size: 2.8em;
    }
    .page-game-tutorials h2 {
        font-size: 1.8em;
    }
    .page-game-tutorials h3 {
        font-size: 1.5em;
    }
    .page-game-tutorials-game-card,
    .page-game-tutorials-strategy-item {
        padding: 20px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-game-tutorials-hero-banner {
        padding: 40px 15px;
    }
    .page-game-tutorials-hero-content h1 {
        font-size: 2.2em;
    }
    .page-game-tutorials-hero-content p {
        font-size: 1em;
    }
    .page-game-tutorials-cta-button,
    .page-game-tutorials-cta-button-large {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-game-tutorials h1 {
        font-size: 2.2em;
    }
    .page-game-tutorials h2 {
        font-size: 1.6em;
        margin-top: 30px;
    }
    .page-game-tutorials h3 {
        font-size: 1.3em;
    }
    .page-game-tutorials h4 {
        font-size: 1.2em;
    }
    .page-game-tutorials-intro,
    .page-game-tutorials-games,
    .page-game-tutorials-general-strategies,
    .page-game-tutorials-faq,
    .page-game-tutorials-cta-final {
        padding: 40px 0;
    }
    .page-game-tutorials-game-card,
    .page-game-tutorials-strategy-item {
        padding: 15px;
    }
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    .faq-question h3 {
        margin-bottom: 5px;
        font-size: 1em;
    }
    .faq-toggle {
        align-self: flex-end;
        margin-top: -25px;
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 15px;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-game-tutorials-cta-final h2 {
        font-size: 2em;
    }
}