/* Import a modern, slim font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #050914; /* Very dark blue */
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Puts the dots behind the text */
}

/* New container to stack the text neatly */
.content {
    position: relative;
    z-index: 2; /* Puts the text in front of the dots */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Creates perfect spacing between the two lines */
}

.gradient-text {
    font-size: 8vw; /* Scales smoothly with screen size */
    font-weight: 200; /* Ultra-slim font weight */
    letter-spacing: 4px;
    
    /* Create the gradient */
    background: linear-gradient(
        to right,
        #ffffff 20%,
        #647eff 40%,
        #647eff 60%,
        #ffffff 80%
    );
    background-size: 200% auto;
    
    /* Clip the gradient to the text shape */
    color: #000;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Animate the gradient from left to right */
    animation: shine 4s linear infinite;
    cursor: default;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Style for the new simple subtitle */
.subtitle {
    color: rgba(255, 255, 255, 0.5); /* Semi-transparent white for a muted, minimal look */
    font-size: 1.2vw; /* Proportional sizing */
    font-weight: 200; /* Keeps the slim look */
    letter-spacing: 3px; /* Wide tracking for modern aesthetics */
    text-transform: uppercase; 
    cursor: default;
}

/* Ensure the subtitle is readable on small mobile screens */
@media (max-width: 768px) {
    .subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
}