/* Base button */
.gameButtonR, .gameButtonR1,
.gameButtonG, .gameButtonG1 {
    position: absolute;       /* moved by JS */
    padding: 0.6em 1.4em;
    font-size: clamp(12px,1.2vw,22px);
    font-weight: bold;
    border-radius: 0.45em;
    color: white;
    cursor: pointer;
    user-select: none;
    text-align: center;
    min-width: 30px;
    min-height: 12px;
    border: none;
    box-sizing: border-box;
    overflow: visible;
    transition: box-shadow 0.1s ease;  /* only shadow changes */
}

/* Colors */
.gameButtonR { background: linear-gradient(to bottom, #ff4d6d, #c70039); }
.gameButtonR1 { background: linear-gradient(to bottom, #ff6aff, #a600d1); }
.gameButtonG { background: linear-gradient(to bottom, #1e90ff, #0047ab); }
.gameButtonG1 { background: linear-gradient(to bottom, #00f0ff, #00b7d9); }

/* Hover effect ? only box-shadow, top-left fixed */
.gameButtonR:hover, .gameButtonR1:hover {
    box-shadow: 0 0 12px rgba(255,105,135,0.6),
                0 0 20px rgba(255,105,135,0.3);
}
.gameButtonG:hover, .gameButtonG1:hover {
    box-shadow: 0 0 12px rgba(0,240,255,0.6),
                0 0 20px rgba(0,240,255,0.3);
}

/* Active effect ? only box-shadow, top-left fixed */
.gameButtonR:active, .gameButtonR1:active {
    box-shadow: 0 0 8px rgba(255,105,135,0.4),
                0 0 15px rgba(255,105,135,0.2);
}
.gameButtonG:active, .gameButtonG1:active {
    box-shadow: 0 0 8px rgba(0,240,255,0.4),
                0 0 15px rgba(0,240,255,0.2);
}

/* Normal buttons */
.gameButtonG1 {
    position: absolute;
    padding: 0.6em 1.4em;
    font-size: clamp(12px,1.2vw,22px);
    font-weight: bold;
    border-radius: 0.45em;
    color: white;
    cursor: pointer;
    border: none;
    text-align: center;
    background: linear-gradient(to bottom, #00f0ff, #00b7d9);
    box-shadow: 0 0 10px rgba(0,240,255,0.6), 0 0 20px rgba(0,240,255,0.3);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
    transition: box-shadow 0.1s ease, filter 0.1s ease;
}

/* Hover/active only if not disabled */
.gameButtonG1:not(.disabled):hover {
    box-shadow: 0 0 14px rgba(0,240,255,0.8);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}

.gameButtonG1:not(.disabled):active {
    box-shadow: 0 0 8px rgba(0,240,255,0.4), 0 0 15px rgba(0,240,255,0.2);
}


/* Disabled look */
.gameButtonG1.disabled {
    background: #888 !important;       /* solid gray */
    color: #ccc !important;            /* faded text */
    box-shadow: none !important;       /* remove glow */
    filter: none !important;           /* remove drop-shadow */
    cursor: default !important;        /* normal arrow */
    pointer-events: none !important;   /* block hover/click */
}



/* ---------------------- Optional Neon Glow ---------------------- */
.gameButtonR:hover, .gameButtonR1:hover,
.gameButtonG:hover, .gameButtonG1:hover {
    /* smooth hover glow */
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}