:root {
    --primary: #0a1520;
    --secondary: #f8f9fa;
    --accent: #0099ff;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "font";
    /*a name to be used later*/
    src: url("/assets/fonts/font.otf");
    /*URL to font*/
}


body {
    background-color: var(--primary);
    font-family: 'font';
    color: var(--text-primary);
    font-family: 'font';
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    max-width: 500px;
    padding: 0 20px;
    z-index: 1;
}

.title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.headline {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent);
}

.subtext {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.input-container {
    margin-bottom: 30px;
}

.name-input {
    width: 100%;
    max-width: 360px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    padding: 0 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.name-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.name-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.button {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    height: 50px;
    padding: 0 30px;
    font-size: 16px;
    font-family: 'font';
    cursor: pointer;
    transition: all 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.3);
}

.button:active {
    transform: translateY(0);
}

.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 0.29vh;
    height: .29vh;
    background: white;
    border-radius: 50%;
    animation: twinkle 4.5s ease-in-out infinite;
    opacity: 0;
    transform: scale(0);
}

.stars {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}