/* ============================================
   brightness-modal.css - 亮度调整弹窗
   全黑背景 + 灰色方块 + logo 亮度调节
   ============================================ */

/* 弹窗遮罩 - 纯黑色 */
.brightness-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.brightness-modal-overlay.active {
    display: flex;
}

/* 弹窗主体 - 纯黑色 */
.brightness-modal {
    background: #000;
    border: 1px solid #333;
    width: 500px;
    max-width: 90vw;
}

/* 标题栏 */
.brightness-modal-header {
    background: #111;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.brightness-modal-title {
    color: #c4b998;
    font-size: 14px;
    font-weight: bold;
}

.brightness-modal-close {
    width: 20px;
    height: 20px;
    background: #8b0000;
    border: 1px solid #a52a2a;
    color: #fff;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

/* 内容区 */
.brightness-modal-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* 灰色方块背景 */
.brightness-test-area {
    width: 280px;
    height: 280px;
    background: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Logo 图片 */
.brightness-logo {
    width: 200px;
    height: auto;
    filter: brightness(1);
    transition: filter 0.1s ease;
}

/* 提示文字 */
.brightness-hint {
    color: #888;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

.brightness-hint span {
    color: #c4b998;
}

/* 滑块区域 */
.brightness-slider-container {
    width: 100%;
    padding: 0 20px;
}

.brightness-slider-labels {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 11px;
    margin-bottom: 8px;
}

/* 滑块轨道 */
.brightness-slider {
    position: relative;
    height: 20px;
    background: #222;
    border: 1px solid #444;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
}

.brightness-slider-track {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #333 0%, #c4b998 100%);
    pointer-events: none;
}

/* 滑块按钮 */
.brightness-slider-thumb {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 24px;
    background: linear-gradient(180deg, #666 0%, #444 100%);
    border: 1px solid #888;
    transform: translate(-50%, -50%);
    cursor: url('../img/cursor/wot_link.cur'), grab;
}

.brightness-slider-thumb:active {
    cursor: grabbing;
    background: linear-gradient(180deg, #888 0%, #666 100%);
}

/* 当前值显示 */
.brightness-value {
    color: #c4b998;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* 底部按钮 */
.brightness-modal-footer {
    padding: 15px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #111;
}

.brightness-modal-btn {
    padding: 8px 25px;
    background: #333;
    border: 1px solid #555;
    color: #aaa;
    font-size: 13px;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
}

.brightness-modal-btn:hover {
    background: #444;
    color: #fff;
}

.brightness-modal-btn.primary {
    background: #8b6914;
    border-color: #a57c1e;
    color: #fff;
}

.brightness-modal-btn.primary:hover {
    background: #a57c1e;
}