/* style.css - Estilos principales de TronCraft */

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

#dashboard {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 40px;
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.2);
    z-index: 100;
    font-weight: 300;
    letter-spacing: 0.5px;
    gap: 15px;
}

.dashboard-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.dashboard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-item:last-child {
    border-right: none;
}

.item-label {
    font-size: 12px;
    color: #8a8f9c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-value {
    font-size: 20px;
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.mode-indicator {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid #00ffff;
}

.mode-btn {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    color: #aaa;
}

.mode-btn.active {
    background: #00ffff;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px #00ffff;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #ffaa00;
    color: #000;
    border-color: #ffaa00;
}

.emoji-bar {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.emoji-btn {
    background: rgba(50, 50, 70, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: white;
}

.emoji-btn:hover {
    transform: scale(1.2);
    background: #00ffff;
    color: black;
    box-shadow: 0 0 15px #00ffff;
}

.music-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-btn {
    background: rgba(50, 50, 70, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.music-btn:hover {
    background: #00ffff;
    color: black;
}

.music-volume {
    width: 60px;
    height: 4px;
    background: #444;
    border-radius: 2px;
    -webkit-appearance: none;
}

.music-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
}

.search-box {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
}

.search-box input {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid #00ffff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    width: 200px;
}

.search-box input::placeholder {
    color: #aaa;
}

.search-box button {
    background: rgba(50, 50, 70, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.search-box button:hover {
    background: #00ffff;
    color: black;
}

.voice-control {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.voice-btn {
    background: rgba(50, 50, 70, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.voice-btn.active {
    background: #00ffff;
    color: black;
}

.voice-btn.recording {
    background: #ff3333;
    color: white;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.help-text {
    font-size: 11px;
    color: #ccc;
    display: flex;
    gap: 10px;
}

.help-text span {
    color: #00ffff;
    font-weight: bold;
}

#mensaje {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    border: 2px solid #00ffff;
    color: white;
    padding: 15px 30px;
    border-radius: 40px;
    font-size: 18px;
    z-index: 200;
    display: none;
    backdrop-filter: blur(4px);
}
