/* ===== БАЗОВЫЕ СТИЛИ ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    /* Шрифты */
    --font-minecraft: 'Minecraft', monospace;
    --font-inter: 'Inter', sans-serif;
    /* Новая зелёная палитра */
    --green-darkest: #5a5a5a; /* Самый тёмный */
    --green-dark: #9a9a9a; /* Тёмный */
    --green: #d6d6d6; /* Основной */
    --green-light: #f2f2f2; /* Светлый */
    --green-very-light: #f2f2f2; /* Очень светлый */
    /* Чёрно-белая палитра - УБРАНЫ СИНИЕ ТОНА */
    --black: #000000;
    --black-dark: #0a0a0a;
    --black-medium: #111111;
    --black-light: #1a1a1a;
    --white: #ffffff;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --gray-very-light: #e0e0e0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: var(--black);
}

/* ===== ЦВЕТОВЫЕ СЕКЦИИ ===== */
.section-dark {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-medium) 50%, var(--black) 100% );
    color: var(--white);
    position: relative;
    z-index: 1;
}

.section-light {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-very-light) 50%, var(--white) 100% );
    color: var(--black);
    position: relative;
    z-index: 1;
}

/* Общие стили для секций */
section {
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    scroll-snap-align: start;
}

/* ===== ГЕРОЙ ===== */
#hero {
    padding: 4rem 2rem 6rem;
    position: relative;
    overflow: visible !important;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
    gap: 3rem;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    min-height: 80vh;
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
    }
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

/* МИНЕКРАФТ ШРИФТ ДЛЯ ЗАГОЛОВКОВ */
.hero-title {
    font-size: clamp(3.0rem, 5vw, 5.0rem);
    font-weight: normal;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
}

.hero-title-green {
    color: var(--green);
    position: relative;
    font-size: clamp(3.0rem, 5vw, 5.0rem);
    font-weight: normal;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
}

    .hero-title-green::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 6px;
        background: var(--green);
        border-radius: 0;
    }

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Контейнер для иконки */
.hero-icon-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    min-height: 400px;
    position: relative;
}

/* Исправленная иконка */
.hero-icon {
    width: 150%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 46%;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 100px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 150px rgba(255, 255, 255, 0.3));
    animation: floatIcon 6s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
    position: relative;
    z-index: 2;
    pointer-events: none; /* Запрещаем клики */
}

/* Анимация парения - без остановки при наведении */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 100px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 150px rgba(255, 255, 255, 0.3));
    }

    25% {
        transform: translateY(-20px) rotate(2deg) scale(1.02);
        filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 120px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 180px rgba(255, 255, 255, 0.4));
    }

    50% {
        transform: translateY(10px) rotate(-1deg) scale(1);
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 90px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 140px rgba(255, 255, 255, 0.2));
    }

    75% {
        transform: translateY(-15px) rotate(1deg) scale(1.01);
        filter: drop-shadow(0 0 55px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 110px rgba(255, 255, 255, 0.55)) drop-shadow(0 0 165px rgba(255, 255, 255, 0.35));
    }
}

/* Эффект при наведении - только свечение */
.hero-icon:hover {
    filter: drop-shadow(0 0 80px rgba(255, 255, 255, 1)) drop-shadow(0 0 150px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 220px rgba(255, 255, 255, 0.6));
    opacity: 1;
}

/* Кнопки с Minecraft шрифтом */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 0; /* Minecraft стиль - квадратные углы */
    font-weight: normal;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

    .btn::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: left 0.5s ease;
    }

    .btn:hover::before {
        left: 100%;
    }

.btn-primary {
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    color: var(--black);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

    .btn-primary:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
    }

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--gray-light);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
        border-color: rgba(255, 255, 255, 0.5);
    }

.section-light .btn-secondary {
    border: 2px solid var(--gray-dark);
    color: var(--black);
    background: transparent;
}

    .section-light .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--green);
    }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    color: var(--gray-light);
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .scroll-indicator:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        color: var(--green);
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Заголовки секций с Minecraft шрифтом */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: normal;
    margin-bottom: 1.5rem;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-dark .section-title {
    color: var(--white);
}

.section-light .section-title {
    color: var(--black);
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 6px;
    background: var(--green);
    margin: 1rem auto 0;
    border-radius: 0;
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.section-dark .section-subtitle {
    color: var(--gray-light);
}

.section-light .section-subtitle {
    color: var(--gray-medium);
}

/* Особенности */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0; /* Minecraft стиль */
    padding: 2rem;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.section-dark .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 0; /* Minecraft стиль */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--black);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Заголовки карточек с Minecraft шрифтом */
.feature-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-dark .feature-title {
    color: var(--white);
}

.section-light .feature-title {
    color: var(--black);
}

.feature-desc {
    line-height: 1.6;
    flex-grow: 1;
}

.section-dark .feature-desc {
    color: var(--gray-light);
}

.section-light .feature-desc {
    color: var(--gray-medium);
}

/* Технологии */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.tech-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0; /* Minecraft стиль */
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .tech-card:hover {
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    }

.tech-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 0; /* Minecraft стиль */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--black);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Заголовки технологий с Minecraft шрифтом */
.tech-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-desc {
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Теги с Minecraft шрифтом */
.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0; /* Minecraft стиль */
    font-size: 0.875rem;
    font-weight: normal;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-minecraft);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Присоединение */
