/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: #1a1a1a;
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    overflow-x: hidden;
}

/* Фон: цифровой дождь */
.digital-rain-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00ddeb;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Хедер */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 15px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: -1;
    transform: translateY(0);
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 4rem;
    background: linear-gradient(45deg, #00ddeb, #ff007a);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 221, 235, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 20px 0;
    color: #ccc;
}

.hero-subtitle span {
    color: #ff007a;
    font-weight: 600;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #00ddeb;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 40px;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 221, 235, 0.5);
}

/* Секции */
.section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #00ddeb, #ff007a);
    -webkit-background-clip: text;
    color: transparent;
    word-break: break-word;
}

.section-text {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* О проекте - карточки */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Игра - фичи */
.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    text-align: center;
}

.feature img {
    max-width: 100%;
    border-radius: 10px;
    border: 2px solid #00ddeb;
}

.feature p {
    margin-top: 10px;
    color: #ccc;
}

/* Роадмап */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00ddeb, #ff007a);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin: 60px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 45%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #00ddeb;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Токен - инфо */
.token-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.token-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .navbar {
        flex-direction: column;
        padding: 10px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }

    .hero-section {
        padding: 0 10px;
    }
    .hero-title {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    .btn-cta {
        padding: 12px 30px;
        margin-top: 30px;
    }

    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .section-text {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 10px;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .card {
        padding: 20px;
    }
    .card h3 {
        font-size: 1.3rem;
    }

    .game-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .token-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .token-card {
        padding: 20px;
    }

    .timeline {
        padding-left: 40px;
    }
    .timeline-line {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        text-align: left;
        transform: translateX(0);
        margin: 30px 0;
    }
    .timeline-item:nth-child(even) {
        flex-direction: column;
        transform: translateX(0);
    }
    .timeline-content {
        width: 100%;
        margin-left: 20px;
        padding: 15px;
    }
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    .timeline-content p {
        font-size: 0.9rem;
    }
    .timeline-dot {
        left: 10px;
    }
}