.lang-toggle {
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 11px;
    font-weight: bold;
    transition: 0.15s;
}

.lang-toggle:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.lang-option {
    padding: 2px 4px;
    border-radius: 2px;
    transition: 0.15s;
}

.lang-option.active {
    background-color: #24AAE1;
    color: #fff;
}

.lang-divider {
    color: #ccc;
    margin: 0 2px;
}

/* Game Container */
.game-container {
    padding: 20px;
    background-color: #F7F7F7;
    font-family: Tahoma, Geneva, sans-serif;
}

/* Controls Section */
.game-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.game-controls button {
    width: 140px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    background-color: #fff;
    color: #333;
    transition: 0.15s;
    text-align: center;
}

.game-controls button:hover:not(:disabled) {
    background-color: #f0f0f0;
    border-color: #999;
}

.game-controls button.primary {
    background-color: #ffc01f;
    color: #333;
    border-color: #ffc01f;
    font-weight: bold;
}

.game-controls button.primary:hover:not(:disabled) {
    background-color: #ffb300;
    border-color: #ffb300;
}

.game-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e0e0e0;
    border-color: #999;
}

/* Variant Options Label */
.game-options-label {
    width: 100%;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
    margin-top: 12px;
}

/* Radio Button Group */
.game-radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.game-controls input[type="radio"] {
    display: none;
}

.game-controls label.radio-label {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    background-color: #fff;
    color: #333;
    transition: 0.15s;
    user-select: none;
}

.game-controls input[type="radio"]:checked + label.radio-label {
    background-color: #ffc01f;
    color: white;
    border-color: #ffc01f;
}

.game-controls label.radio-label:hover {
    border-color: #999;
}

.game-controls input[type="radio"]:disabled + label.radio-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-controls label.radio-label span {
    margin-left: 4px;
}

/* Board Section */
.game-board-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.game-board {
    width: 600px;
    height: 600px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Hex cells */
.hex-cell {
    cursor: pointer;
}

.hex-polygon {
    fill: #ffffff !important;
    stroke: #707070 !important;
    stroke-width: 2 !important;
    stroke-linejoin: round !important;
    transition: 0.15s !important;
}

.hex-cell:hover .hex-polygon {
    fill: #f5f5f5 !important;
    stroke: #999 !important;
}

.hex-polygon.selected {
    fill: #fffbf0 !important;
    stroke: #ffc01f !important;
    stroke-width: 5 !important;
    stroke-linecap: round !important;
    paint-order: stroke fill !important;
    box-shadow: 0 0 8px rgba(255, 192, 31, 0.3);
}

.hex-polygon[data-grey="true"] {
    fill: #e8e8e8 !important;
}

.hex-polygon.valid-target {
    fill: #E3F2FD !important;
    stroke: #24AAE1 !important;
    stroke-width: 5 !important;
    stroke-linecap: round !important;
    paint-order: stroke fill !important;
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

/* Piece styling */
.piece {
    fill: #24AAE1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.hex-label {
    font-size: 8px;
    fill: #cccccc;
    pointer-events: none;
}

/* Info Section */
.game-info {
    text-align: center;
    padding: 12px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
}

.game-mode-label {
    display: inline-block;
    margin-right: 15px;
    font-weight: bold;
    color: #333;
}

.game-stats {
    display: inline-block;
    color: #666;
}

/* Help Text */
.game-help {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #E3F2FD;
    border-left: 4px solid #24AAE1;
    border-radius: 3px;
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}

.game-help p {
    margin: 0;
}