/* style/game-guides.css */

/* General styling for the game guides page */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

/* Hero Section */
.page-game-guides__hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1A2E40 0%, #3B5B7A 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-guides__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    font-weight: bold;
    line-height: 1.2;
}

.page-game-guides__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

/* General Section Styling */
.page-game-guides__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #1A2E40;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-guides__section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-game-guides__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-game-guides__btn--primary {
    background-color: #FFD700;
    color: #1A2E40;
    border: 2px solid #FFD700;
}

.page-game-guides__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-guides__btn--secondary {
    background-color: #1A2E40;
    color: #FFD700;
    border: 2px solid #1A2E40;
}

.page-game-guides__btn--secondary:hover {
    background-color: #0d1e2b;
    transform: translateY(-2px);
}


/* Categories Section */
.page-game-guides__categories {
    background-color: #fff;
}

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

.page-game-guides__category-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #FFD700;
}

.page-game-guides__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Category image at the bottom of the grid */
.page-game-guides__category-image-bottom {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__category-title {
    font-size: 1.8em;
    color: #1A2E40;
    margin-bottom: 15px;
}

.page-game-guides__category-description {
    font-size: 1em;
    color: #666;
    line-height: 1.7;
}

/* Strategy Section */
.page-game-guides__strategy {
    background-color: #f0f4f8;
    position: relative;
    overflow: hidden;
}

.page-game-guides__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.page-game-guides__strategy-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-left: 5px solid #1A2E40;
}

.page-game-guides__strategy-item-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-game-guides__strategy-item p {
    font-size: 1em;
    color: #555;
}

.page-game-guides__strategy-image {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: auto;
    opacity: 0.1;
    z-index: 1;
    transform: rotate(15deg);
}

/* Detailed Guides Section */
.page-game-guides__detailed-guides {
    background-color: #fff;
}

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

.page-game-guides__detail-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.page-game-guides__detail-item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-game-guides__detail-item-title a {
    color: #1A2E40;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-guides__detail-item-title a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-game-guides__detail-item-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsible Gaming Section */
.page-game-guides__responsible-gaming {
    background-color: #1A2E40;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.page-game-guides__responsible-gaming .page-game-guides__section-title {
    color: #FFD700;
}

.page-game-guides__responsible-gaming p {
    color: #c0c0c0;
    text-align: left;
    position: relative;
    z-index: 2;
}

.page-game-guides__responsible-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    z-index: 1;
}

/* Contact CTA Section */
.page-game-guides__contact-cta {
    background-color: #f9f9f9;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-game-guides__contact-cta p {
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-game-guides__hero-title {
        font-size: 3em;
    }
    .page-game-guides__section-title {
        font-size: 2.2em;
    }
    .page-game-guides__grid,
    .page-game-guides__strategy-grid,
    .page-game-guides__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero {
        padding: 80px 0;
        min-height: 300px;
    }
    .page-game-guides__hero-title {
        font-size: 2.5em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 1.1em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__section p {
        font-size: 1em;
    }
    .page-game-guides__grid,
    .page-game-guides__strategy-grid,
    .page-game-guides__detail-list {
        grid-template-columns: 1fr;
    }
    .page-game-guides__strategy-image {
        width: 200px;
        bottom: -20px;
        right: -20px;
    }
    .page-game-guides__category-image-bottom {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 2em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 0.9em;
    }
    .page-game-guides__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides__section {
        padding: 40px 15px;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__category-item,
    .page-game-guides__strategy-item,
    .page-game-guides__detail-item {
        padding: 20px;
    }
    .page-game-guides__category-title {
        font-size: 1.5em;
    }
    .page-game-guides__strategy-item-title {
        font-size: 1.3em;
    }
}

/* Ensure text contrast for all elements */
/* Colors already chosen for contrast based on WCAG AA standards */
.page-game-guides__hero-title, .page-game-guides__btn--primary {
    color: #FFD700; /* Gold on dark blue */
}
.page-game-guides__hero-subtitle, .page-game-guides__responsible-gaming p {
    color: #e0e0e0; /* Light gray on dark blue */
}
.page-game-guides__section-title, .page-game-guides__category-title, .page-game-guides__detail-item-title a, .page-game-guides__btn--secondary {
    color: #1A2E40; /* Dark blue on light background / gold */
}
.page-game-guides__strategy-item-title {
    color: #FFD700; /* Gold on white */
}
.page-game-guides__section p, .page-game-guides__category-description, .page-game-guides__strategy-item p, .page-game-guides__detail-item-description {
    color: #333; /* Dark gray on light background */
}