.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0; /* Minecraft стиль */
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.section-dark .step-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* Номера шагов с Minecraft шрифтом */
.step-number {
    font-size: 3rem;
    font-weight: normal;
    color: var(--green);
    margin-bottom: 1rem;
    opacity: 0.7;
    font-family: var(--font-minecraft);
    letter-spacing: 0.05em;
}

/* Заголовки шагов с Minecraft шрифтом */
.step-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-light .step-title {
    color: var(--black);
}

.step-desc {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.section-light .step-desc {
    color: var(--gray-medium);
}

.step-icon {
    font-size: 3rem;
    color: var(--green);
    margin-top: 1rem;
}

/* IP адрес в Minecraft стиле */
.server-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .server-ip code {
        color: var(--green);
        padding: 0.75rem 1.5rem;
        border-radius: 0;
        font-family: var(--font-minecraft);
        font-size: 1.125rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(0, 0, 0, 0.5);
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

.copy-ip-btn {
    background: var(--green);
    color: var(--black);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-minecraft);
}

    .copy-ip-btn:hover {
        background: var(--green-dark);
        transform: scale(1.1);
    }

.final-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Футер */
#footer {
    padding: 4rem 2rem 2rem;
    background: var(--black) !important;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Заголовок футера с Minecraft шрифтом */
.footer-title {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-title-green {
    color: var(--green);
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
}

.footer-sub {
    color: var(--gray-medium);
    margin-bottom: 3rem;
    font-size: 1.25rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Заголовки разделов футера с Minecraft шрифтом */
.footer-heading {
    font-size: 1.25rem;
    font-weight: normal;
    color: var(--green);
    margin-bottom: 1rem;
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-light);
}

    .info-item i {
        color: var(--green);
        width: 20px;
    }

    .info-item code {
        background: rgba(255, 255, 255, 0.1);
        color: var(--green);
        padding: 0.25rem 0.5rem;
        border-radius: 0;
        font-family: var(--font-minecraft);
        font-size: 0.875rem;
        letter-spacing: 0.02em;
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .footer-links a {
        color: var(--gray-light);
        text-decoration: none;
        transition: color 0.3s ease;
        font-family: var(--font-minecraft);
        letter-spacing: 0.02em;
    }

        .footer-links a:hover {
            color: var(--green);
        }

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-light);
}

    .contact-item i {
        color: var(--green);
        width: 20px;
    }

.footer-docs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .footer-docs a {
        color: var(--gray-light);
        text-decoration: none;
        transition: color 0.3s ease;
        font-family: var(--font-minecraft);
        letter-spacing: 0.02em;
    }

        .footer-docs a:hover {
            color: var(--green);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .social-link:hover {
        background: var(--green);
        transform: translateY(-5px) scale(1.1);
        border-color: var(--green);
        box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
    }

.copyright {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--black-medium);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    background: var(--black);
}

/* Заголовок модального окна с Minecraft шрифтом */
.modal-title {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--white);
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.close-modal {
    background: none;
    border: none;
    color: var(--gray-light);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

    .close-modal:hover {
        color: var(--green);
    }

.modal-body {
    padding: 1.5rem;
}

.requisites-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .info-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.info-label {
    color: var(--gray-light);
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 80px;
}

.info-value {
    color: var(--white);
    font-size: 0.95rem;
    text-align: right;
    flex: 1;
}

/* Улучшенные эффекты для средних секций */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(100px, -50px);
    }

    50% {
        transform: translate(-50px, 100px);
    }

    75% {
        transform: translate(100px, 50px);
    }
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .tech-card, .step-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .feature-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .feature-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .tech-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .tech-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .tech-card:nth-child(4) {
        animation-delay: 0.3s;
    }

    .step-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .step-card:nth-child(3) {
        animation-delay: 0.2s;
    }

/* Эффект свечения для иконки */
@keyframes clickGlow {
    0% {
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 100px rgba(255, 255, 255, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 120px rgba(255, 255, 255, 1)) drop-shadow(0 0 200px rgba(255, 255, 255, 1)) drop-shadow(0 0 300px rgba(255, 255, 255, 0.8));
    }

    100% {
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 100px rgba(255, 255, 255, 0.5));
    }
}

.click-effect {
    animation: clickGlow 0.8s ease;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-icon-container {
        min-height: 300px;
    }

    .hero-icon {
        width: 70%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 3rem 1rem 5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-container {
        gap: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-icon-container {
        min-height: 250px;
        order: -1;
    }

    .hero-icon {
        width: 80%;
        max-width: 250px;
    }

    .hero-stats {
        gap: 2rem;
        justify-content: center;
    }

    .stat {
        align-items: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .join-steps {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-icon-container {
        min-height: 200px;
    }

    .hero-icon {
        width: 90%;
        max-width: 200px;
    }

    .final-cta {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Звёздный фон для героя */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: var(--green);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* Стили для нотификаций */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--green);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-family: var(--font-minecraft);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Модальные окна (общие) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-container {
    background: #0d0d0d;
    border-radius: 20px;
    border: 2px solid var(--green);
    box-shadow: 0 0 30px rgba(85, 255, 85, 0.2);
    font-family: var(--font-minecraft), monospace;
}

.modal-map-container {
    max-width: 95% !important;
    width: 1200px !important;
    height: 85% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
}

.modal-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-map-title {
    color: var(--white);
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.modal-map-title span {
    color: var(--green);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-light);
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--green);
}

.modal-map-iframe-wrapper {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
}

.modal-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
