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

html, body {
    height: 100vh;
    width: 100vw;
    font-family: "Poppins", sans-serif;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    height: 100%;
    width: 100%;
    /* color changed: deep indigo background */
    background-color: #2b0e6e;
    color: #fff;
}

.container h1 {
    height: 10%;
     font-family: "Bungee Spice", sans-serif;
    /* color changed: warm golden header */
    background-color: black;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.container .top {
    height: 10%;
    /* color changed: rich magenta */
    /* font-family: "Bungee Inline", sans-serif; */
    font-family: "Bungee Spice", sans-serif;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-weight: 600;
    color: #fff;
}

.container .outer-container {
    height: 70vh;
    width: 100%;
    /* color changed: darker violet */
    background-color: #010101;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1vh 0;
}

.outer-container .numbers-container {
    max-width: 1000px;
    /* color changed: muted purple panel */
    background-color: #070707;
    height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    place-items: center;
    gap: 0.3vh;
    padding: 1vh;
    border-radius: 0.8rem;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.06);
}

.numbers-container p {
    /* color changed: cleaner, softer orange */
    background-color: rgb(113, 3, 113);
    height: 6.4vh;
    width: 6.4vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    user-select: none;
}

.numbers-container p:hover {
    transform: scale(1.1);
    /* hover color changed: brighter orange */
    background-color: #ff9e4a;
}

.start-box {
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050505;
}

.start-box button {
    font-family: "Bungee Spice", sans-serif;
    padding: 0.45rem 1.4rem;
    font-weight: bold;
    /* button color changed: gold */
    background-color: #f1f1f1;
    border: none;
    border-radius: 0.4rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.start-box button:hover {
    /* hover color changed: warm orange */
    background-color: #f3f3f3;
    color: #fff;
    transform: scale(1.05);
}

.result-container {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

.visible {
    display: flex;
}

.resultMessage {
    width: 23rem;
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.resultMessage h2 {
    /* result title color changed to match theme */
    color: #3a087a;
}

/* 🧩 Responsive adjustments */
@media (max-width: 768px) {
    .outer-container .numbers-container {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
        gap: 0.3rem;
        padding: 0.4rem;
    }

    .numbers-container p {
        height: 6.2vh;
        width: 6.2vh;
        font-size: 0.85rem;
    }

    .container .top {
        flex-direction: column;
        height: auto;
        gap: 0.4rem;
        padding: 0.6rem 0;
    }

    .container h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {

    .container h1 {
        height: 8vh;
        
    }

    .container .top  {
        height: 12vh;
        padding-bottom: 0.5rem;
        display: flex;
        align-items: center;
        
        justify-content: center;
    }

    .top h3 {
        font-size: 1rem;
    }

    .outer-container {
        height: 70vh;
    }




    .outer-container .numbers-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.2rem;
        padding: 0.3rem;
    }

    .numbers-container p {
        height: 5.5vh;
        width: 5.5vh;
        font-size: 0.8rem;
    }

    .resultMessage {
        width: 80%;
        padding: 2.2rem 1rem;
    }
}