﻿body {
    margin: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1a3f 0%, #190a2d 40%, #0a001f 100%);
    z-index: 0;
}

#ui-container {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 2;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(to bottom, #1a1a3f 0%, transparent 100%);
}

#title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    margin: 2rem;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 4rem;
    text-shadow: #1a1a3f 0 0 2rem;
}

#subtitle {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: #1a1a3f 0 0 2rem;
}

#cta-button {
    background-color: #ffffcc;
    color: #1a1a3f;
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    #cta-button:hover,
    #cta-button:focus {
        background-color: #ffcc66;
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

@media (max-width: 800px) {
    #cta-button {
        left: 1.5rem;
        right: 1.5rem;
        width: auto;
        z-index: 10;
    }

    #ui-container {
        padding-bottom: 5rem;
    }

    body {
        overflow-y: auto;
    }
}

@media (max-width: 800px) and (min-height: 300px) {
    #cta-button {
        position: fixed;
        bottom: 1.5rem;
    }
}

canvas {
    display: block;
    position: relative;
    z-index: 1;
}
