.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F172A 0%, #1a0f3f 50%, #0F172A 100%);
    z-index: -2;
}

.pixel-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    animation: movePixels 20s linear infinite;
}

@keyframes movePixels {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-avatar {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.avatar-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border: 4px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6),
        inset 0 0 20px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.05));
    transition: all 0.3s ease;
}

.avatar-frame:hover {
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.8),
        inset 0 0 30px rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.hero-title {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--white);
    margin: 1.5rem 0;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8),
        0 0 40px rgba(139, 92, 246, 0.4);
    animation: glitch 0.3s ease-out, fadeInDown 0.8s ease-out 0.1s backwards;
}

@keyframes glitch {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    }

    50% {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.6),
            -2px 0 10px #8B5CF6,
            2px 0 10px #A78BFA;
    }
}

.hero-subtitle {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--primary-light);
    margin: 1rem 0 0.5rem;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
    margin: 1rem 0;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--primary-light);
    margin: 1rem 0 2rem;
    font-style: italic;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: 3px solid var(--white);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.9),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transform: scale(1.08) translateY(-3px);
    border-color: var(--primary-light);
}

.hero-cta:active {
    transform: scale(0.95) translateY(0);
    animation: pulse 0.3s ease;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--primary-light);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 10px var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator span {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px var(--primary);
}

.arrow-down {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary), transparent);
    box-shadow: 0 0 10px var(--primary);
    border-radius: 2px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 80px);
        padding-top: 0;
    }

    .avatar-frame {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.65rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .avatar-frame {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
        margin: 1rem 0;
    }

    .hero-cta {
        padding: 0.7rem 1.2rem;
        font-size: 0.55rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
}