body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #f2f2f2;
    line-height: 1.5;
    background-color: #111;
}


header {
    margin-bottom: 1.5rem;
}

#main-content {
    padding: 1rem; 
}
#main-content > * + * {
    margin-top: 1.5rem;
}
/* created a square booard 300x300 */
.game-board {
    width: 300px;
    height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    margin: 0 auto;
    border-radius: 50%;
    /* faint outer neon glow */
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.35), 0 0 40px rgba(0, 255, 255, 0.18);
}

/* base style for pads */
.pad {
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    font-size: 0;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.12);
    transition: filter 120ms ease, box-shadow 120ms ease;
    filter: brightness(0.6);
}

.pad:hover {
    filter: brightness(1.15);
}

.pad:active {
    transform: scale(0.98);
}

/* making board circular and shaping quadrants */
.pad-red {
    background-color: #ff2bd6;
    border-top-left-radius: 100%;
}

.pad-blue {
    background-color: #00e5ff;
    border-top-right-radius: 100%;
}

.pad-green {
    background-color: #39ff14;
    border-bottom-left-radius: 100%;
}

.pad-yellow {
    background-color: #ffe600;
    border-bottom-right-radius: 100%;
}
.pad:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.pad.active {
    filter: brightness(1.4);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);

}

/* Header and game desciption */
.intro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    background-color: rgba(20, 20, 20, 0.85);
    border-radius: 10px;
}

.intro h2 {
    color: #00e5ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro p {
    color: #e6e6e6;
    font-size: 0.95rem;
}

h1 {
    color: #00e5ff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#message {
    background-color: rgba(0, 229, 255, 0.12);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    display: inline-block;

}

@media (prefers-reduced-motion: reduce) {
    .pad {
        transition: none;
    }
}