body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bitcount Ink', sans-serif;
    background: linear-gradient(135deg, #150128, #5b04a9);
    color: #ffa024;
    text-align: center;
    overflow: hidden;

    /* glowing background animation */
    animation: glowBackground 6s ease-in-out infinite alternate;
}

/* Splash screen */
.splash {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #7016bc, #ffa024);
    z-index: 10;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.loader {
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.loadTitle {
    font-family: Montserrat;
    color: #fff;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main container */
.container {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.container.show {
    opacity: 1;
    transform: translateY(0);
}

.welcomeTitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    margin-top: -10px;
}

.subtitle {
    font-family: "Bitcount Ink", system-ui;
    font-size: 24px;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Glowing Title */
h1.glow {
    text-shadow:
            0 0 10px #ffa024,
            0 0 20px #7016bc,
            0 0 30px #f86804,
            0 0 40px #f86804;
    animation: titlePulse 2s infinite alternate;
}

@keyframes titlePulse {
    from { text-shadow: 0 0 10px #ffa024, 0 0 20px #7016bc, 0 0 30px #f86804; }
    to   { text-shadow: 0 0 20px #ffa024, 0 0 30px #7016bc, 0 0 50px #f86804; }
}

p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Button with glow on hover */
button {
    background: linear-gradient(90deg, #7016bc, #ffa024);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

button:hover {
    background: linear-gradient(90deg, #5b04a9, #f86804, #ffa024);
    box-shadow: 0 0 20px #ffa024, 0 0 40px #7016bc;
    transform: scale(1.08);
}

/* Button group for multiple buttons */
.button-group {
    display: flex;
    gap: 1rem; /* space between buttons */
    justify-content: center;
    flex-wrap: wrap; /* makes it responsive on small screens */
}

.button-group button {
    flex: 1;
    max-width: 200px; /* keeps buttons from stretching too much */
}