/* style/game-guides.css */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

.page-game-guides__hero {
    background: linear-gradient(135deg, #0A2463, #3A5A93);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Auxiliary color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Light variant for contrast */
}

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

.page-game-guides__section--dark {
    background-color: #e6eaf2; /* Lighter variant of main color for background contrast */
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-guides__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Auxiliary color */
    border-radius: 2px;
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: #0A2463; /* Main color */
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700; /* Auxiliary color for accent */
    padding-left: 15px;
}

.page-game-guides__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping on small buttons */
}

.page-game-guides__btn--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0A2463; /* Main color for contrast */
    border: 2px solid #FFD700;
}

.page-game-guides__btn--primary:hover {
    background-color: #e6c200; /* Darker auxiliary color */
    transform: translateY(-3px);
}

.page-game-guides__btn--secondary {
    background-color: #0A2463; /* Main color */
    color: #FFD700; /* Auxiliary color for contrast */
    border: 2px solid #0A2463;
}

.page-game-guides__btn--secondary:hover {
    background-color: #071a47; /* Darker main color */
    transform: translateY(-3px);
}

.page-game-guides__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin: 10px;
}

.page-game-guides__introduction p,
.page-game-guides__advanced-strategies p,
.page-game-guides__safety p {
    font-size: 1.1em;
    color: #555; /* Dark gray for readability on light background */
    margin-bottom: 15px;
}

.page-game-guides__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-game-guides__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-game-guides__popular-games-section .page-game-guides__container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.page-game-guides__popular-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%; /* Ensure grid takes full width of container */
}

.page-game-guides__game-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-game-guides__game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-game-guides__game-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-game-guides__game-card-title {
    font-size: 1.5em;
    color: #0A2463; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-guides__game-card-title a {
    color: #0A2463; /* Main color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__game-card-title a:hover {
    color: #FFD700; /* Auxiliary color */
}

.page-game-guides__game-card-description {
    font-size: 1em;
    color: #666; /* Medium gray for readability */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__text-link {
    color: #0A2463; /* Main color */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-guides__text-link:hover {
    color: #FFD700; /* Auxiliary color */
}

.page-game-guides__cta-content {
    text-align: center;
    background-color: #0A2463; /* Main color for strong CTA background */
    color: #fff;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-game-guides__cta-content .page-game-guides__section-title {
    color: #FFD700; /* Auxiliary color for CTA title */
    margin-bottom: 25px;
}

.page-game-guides__cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0; /* Light variant for readability */
}

.page-game-guides__copyright {
    text-align: center;
    padding: 30px 20px;
    background-color: #0A2463; /* Main color for footer */
    color: #fff;
    font-size: 0.9em;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 1.3em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__sub-title {
        font-size: 1.5em;
    }
    .page-game-guides__popular-games {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust min-width */
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero {
        padding: 80px 0;
    }
    .page-game-guides__hero-title {
        font-size: 2.2em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 1.1em;
    }
    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-game-guides__popular-games {
        gap: 20px;
    }
    .page-game-guides__game-card-image {
        height: 180px;
    }
    .page-game-guides__game-card-title {
        font-size: 1.3em;
    }
    .page-game-guides__cta-content {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 0.9em;
    }
    .page-game-guides__btn--large {
        display: block;
        margin: 10px auto;
        width: 90%;
    }
    .page-game-guides__popular-games {
        grid-template-columns: 1fr;
    }
    .page-game-guides__game-card-content {
      padding: 20px;
    }
    .page-game-guides__game-card-title {
      font-size: 1.2em;
    }
    .page-game-guides__game-card-description {
      font-size: 0.9em;
    }
}