/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a2a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2196f3;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4caf50;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Герой/Главный баннер */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    text-align: right;
    padding-top: 80px;
    padding-right: 50px;
}

.hero-content {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(3, 150, 243, 0.7);
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #2196f3;
    color: white;
}

.btn-primary:hover {
    background-color: #1976d2;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(3, 150, 243, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #2196f3;
}

.btn-secondary:hover {
    background-color: rgba(3, 150, 243, 0.2);
    transform: translateY(-3px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(3, 150, 243, 0.1) 0%, transparent 70%);
}

/* Общие стили секций */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2196f3;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #2196f3, transparent);
}

/* Секция "О проекте" */
.about-section {
    background-color: #0f0f3a;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.game-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #1a1a4a, #2a5a);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.game-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.2) 0%, transparent 40%);
}

/* Секция особенностей */
.features-section {
    background-color: #0a0a2a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(30, 30, 60, 0.6);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(3, 150, 243, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(40, 40, 70, 0.7);
    border: 1px solid rgba(3, 150, 243, 0.6);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2196f3;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Секция FAQ */
.faq-section {
    background-color: #0f0f3a;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(3, 150, 243, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: rgba(3, 150, 243, 0.1);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
    background-color: rgba(30, 30, 60, 0.6);
}

/* Секция загрузки */
.download-section {
    background-color: #0a0a2a;
    text-align: center;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-option {
    background: rgba(30, 30, 60, 0.6);
    padding: 2rem;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(3, 150, 243, 0.3);
}

.download-option h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2196f3;
}

.download-option p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

/* Секция сообщества */
.community-section {
    background-color: #0f0f3a;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: rgba(3, 150, 243, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid rgba(3, 150, 243, 0.3);
}

.social-link:hover {
    background-color: #2196f3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(3, 150, 243, 0.3);
}

/* Футер */
.site-footer {
    background-color: #05051a;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Эффект частиц */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Адаптивный дизайн */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 42, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-options {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Анимации */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.feature-card {
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(2n) {
    animation-delay: 1s;
}

.feature-card:nth-child(3n) {
    animation-delay: 2s;
}

/* Стили для модального окна выбора платформы */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, #0f0f3a, #1a1a4a);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(3, 150, 243, 0.3);
    overflow: hidden;
    animation: modalAppear 0.4s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 20px;
    background: rgba(3, 150, 243, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(33, 150, 243, 0.2);
}

.modal-header h3 {
    color: #2196f3;
    margin: 0;
    font-size: 1.4rem;
}

.close-btn {
    font-size: 1.8rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #2196f3;
}

.modal-body {
    padding: 20px;
}

.platform-option {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.platform-option:hover {
    background: rgba(33, 150, 243, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
}

.platform-option .platform-icon {
    font-size: 2rem;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
}

.platform-option .platform-text {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
}

.modal-donate {
    max-width: 600px;
}

.donate-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2196f3;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: rgba(30, 30, 60, 0.6);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input[type="file"] {
    padding: 8px;
}

.file-preview {
    margin-top: 10px;
    display: none;
}

.file-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid rgba(3, 150, 243, 0.3);
}

.donate-requirements {
    background: rgba(30, 30, 60, 0.6);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.donate-requirements h4 {
    color: #2196f3;
    margin-top: 0;
    margin-bottom: 10px;
}

.donate-requirements p {
    margin: 5px 0;
    color: #cccccc;
}

#submit-donate {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}