#landing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;

    background-color: rgba(var(--primary-rgb), 0.12);
    
    --cursor-x: 50%;
    --cursor-y: 50%;
}

/* Blur effect - lowest layer */
#landing #blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    z-index: 1;
    
    /* Blur spotlight effect */
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.8) 0%, rgba(var(--primary-light-rgb), 0.4) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    
    /* Smooth transitions */
    transition: opacity 0.2s ease;
    will-change: transform;
}

/* Black background with transparent dots - middle layer */
#landing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    
    /* Black background with transparent dot cutouts */
    background-color: var(--primary-background);
    mask-image: radial-gradient(circle, transparent 1px, black 2px);
    mask-size: 30px 30px;
    mask-position: 0 0;
    pointer-events: none;
}

/* Text */
#landing .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 3;

    cursor: default;
}
#landing .text h1 {
    font-size: 5.5rem;
    font-weight: 700;
    margin: 0;
}
#landing .text p {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}


/* Socials */
#landing .socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 3;

    padding: 0;
    margin: 0;
}
#landing .socials a {
    border-radius: 50%;
    padding: 10px;

    width: 34px;
    height: 34px;

    transition: 0.25s var(--transition-sharp);
}
#landing .socials a:hover {
    background-color: rgba(var(--primary-rgb), 0.25);
    cursor: pointer;
}

/* Scroller */
#landing .scroller {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;

    padding: 15px;
    border-radius: 50%;

    width: 24px;
    height: 24px;

    transition: 0.25s var(--transition-sharp);
    animation: arrow-jump 3s infinite;
}
#landing .scroller .icon {
    display: block;

    mask-size: contain;
    mask-repeat: no-repeat;
    background-color: var(--text-color);

    transform: rotate(180deg);
    
    width: 100%;
    height: 100%;
}
#landing .scroller:hover {
    background-color: rgba(var(--primary-rgb), 0.25);
    cursor: pointer;
}

@keyframes arrow-jump {
    0% { transform: translate(-50%, 0); }
    15% { transform: translate(-50%, -15px); }
    30% { transform: translate(-50%, 0); }
    100% { transform: translate(-50%, 0); }
}

/* Fade */
#landing .fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to top, var(--primary-background), rgba(var(--primary-background-rgb), 0));
    z-index: 3;
}