/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.brand-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
}

.nav-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-item.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

.nav-icon {
    font-size: 20px;
}

.nav-text {
    font-size: 12px;
    font-weight: 500;
}

/* 返回按钮样式 */
.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.back-btn:active {
    transform: translateY(0);
}

.back-icon {
    font-size: 16px;
    font-weight: bold;
}

.back-text {
    font-size: 14px;
}

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 140px);
    padding: 30px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 区域标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    font-size: 36px;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* 加载状态样式 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 错误状态样式 */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.error-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.error-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.retry-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 新闻卡片样式 */
.news-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.news-date {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.news-time {
    font-size: 14px;
    color: #666;
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
}

.news-image-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: scale(1.02);
}

/* 移除了image-overlay相关样式，按钮已移至独立区域 */

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 操作按钮区域样式 */
.news-actions-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.news-actions-bar .action-btn {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    justify-content: center;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.news-actions-bar .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-actions-bar {
        gap: 8px;
        padding: 15px;
        margin: 15px 0;
    }
    
    .news-actions-bar .action-btn {
        flex: 1;
        min-width: 80px;
        max-width: none;
        font-size: 12px;
        padding: 10px 8px;
    }
    
    .news-actions-bar .btn-text {
        display: none;
    }
    
    .news-actions-bar .action-btn {
        min-width: 50px;
        padding: 12px;
        border-radius: 50%;
        aspect-ratio: 1;
    }
    
    .news-actions-bar .btn-icon,
    .news-actions-bar i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .news-actions-bar {
        gap: 6px;
        padding: 12px;
    }
    
    .news-actions-bar .action-btn {
        min-width: 45px;
        padding: 10px;
    }
    
    .news-actions-bar .btn-icon,
    .news-actions-bar i {
        font-size: 16px;
    }
}

/* 朗读按钮特殊样式 */
.speak-btn {
    position: relative;
    overflow: hidden;
}

.speak-btn.reading {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse 1.5s ease-in-out infinite;
}

.speak-btn.reading:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

/* 朗读按钮图标动画 */
.speak-btn.reading i {
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 14px;
}

/* 导航栏设置按钮 */
.nav-actions {
    display: flex;
    align-items: center;
}

.settings-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* 语音设置面板 */
.settings-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.settings-panel.show {
    display: flex;
}

.settings-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.settings-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.settings-body {
    padding: 20px;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-value {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    color: #667eea;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

#voice-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#voice-select:focus {
    outline: none;
    border-color: #667eea;
}

.settings-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.test-btn, .reset-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.test-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.reset-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
}

.reset-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

@media (max-width: 768px) {
    .settings-content {
        width: 95%;
        margin: 20px;
    }
    
    .settings-actions {
        flex-direction: column;
    }
}

/* 新闻文本内容样式 */
.news-text-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

.news-text-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    white-space: pre-line;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 历史记录样式 */
.history-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.refresh-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.history-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.history-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.history-card.orange {
    border-left: 5px solid #ff9500;
}

.history-card.red {
    border-left: 5px solid #ff3b30;
}

.history-card.pink {
    border-left: 5px solid #ff2d92;
}

.history-card.blue {
    border-left: 5px solid #007aff;
}

.history-card.green {
    border-left: 5px solid #34c759;
}

.history-card.purple {
    border-left: 5px solid #af52de;
}

.history-date {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.history-weekday {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.history-summary {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.history-motto {
    font-size: 12px;
    color: #999;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
}

/* 空状态样式 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-text {
    font-size: 20px;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.empty-desc {
    font-size: 14px;
    color: #999;
    text-align: center;
}

/* 底部样式 */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-text {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-icon {
    font-size: 18px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2% auto;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 30px;
}

.modal-image-container {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.modal-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 25px 30px;
    border-top: 2px solid #f0f0f0;
}

.modal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 模态框移动端适配 */
@media (max-width: 768px) {
    .modal-footer {
        gap: 10px;
        padding: 20px 15px;
        flex-wrap: wrap;
    }
    
    .modal-btn {
        flex: 1;
        min-width: 80px;
        font-size: 12px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .modal-footer {
        gap: 8px;
        padding: 15px 10px;
    }
    
    .modal-btn {
        min-width: 70px;
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .modal-btn .btn-icon {
        font-size: 14px;
    }
    
    .modal-btn i {
        font-size: 14px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .news-card {
        margin: 15px 0;
        padding: 20px;
    }
    
    .news-image {
        border-radius: 12px;
    }
    
    .news-text-title {
        font-size: 18px;
        margin: 15px 0 10px 0;
    }
    
    .news-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-brand {
        font-size: 20px;
    }
    
    .brand-icon {
        font-size: 24px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-item {
        padding: 8px 10px;
    }
    
    .nav-icon {
        font-size: 18px;
    }
    
    .nav-text {
        font-size: 11px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 28px;
        flex-direction: column;
        gap: 10px;
    }
    
    .title-icon {
        font-size: 32px;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .history-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .history-card {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
        padding: 20px;
    }
    
    .modal-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .image-overlay {
        opacity: 1;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
    
    .action-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .btn-icon {
        font-size: 14px;
    }
    
    .btn-text {
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}