/* style/game-guides.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

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

.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0;
    overflow: hidden;
    text-align: center;
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 30px 20px;
    margin-top: -150px; /* Adjust to bring content up slightly over the image if needed, but not overlap text on image */
    background: linear-gradient(to top, var(--background-color) 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0) 100%);
    border-radius: 8px;
}

.page-game-guides__main-title {
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-game-guides__description {
    color: var(--text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-game-guides__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-game-guides__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-game-guides__cta-button--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-game-guides__section {
    padding: 60px 0;
    background-color: var(--background-color);
    border-top: 1px solid var(--divider-color);
}

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

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 6px rgba(87, 227, 141, 0.4);
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 0 0 4px rgba(34, 199, 104, 0.3);
}

.page-game-guides__text-block {
    font-size: 1.05em;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-game-guides__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-game-guides__grid-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-game-guides__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: block;
}

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

.page-game-guides__game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-game-guides__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 10px var(--glow-color);
}

.page-game-guides__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-game-guides__game-card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-game-guides__game-card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-game-guides__game-card-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-game-guides__game-card-link:hover {
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.page-game-guides__button-group {
    text-align: center;
    margin-top: 50px;
}

.page-game-guides__strategy-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-game-guides__faq-list {
    margin-top: 40px;
}

.page-game-guides__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    transform: rotate(45deg);
}

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

.page-game-guides__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

.page-game-guides__faq-answer p {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-game-guides__grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-game-guides {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-game-guides__hero-section {
        padding-bottom: 30px;
    }
    .page-game-guides__hero-content {
        margin-top: -80px;
        padding: 20px 15px;
    }
    .page-game-guides__main-title {
        font-size: clamp(2em, 5vw, 2.5em);
    }
    .page-game-guides__description {
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-game-guides__sub-title {
        font-size: 1.5em;
    }
    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__container {
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-game-guides img {
        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__hero-section,
    .page-game-guides__hero-image-wrapper,
    .page-game-guides__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-game-guides__hero-section {
      padding-left: 0;
      padding-right: 0;
    }
    .page-game-guides__hero-image-wrapper {
      padding-left: 0;
      padding-right: 0;
    }

    /* Mobile video responsiveness (if any) */
    .page-game-guides video,
    .page-game-guides__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-game-guides__video-section,
    .page-game-guides__video-container,
    .page-game-guides__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-game-guides__video-section {
      padding-top: 10px !important;
    }

    /* Mobile button responsiveness */
    .page-game-guides__cta-button,
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides a[class*="button"],
    .page-game-guides a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-game-guides__button-group {
      display: flex;
      flex-direction: column;
      gap: 15px;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-game-guides__button-group .page-game-guides__cta-button {
        margin: 0 auto;
    }
    .page-game-guides__game-card-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-content {
        margin-top: -60px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__sub-title {
        font-size: 1.3em;
    }
    .page-game-guides__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}