/* style/game-guides.css */

/* Variables for consistency */
:root {
    --page-game-guides-primary-color: #1A237E; /* Dark Blue */
    --page-game-guides-secondary-color: #FFB300; /* Amber Gold */
    --page-game-guides-text-dark: #333333;
    --page-game-guides-text-light: #ffffff;
    --page-game-guides-background-light: #f8f8f8;
    --page-game-guides-background-dark: #12184d; /* Slightly lighter than primary for dark backgrounds */
    --page-game-guides-border-color: #e0e0e0;
}

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

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

/* --- Hero Section --- */
.page-game-guides__hero {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-game-guides__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9), rgba(255, 179, 0, 0.6));
    z-index: 1;
}

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

.page-game-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-game-guides__hero .page-game-guides__container {
    position: relative;
    z-index: 2;
}

.page-game-guides__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-game-guides-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-game-guides__btn--primary {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
}

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

.page-game-guides__btn--secondary {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-secondary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-game-guides__btn--secondary:hover {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    transform: translateY(-1px);
}

/* --- Section Styling --- */
.page-game-guides__section {
    padding: 60px 0;
    background-color: var(--page-game-guides-background-light);
}

.page-game-guides__section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--page-game-guides-primary-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: var(--page-game-guides-secondary-color);
    border-radius: 2px;
}

.page-game-guides__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 40px auto;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__introduction p,
.page-game-guides__why-kubet p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__image--full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__image--medium {
    display: block;
    width: 80%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Why Kubet List --- */
.page-game-guides__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-game-guides__list li {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--page-game-guides-secondary-color);
    font-size: 1.1em;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__list li strong {
    color: var(--page-game-guides-primary-color);
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

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

.page-game-guides__guide-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-guides__guide-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-game-guides__guide-title {
    font-size: 1.5em;
    color: var(--page-game-guides-primary-color);
    margin: 20px 15px 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-game-guides__guide-title a {
    color: var(--page-game-guides-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__guide-title a:hover {
    color: var(--page-game-guides-secondary-color);
}

.page-game-guides__guide-description {
    font-size: 1em;
    color: var(--page-game-guides-text-dark);
    padding: 0 15px;
    margin-bottom: 20px;
    min-height: 80px;
}

.page-game-guides__guide-card .page-game-guides__btn--secondary {
    margin-bottom: 20px;
}

/* --- General Tips Section --- */
.page-game-guides__general-tips {
    background-color: var(--page-game-guides-background-dark);
    color: var(--page-game-guides-text-light);
}

.page-game-guides__general-tips .page-game-guides__section-title {
    color: var(--page-game-guides-text-light);
}

.page-game-guides__general-tips .page-game-guides__section-title::after {
    background-color: var(--page-game-guides-secondary-color);
}

.page-game-guides__general-tips p {
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
    font-size: 1.1em;
    margin-bottom: 20px;
}

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

.page-game-guides__tip-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-game-guides__tip-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-game-guides__tip-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(287deg) brightness(100%) contrast(100%);
}

.page-game-guides__tip-title {
    font-size: 1.4em;
    color: var(--page-game-guides-secondary-color);
    margin-bottom: 15px;
}

.page-game-guides__tip-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Call to Action Section --- */
.page-game-guides__cta {
    background-color: var(--page-game-guides-secondary-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-game-guides__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 179, 0, 0.9), rgba(26, 35, 126, 0.6));
    z-index: 1;
}

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

.page-game-guides__cta-content {
    position: relative;
    z-index: 2;
    color: var(--page-game-guides-primary-color);
}

.page-game-guides__cta-title {
    font-size: 2.8em;
    color: var(--page-game-guides-primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-game-guides__cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-game-guides-primary-color);
}

.page-game-guides__cta-note {
    margin-top: 30px;
    font-size: 1em;
    color: var(--page-game-guides-primary-color);
    opacity: 0.9;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .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__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-game-guides__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-game-guides__cta-title {
        font-size: 2.2em;
    }
    .page-game-guides__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero {
        padding: 60px 0;
    }
    .page-game-guides__hero-title {
        font-size: 2em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 1em;
    }
    .page-game-guides__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-guides__introduction p,
    .page-game-guides__why-kubet p {
        font-size: 1em;
    }
    .page-game-guides__list li {
        font-size: 1em;
        padding: 20px;
    }
    .page-game-guides__guide-title {
        font-size: 1.3em;
        min-height: auto;
    }
    .page-game-guides__guide-description {
        font-size: 0.95em;
        min-height: auto;
    }
    .page-game-guides__tip-item {
        padding: 20px;
    }
    .page-game-guides__tip-title {
        font-size: 1.2em;
    }
    .page-game-guides__cta {
        padding: 60px 0;
    }
    .page-game-guides__cta-title {
        font-size: 1.8em;
    }
    .page-game-guides__cta-description {
        font-size: 1em;
    }
    .page-game-guides__image--medium {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .page-game-guides__container {
        padding: 0 15px;
    }
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__hero-subtitle {
        font-size: 0.9em;
    }
    .page-game-guides__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-game-guides__section-title {
        font-size: 1.5em;
    }
    .page-game-guides__list {
        grid-template-columns: 1fr;
    }
    .page-game-guides__grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__tips-grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__cta-title {
        font-size: 1.5em;
    }
    .page-game-guides__image--full-width {
        max-height: 250px;
    }
}