* {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #ff6f00;
    --hover-color: #ed5807;
    --font-color: #ffffff;
}

body {
    width: 100vw;
    height: 100vh; /* Ensure full height for vertical centering */
    background: url('images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Rock Salt", cursive;
}

.welcome {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px) saturate(150%);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}



.heading h3 {
    padding-top: 10px;
    font-size: 23px;
    
}

.heading img {
    animation: rotator 0.4s infinite ease-in-out;
    transform-origin: center;
}

@keyframes rotator {
    0% { transform: rotate(20deg); }
    50% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

.welcome a {
    letter-spacing: 5px;
    text-align: center;
    font-size: 22px;
    background-color: var(--primary-color);
    color: var(--font-color);
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.welcome a:hover {
    transform: scale(1.08);
    background-color: var(--hover-color);
    cursor: pointer;
}
/* MOBILE / TABLET RESPONSIVENESS */
@media (max-width: 768px) {
    .welcome {
        width: 96vw;
        min-width: 0;
        margin: 0 auto;
        padding: 2vh 2vw;
        box-sizing: border-box;
        border-radius: 2vw;
        background: rgba(255,255,255,0.15);
        box-shadow: 0 2px 16px #0002;
        position: relative;
        top: 5vh;
    }
    .heading {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2vw;
        margin-bottom: 2vh;
    }
    .head-img-1, .head-img-2 {
        width: 32px;
        height: 32px;
    }
    .heading h3 {
        font-size: 2rem;
        margin: 0;
    }
    .start-game, .options, .exit {
        display: block;
        width: 90vw;
        max-width: 320px;
        margin: 2vh auto;
        padding: 1.2em 0;
        font-size: 1.2rem;
        text-align: center;
        border-radius: 1em;
        background: #ff6f00;
        color: #fff;
        text-decoration: none;
        font-family: 'Rock Salt', cursive;
        box-shadow: 0 2px 8px #0001;
        transition: background 0.2s;
    }
    .start-game:hover, .options:hover, .exit:hover {
        background: #ed5807;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .welcome {
        width: 100vw;
        padding: 1vh 1vw;
        top: 2vh;
    }
    .heading h3 {
        font-size: 1.3rem;
    }
    .start-game, .options, .exit {
        width: 96vw;
        font-size: 1rem;
        padding: 1em 0;
    }
    .head-img-1, .head-img-2 {
        width: 24px;
        height: 24px;
    }
}