/* ==========================================================================
   2048 Hex - Hexagonal Honeycomb Stylesheet
   ========================================================================== */

.hex-game-wrapper {
    max-width: 530px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.hex-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.hex-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.35);
}

.hex-canvas-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #1e1b4b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid #312e81;
}

#hex-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* 6-Directional Compass Control Pad */
.hex-controls-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 240px;
    margin: 1rem auto 0;
}

.hex-pad-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem 0.4rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #334155;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.hex-pad-btn:hover {
    background: #f1f5f9;
    border-color: #7c3aed;
    color: #7c3aed;
    transform: translateY(-2px);
}

.hex-pad-sub {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 2px;
}

