/* IDLE WIDGET - Estilos modernos */
.idle-widget {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Efecto de partículas de fondo */
.idle-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s infinite linear;
    z-index: 0;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, -20px) rotate(360deg); }
}

.idle-widget-content {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: transparent;
    transition: all 0.3s ease;
    border: none;
}

.idle-widget-content:last-child {
    margin-bottom: 0;
}

.idle-widget-text {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: -0.2px;
}

.idle-widget-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-top-left-radius: 1em;
    border-top-right-radius: .5em;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 0 #334bb7,
        0 6px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.idle-widget-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.idle-widget-link:hover {
    background: linear-gradient(to bottom, #5dbf61, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #2d7a30,
        0 8px 15px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: white;
    text-decoration: none;
}

.idle-widget-link:hover::before {
    left: 100%;
}

.idle-widget-link:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #2d7a30,
        0 3px 5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

/* Efectos de animación al cargar */
.idle-widget-content {
    animation: slideUp 0.6s ease-out;
}

.idle-widget-content:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .idle-widget {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .idle-widget-content {
        padding: 1.2rem;
    }
    
    .idle-widget-text {
        font-size: 1rem;
    }
    
    .idle-widget-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .idle-widget {
        padding: 1.5rem 1rem;
    }
    
    .idle-widget-content {
        padding: 1rem;
    }
    
    .idle-widget-text {
        font-size: 0.95rem;
    }
}