/* style/game-strategies.css */

/* Base styles for the page content */
.page-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-game-strategies__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-strategies__paragraph {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-game-strategies__paragraph a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

/* Hero Section */
.page-game-strategies__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #017439, #005f2f); /* Gradient with brand color */
    color: #ffffff;
}

.page-game-strategies__hero-content {
    z-index: 1;
    max-width: 900px;
}

.page-game-strategies__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-game-strategies__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-game-strategies__hero-cta-buttons,
.page-game-strategies__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-game-strategies__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    filter: brightness(0.7); /* Darken image slightly, but no color change */
}

/* Buttons */
.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary,
.page-game-strategies__btn-register,
.page-game-strategies__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-game-strategies__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-game-strategies__btn-primary:hover {
    background-color: #005f2f;
    border-color: #005f2f;
}

.page-game-strategies__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-game-strategies__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-game-strategies__btn-register {
    background-color: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom font color for register */
    border: 2px solid #C30808;
}

.page-game-strategies__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-game-strategies__btn-login {
    background-color: #C30808; /* Custom color for login */
    color: #FFFF00; /* Custom font color for login */
    border: 2px solid #C30808;
}

.page-game-strategies__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

/* Section Backgrounds */
.page-game-strategies__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for sections */
    color: #ffffff;
}

.page-game-strategies__light-bg {
    background-color: #2a2a2a; /* Even lighter dark for contrast */
    color: #ffffff;
}

/* Card Styles */
.page-game-strategies__download-cards,
.page-game-strategies__strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategies__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.page-game-strategies__card-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #017439; /* Brand color for card titles */
}

.page-game-strategies__card-image {
    width: 100%;
    max-width: 400px; /* Limit image width in cards */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

.page-game-strategies__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.page-game-strategies__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
}

.page-game-strategies__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

.page-game-strategies__note {
    font-style: italic;
    font-size: 0.95em;
    margin-top: 30px;
    text-align: center;
    color: #cccccc;
}

/* Video Section */
.page-game-strategies__video-section {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* For desktop */
}

.page-game-strategies__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
}

.page-game-strategies__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.page-game-strategies__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.page-game-strategies__video-wrapper:hover .page-game-strategies__video-overlay {
    opacity: 1;
}

/* Registration Guide */
.page-game-strategies__guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategies__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-game-strategies__step-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

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

.page-game-strategies__promo-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-align: left;
}

.page-game-strategies__promo-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-game-strategies__faq-section {
    text-align: center;
    padding-bottom: 60px;
}

.page-game-strategies__faq-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-game-strategies__faq-list {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* For <summary> */
}

.page-game-strategies__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> */
}

.page-game-strategies__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-game-strategies__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.03);
}

/* Final CTA Section */
.page-game-strategies__final-cta {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategies__hero-title {
        font-size: 3em;
    }

    .page-game-strategies__hero-description {
        font-size: 1.2em;
    }

    .page-game-strategies__section-title {
        font-size: 2em;
    }

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