/* Basic reset */
body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Container styling */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(
        to bottom,
        #6a0dad,
        #ffffff
    ); /* Purple to white gradient */
    color: #fff;
}

h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin: 20px 0;
}

.button-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
}

#remote-container {
    background: radial-gradient(circle at center, #1b1b1b 40%, #2c2c2c 100%);
    padding: 20px 40px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    margin: 20px;
}

#directional-pad {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
        ". up ."
        "left select right"
        ". down .";
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

button#up {
    grid-area: up;
}
button#down {
    grid-area: down;
}
button#left {
    grid-area: left;
}
button#right {
    grid-area: right;
}
button#select {
    grid-area: select;
}

button {
    background-color: #8a2be2; /* Purple buttons */
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    margin: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
button:hover {
        background-color: #b982cc;
        /* background-color: #9932cc; */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    /*
    u/media (max-width: 600px) {
        #remote-container {
            width: 90%;
            padding: 20px 20px;
        }
    }
   */
