@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1a1a2e;
    color: #fff;
    line-height: 1.6;
}

.game-font {
    font-family: 'Press Start 2P', cursive;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(45deg, #2a2a4a, #1a1a2e);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}



.logo {
    color: #ffd700;
    font-size: 2em;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url(images/1.webp) center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: fadeIn 2s;
    z-index: 2;

}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffd700;
}

.hero-content h1,
.hero-content p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.4)
    );
    z-index: 1;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #2a2a4a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.feature-card {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    animation: fadeInUp 1s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Story Section */
.story {
    padding: 80px 0;
    background: #1a1a2e;
}

/* Gameplay Section */
.gameplay {
    padding: 80px 0;
    background: #2a2a4a;
}

.gameplay-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

}

/* Collection Section */
.collection {
    padding: 80px 0;
    background: #1a1a2e;
}

/* Adventure Section */
.adventure {
    padding: 80px 0;
    background: #2a2a4a;
    text-align: center;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(45deg, #1e3c72, #ffd700);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ffd700;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #1a1a2e;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .gameplay-grid {
        flex-direction: column;
    }

    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

.achievements {
    padding: 80px 0;
    background: #2a2a4a;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-card {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    animation: fadeInUp 1s;
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px; /* Размер иконок */
}

.achievement-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-card:nth-child(1) .feature-icon {
    animation-delay: 0s;
}
.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3) .feature-icon {
    animation-delay: 0.4s;
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
 }
 
 .gameplay img {
    animation: sway 4s ease-in-out infinite;
    transform-origin: center center;
 }

 .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-btn {
    background: #ffd700;
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
}
 