* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo a:hover {
    color: #00ff88;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ff88;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

main {
    min-height: calc(100vh - 140px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

footer {
    background-color: #1e1e1e;
    color: #888;
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0056b3;
}

.sitemap {
    text-align: center;
}

.sitemap-title {
    color: #00ff88;
    margin-bottom: 10px;
    font-size: -0.8rem;
    font-weight: bold;
    margin: 0;
}

.sitemap ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.sitemap a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap a:hover {
    color: #00ff88;
}

@media (max-width: 768px) {
    .sitemap ul {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #1e1e1e;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 20px 20px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
}

.download-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 10px;
    margin: 20px 0;
}

.download-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.download-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.download-info-left {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-info-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.05);
}

.app-name {
    font-size: 25px;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 10px;
}

.app-slogan {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 20px;
    font-style: italic;
}

.app-description {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #00ff88;
    width: 100%;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00ff88 0%, #00cc70 100%);
    color: #121212;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
    margin-top: 30px;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.download-icon {
    margin-right: 10px;
    font-size: 1.4rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 255, 136, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

nav.active ul li {
    animation: fadeIn 0.3s ease-out forwards;
}

nav.active ul li:nth-child(1) { animation-delay: 0.1s; }
nav.active ul li:nth-child(2) { animation-delay: 0.2s; }
nav.active ul li:nth-child(3) { animation-delay: 0.3s; }
nav.active ul li:nth-child(4) { animation-delay: 0.4s; }
nav.active ul li:nth-child(5) { animation-delay: 0.5s; }

.download-button {
    animation: pulse 2s infinite;
}

.features-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    margin: 40px 0;
    border-radius: 10px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc70 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #252525 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.versions-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    margin: 40px 0;
    border-radius: 10px;
}

.versions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.version-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #252525 100%);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.version-name {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 500;
    margin: 0;
}

.version-download {
    background: linear-gradient(135deg, #00ff88 0%, #00cc70 100%);
    color: #121212;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
    margin-top: auto;
}

.version-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.5);
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.version-card:nth-child(1) { animation-delay: 0.1s; }
.version-card:nth-child(2) { animation-delay: 0.15s; }
.version-card:nth-child(3) { animation-delay: 0.2s; }
.version-card:nth-child(4) { animation-delay: 0.25s; }
.version-card:nth-child(5) { animation-delay: 0.3s; }
.version-card:nth-child(6) { animation-delay: 0.35s; }
.version-card:nth-child(7) { animation-delay: 0.4s; }
.version-card:nth-child(8) { animation-delay: 0.45s; }
.version-card:nth-child(9) { animation-delay: 0.5s; }

.downloads-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    margin: 40px 0;
    border-radius: 10px;
}

.downloads-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.download-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #252525 100%);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.download-name {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 500;
    margin: 0;
    text-decoration: none;
}

.download-name:hover {
    color: #e0e0e0;
    text-decoration: none;
}

.download-size,
.download-version,
.download-time {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0;
}

.download-link {
    background: linear-gradient(135deg, #00ff88 0%, #00cc70 100%);
    color: #121212;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
    margin-top: auto;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.5);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.download-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.download-card:nth-child(1) { animation-delay: 0.1s; }
.download-card:nth-child(2) { animation-delay: 0.15s; }
.download-card:nth-child(3) { animation-delay: 0.2s; }
.download-card:nth-child(4) { animation-delay: 0.25s; }

.reviews-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    margin: 40px 0;
    border-radius: 10px;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.review-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #252525 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.review-star {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.review-content {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-style: italic;
    margin: 0;
}

.review-card {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 768px) {
    .features-section,
    .versions-section,
    .downloads-section,
    .reviews-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .features-grid,
    .versions-grid,
    .downloads-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .version-card,
    .download-card {
        padding: 15px;
        font-size: 1rem;
    }
    
    .review-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .download-section {
        padding: 40px 0;
    }
    
    .download-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }
    
    .download-info-left {
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .download-info-right {
        text-align: center;
        width: 100%;
    }
    
    .app-description {
        text-align: left;
    }
    
    .app-logo {
        width: 100px;
        height: 100px;
    }
    
    .app-name {
        font-size: 2rem;
    }
    
    .app-slogan {
        font-size: 1rem;
    }
    
    .download-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

.game {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-header {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.game-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: contain;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

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

.game-name {
    margin-top: 15px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.game-content {
    padding: 30px 25px;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.game-info-item {
    text-align: center;
    flex: 1;
}

.game-info-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 5px;
}

.game-info-label {
    font-size: 12px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-description {
    font-size: 15px;
    color: #424245;
    line-height: 1.7;
    margin-bottom: 30px;
}

.game-download {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.game-download:hover::before {
    left: 100%;
}

.game-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.4);
}

.game-download:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .game-header {
        padding: 30px 15px;
    }

    .game-logo {
        width: 80px;
        height: 80px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .game-name {
        font-size: 20px;
    }

    .game-content {
        padding: 20px 20px;
    }

    .game-info-value {
        font-size: 16px;
    }

    .game-description {
        font-size: 14px;
    }
}