/* ==========================================================
   AAW Gravity Buttons — Widget Styles
   ========================================================== */

.aaw-physics-container {
    position: relative;
    width: 100%;
    height: 500px;
    /* clip buttons to the container bounds */
    overflow: hidden;
    /* contain stacking context so absolute children don't escape */
    isolation: isolate;
    background-color: #0f172a;
    cursor: crosshair;
    /* prevent page scroll while interacting */
    touch-action: none;
}

/* Buttons are placed by transform; absolute + top/left 0 is the origin */
.aaw-physics-btn {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    padding: 10px 24px;
    background-color: #6366f1;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 50px;
    cursor: pointer;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    /* keep buttons above each other cleanly */
    z-index: 1;
}

.aaw-physics-btn:hover {
    background-color: #4f46e5;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
    text-decoration: none;
}

.aaw-physics-btn:focus-visible {
    outline: 3px solid #a5b4fc;
    outline-offset: 2px;
}

/* Empty state */
.aaw-physics-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
}
