/* ============================================================
   hero.css — Стили главного экрана (Hero Section)
   Команда InIProject | Code & Games
   ============================================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-canvas);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    z-index: calc(var(--z-canvas) + 1);
    pointer-events: none;
}

/* ---------- ПАРАЛЛАКС-СЛОИ ---------- */
.hero__parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: calc(var(--z-canvas) + 2);
    pointer-events: none;
    transition: transform 0.05s linear;
    will-change: transform;
}

.hero__floating-icon {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.3;
    user-select: none;
    white-space: nowrap;
}

.hero__floating-icon--accent {
    color: var(--accent);
    opacity: 0.35;
    font-size: 1.8rem;
}

/* ---------- ОСНОВНОЙ КОНТЕНТ ---------- */
.hero__content {
    position: relative;
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.hero__title {
    font-family: var(--font-mono);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 20px var(--accent-glow),
                 0 0 40px var(--accent-glow);
    margin: 0;
    line-height: 1.1;
}

/* ---------- СЛОГАН ---------- */
.hero__slogan {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    margin: 0;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.hero__btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.hero__btn-icon {
    font-size: 0.9rem;
}

.hero__btn-outline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.hero__btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .hero__btn,
    .hero__btn-outline {
        justify-content: center;
        width: 100%;
    }

    .hero__floating-icon {
        font-size: 1rem;
    }

    .hero__floating-icon--accent {
        font-size: 1.2rem;
    }

    .hero__slogan {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero__content {
        gap: 1rem;
    }

    .hero__slogan {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }
    
    .hero__parallax {
        opacity: 0.6;
    }
}