
:root {
    --primary-color: #192A53;
    --secondary-color: #C7EE32;
    --accent-color: #C7EE32;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #09121C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

header {
    background: var(--primary-color);
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #C7EE32;
    text-decoration: none;
    gap: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hero {
    background: url(../images/hero-section-bg.jpg) center/cover no-repeat;
    height: 690px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    max-width: 270px;
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-games {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.evocation-games {
    padding: 100px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: linear-gradient(180deg, #1F305C 50%, #0D1E30 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.game-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-details {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.game-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.discount {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.btn-amazon {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 0;
    background: linear-gradient(135deg, #f90 0%, #ff6a00 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #ff6a00 0%, #f90 100%);
    transform: translateY(-2px);
}

.age-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-weight: 600;
}

/* evocation */

.evocation-tops {
    padding: 120px 0 80px;
}

.evocation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.evocation-photo {
    overflow: hidden;
    border-radius: 10px;
}

.evocation-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evocation-details p {
    font-size: 1.9rem;
    line-height: 1.6;
}   


/* analysis */

.analysis-tops {
    padding: 80px 0 120px;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.analysis-details {
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #1F305C 50%, #0D1E30 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.4rem;
}

/* banners */

.banners-tops {
    padding: 100px 0 200px;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.banners-details {
    overflow: hidden;
    border-radius: 15px;
}

.banners-details img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



footer {
    background: var(--primary-color);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-decoration: none;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: capitalize;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about p {
    text-transform: capitalize;
}

.direction-tops {
    padding: 60px 0 40px;
}

.direction-tops h1 {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 20px;
    text-align: center;
}

.direction-tops h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
}

.direction-tops h3 {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 14px;
}

.direction-tops p {
    margin-bottom: 14px;
}

.direction-tops ul {
    padding-left: 24px;
}

.direction-tops li {
    margin-bottom: 10px;
}

.direction-tops a {
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}



@media (max-width: 1024px) {
    nav {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .section-title {
        margin-bottom: 3rem;
        font-size: 2.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        height: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .evocation-details p {
        font-size: 1.1rem;
    }

    .evocation-tops {
        padding: 60px 0 40px;
    }

    .evocation-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .evocation-games {
        padding: 40px 0;
    }

    .analysis-tops {
        padding: 40px 0;
    }

    .banners-tops {
        padding: 60px 0;
    }

    .banners-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .analysis-details img {
        width: 56px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .footer-about p {
        margin-bottom: 2rem;
    }

    .direction-tops {
        padding: 40px 0 40px;
    }
}