/* Base Styles for page-game-guides */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background: #F5F7FA; /* Custom background color */
}

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

.page-game-guides__section {
    padding: 60px 0;
    text-align: center;
}

.page-game-guides__section-title {
    font-size: 36px;
    color: #E53935; /* Main brand color */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-game-guides__section-title--white {
    color: #ffffff;
}

.page-game-guides__section-description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__section-description--white {
    color: #f0f0f0;
}

/* Hero Section */
.page-game-guides__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #ffffff;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient */
}

.page-game-guides__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Default to column for small screens, then row */
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-game-guides__hero-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-game-guides__hero-text-block {
    text-align: center;
    flex: 1;
    max-width: 600px;
}

.page-game-guides__main-title {
    font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-game-guides__main-title-brand {
    color: #FFD700; /* Gold-like color for brand highlight */
}

.page-game-guides__description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-game-guides__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 500px;
    margin: 0 auto;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-game-guides__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button gradient */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-game-guides__btn-secondary {
    background: #ffffff;
    color: #E53935; /* Main brand color */
    border: 2px solid #E53935;
}

.page-game-guides__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.page-game-guides__btn-primary--large {
    font-size: 22px;
    padding: 18px 40px;
    min-width: 280px;
}

/* Introduction Section */
.page-game-guides__introduction {
    background: #F5F7FA;
}

.page-game-guides__introduction .page-game-guides__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-game-guides__content-area {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    color: #333333;
}

.page-game-guides__content-area p {
    margin-bottom: 20px;
}

.page-game-guides__image-full-width {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Game Types Section */
.page-game-guides__game-types {
    background: #ffffff;
}

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

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

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

.page-game-guides__card {
    background: #FFFFFF; /* Custom card background */
    border: 1px solid #E0E0E0; /* Custom border color */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-game-guides__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-game-guides__card-title {
    font-size: 22px;
    color: #E53935;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-game-guides__card p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__card-link {
    display: inline-block;
    background: #FF5A4F; /* Auxiliary brand color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-game-guides__card-link:hover {
    background: #E53935; /* Main brand color on hover */
}

/* Strategies Section */
.page-game-guides__strategies {
    background: #E53935; /* Main brand color background */
    color: #ffffff;
}

.page-game-guides__strategy-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    box-sizing: border-box;
}

.page-game-guides__strategy-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-game-guides__strategy-item p {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-game-guides__strategy-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    display: block;
}

/* Benefits Section */
.page-game-guides__benefits {
    background: #F5F7FA;
}

.page-game-guides__benefit-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-game-guides__benefit-title {
    font-size: 20px;
    color: #E53935;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-game-guides__benefit-card p {
    font-size: 16px;
    color: #333333;
    flex-grow: 1;
}

/* FAQ Section */
.page-game-guides__faq-section {
    background: #ffffff;
}

.page-game-guides__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: #f5f5f5;
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Bottom CTA Section */
.page-game-guides__cta-bottom {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient */
    color: #ffffff;
    padding: 80px 0;
}

/* Responsive Styles */
@media (min-width: 769px) {
    .page-game-guides__hero-content-wrapper {
        flex-direction: row;
        text-align: left;
    }
    .page-game-guides__hero-text-block {
        text-align: left;
    }
    .page-game-guides__cta-buttons {
        justify-content: flex-start;
    }
    .page-game-guides__introduction .page-game-guides__container {
        flex-direction: row;
        text-align: left;
    }
    .page-game-guides__introduction .page-game-guides__content-area {
        flex: 1;
    }
}

@media (max-width: 1024px) {
    .page-game-guides__container {
        padding: 15px;
    }
    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: 30px;
    }
    .page-game-guides__section-description {
        font-size: 16px;
    }
    .page-game-guides__hero-section {
        min-height: 500px;
    }
    .page-game-guides__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-game-guides__description {
        font-size: 16px;
    }
    .page-game-guides__btn-primary, .page-game-guides__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-game-guides__btn-primary--large {
        font-size: 20px;
        padding: 15px 35px;
    }
    .page-game-guides__grid--2-cols {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 849px) {
    .page-game-guides__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-top: 10px; /* Specific small top padding for mobile hero */
        min-height: auto;
        padding-bottom: 40px;
    }
    .page-game-guides__hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }
    .page-game-guides__hero-image {
        max-width: 100%;
    }
    .page-game-guides__hero-text-block {
        max-width: 100%;
    }
    .page-game-guides__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-game-guides__description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 16px;
    }
    .page-game-guides__btn-primary--large {
        font-size: 18px;
        padding: 15px 25px;
        min-width: unset;
    }

    .page-game-guides__section {
        padding: 30px 0;
    }
    .page-game-guides__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-game-guides__section-description {
        font-size: 15px;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    .page-game-guides__introduction .page-game-guides__container {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    .page-game-guides__content-area {
        font-size: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
        margin-top: 25px;
    }
    .page-game-guides__grid--2-cols, .page-game-guides__grid--3-cols {
        grid-template-columns: 1fr;
    }
    .page-game-guides__card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__card-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-guides__card-title {
        font-size: 20px;
    }
    .page-game-guides__card p {
        font-size: 15px;
    }
    .page-game-guides__strategy-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__strategy-title {
        font-size: 20px;
    }
    .page-game-guides__strategy-item p {
        font-size: 15px;
    }
    .page-game-guides__strategy-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-guides__benefit-card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__benefit-title {
        font-size: 18px;
    }
    details.page-game-guides__faq-item summary.page-game-guides__faq-question { padding: 15px; }
    .page-game-guides__faq-qtext { font-size: 15px; }
    details.page-game-guides__faq-item .page-game-guides__faq-answer { padding: 0 15px 15px; }
    .page-game-guides__faq-list {
        margin-top: 25px;
        padding: 0 15px;
    }
    .page-game-guides__cta-bottom {
        padding: 50px 0;
    }
}