/* style/index-top-rated-games.css */

:root {
    --page-index-top-rated-games-primary-bg: #1A202C;
    --page-index-top-rated-games-accent-color: #FFD700;
    --page-index-top-rated-games-text-light: #F0F0F0;
    --page-index-top-rated-games-text-dark: #1A202C;
    --page-index-top-rated-games-secondary-bg: #2D3748;
    --page-index-top-rated-games-border-color: rgba(255, 215, 0, 0.3);
    --page-index-top-rated-games-button-hover: #E6C200;
}

.page-index-top-rated-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-index-top-rated-games-text-light);
    background-color: var(--page-index-top-rated-games-primary-bg);
    line-height: 1.6;
}

.page-index-top-rated-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-index-top-rated-games__container--narrow {
    max-width: 900px;
}

.page-index-top-rated-games__hero {
    background: linear-gradient(135deg, var(--page-index-top-rated-games-primary-bg) 0%, #3a475d 100%);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-top-rated-games__hero-title {
    font-size: 3.5em;
    color: var(--page-index-top-rated-games-text-light);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-top-rated-games__highlight {
    color: var(--page-index-top-rated-games-accent-color);
}

.page-index-top-rated-games__hero-subtitle {
    font-size: 1.3em;
    color: #C0C0C0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-index-top-rated-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    border: none;
}

.page-index-top-rated-games__btn--primary {
    background-color: var(--page-index-top-rated-games-accent-color);
    color: var(--page-index-top-rated-games-text-dark);
}

.page-index-top-rated-games__btn--primary:hover {
    background-color: var(--page-index-top-rated-games-button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
}

.page-index-top-rated-games__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.page-index-top-rated-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-top-rated-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-top-rated-games__section--featured {
    background-color: var(--page-index-top-rated-games-secondary-bg);
}

.page-index-top-rated-games__section-title {
    font-size: 2.8em;
    color: var(--page-index-top-rated-games-text-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-top-rated-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-index-top-rated-games-accent-color);
    border-radius: 2px;
}

.page-index-top-rated-games__section-description {
    font-size: 1.1em;
    color: #B0B0B0;
    max-width: 900px;
    margin: 0 auto 50px;
}

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

.page-index-top-rated-games__game-card {
    background-color: var(--page-index-top-rated-games-primary-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-index-top-rated-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-index-top-rated-games__game-card-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--page-index-top-rated-games-border-color);
}

.page-index-top-rated-games__game-card-title {
    font-size: 1.8em;
    color: var(--page-index-top-rated-games-accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-top-rated-games__game-card-text {
    color: #C0C0C0;
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-index-top-rated-games__btn--secondary {
    background-color: #3A475D;
    color: var(--page-index-top-rated-games-accent-color);
    border: 1px solid var(--page-index-top-rated-games-accent-color);
    padding: 12px 25px;
}

.page-index-top-rated-games__btn--secondary:hover {
    background-color: var(--page-index-top-rated-games-accent-color);
    color: var(--page-index-top-rated-games-primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.page-index-top-rated-games__section--cta-fullwidth {
    background: linear-gradient(90deg, var(--page-index-top-rated-games-primary-bg) 0%, #3A475D 100%);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-index-top-rated-games__section-title--light, .page-index-top-rated-games__section-description--light {
    color: var(--page-index-top-rated-games-text-light);
}

.page-index-top-rated-games__btn--cta-alt {
    background-color: var(--page-index-top-rated-games-accent-color);
    color: var(--page-index-top-rated-games-primary-bg);
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-index-top-rated-games__btn--cta-alt:hover {
    background-color: var(--page-index-top-rated-games-button-hover);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.page-index-top-rated-games__cta-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 50px;
}

.page-index-top-rated-games__cta-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-top-rated-games__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-top-rated-games__why-choose-item {
    background-color: var(--page-index-top-rated-games-secondary-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-top-rated-games__why-choose-item:hover {
    transform: translateY(-5px);
}

.page-index-top-rated-games__why-choose-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-index-top-rated-games-accent-color));
}

.page-index-top-rated-games__why-choose-title {
    font-size: 1.6em;
    color: var(--page-index-top-rated-games-accent-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-top-rated-games__why-choose-text {
    color: #C0C0C0;
    font-size: 0.95em;
}

.page-index-top-rated-games__center-cta {
    margin-top: 50px;
}

.page-index-top-rated-games__section--guide {
    background-color: var(--page-index-top-rated-games-primary-bg);
    padding-bottom: 80px;
}

.page-index-top-rated-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 800px;
    text-align: left;
}

.page-index-top-rated-games__guide-list li {
    background-color: var(--page-index-top-rated-games-secondary-bg);
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
    color: var(--page-index-top-rated-games-text-light);
}

.page-index-top-rated-games__guide-step-number {
    background-color: var(--page-index-top-rated-games-accent-color);
    color: var(--page-index-top-rated-games-primary-bg);
    font-weight: bold;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
    font-size: 1.2em;
}

.page-index-top-rated-games__link {
    color: var(--page-index-top-rated-games-accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-top-rated-games__link:hover {
    color: var(--page-index-top-rated-games-button-hover);
    text-decoration: underline;
}

.page-index-top-rated-games__guide-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
}

.page-index-top-rated-games__section--responsible-gaming {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-index-top-rated-games__responsible-gaming-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 50px;
}

.page-index-top-rated-games__responsible-gaming-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-index-top-rated-games__section--conclusion {
    padding: 80px 0;
    background-color: var(--page-index-top-rated-games-secondary-bg);
}

.page-index-top-rated-games__btn--large {
    padding: 20px 45px;
    font-size: 1.3em;
    border-radius: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-top-rated-games__hero-title {
        font-size: 2.8em;
    }
    .page-index-top-rated-games__section-title {
        font-size: 2.2em;
    }
    .page-index-top-rated-games__game-card-title {
        font-size: 1.5em;
    }
    .page-index-top-rated-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-top-rated-games__hero {
        padding: 60px 0 30px;
    }
    .page-index-top-rated-games__hero-title {
        font-size: 2.2em;
    }
    .page-index-top-rated-games__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-top-rated-games__section {
        padding: 40px 0;
    }
    .page-index-top-rated-games__section-title {
        font-size: 1.8em;
    }
    .page-index-top-rated-games__section-description {
        font-size: 0.95em;
    }
    .page-index-top-rated-games__game-grid {
        grid-template-columns: 1fr;
    }
    .page-index-top-rated-games__why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-index-top-rated-games__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-index-top-rated-games__guide-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-index-top-rated-games__guide-step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-top-rated-games__hero-title {
        font-size: 1.8em;
    }
    .page-index-top-rated-games__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index-top-rated-games__section-title {
        font-size: 1.5em;
    }
    .page-index-top-rated-games__game-card-title {
        font-size: 1.3em;
    }
}